Commit d3eb112
committed
Edge case: disallow
... when byref-likes are present, as they will be gone from the evalua-
tion stack after the intercepted method has returned for the first time.
(DynamicProxy could in theory be made to tolerate nullified `ByRefLike-
Reference` substitutes, but this doesn't seem worth the effort: after
all, `IInvocationProceedInfo` is intended mostly for async interception
scenarios, and even C# disallows `ref struct`s in `async` methods.)invocation.CaptureProceedInfo
1 parent adcec9b commit d3eb112
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
| |||
0 commit comments