Commit d2650b6
[mono] Fix detecting [DisableRuntimeMarshalling] in MarshalingPInvokeScanner. (#112981)
* [mono] Fix detecting [DisableRuntimeMarshalling] in MarshalingPInvokeScanner.
Fix detecting the [DisableRuntimeMarshalling] attribute in
MarshalingPInvokeScanner for assemblies that reference the attribute from
another assembly (i.e. any assembly except System.Runtime.dll).
Fixes #112980.
* Update src/tasks/MonoTargetsTasks/MarshalingPInvokeScanner/MarshalingPInvokeScanner.cs
Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>
* Fix formatting.
---------
Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>1 parent 7e5ca51 commit d2650b6
File tree
1 file changed
+18
-2
lines changed- src/tasks/MonoTargetsTasks/MarshalingPInvokeScanner
1 file changed
+18
-2
lines changedLines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
| |||
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
127 | | - | |
128 | | - | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
131 | 147 | | |
132 | 148 | | |
133 | 149 | | |
| |||
0 commit comments