Repository navigation
Add support for custom attributes on generic constraints - #594
Conversation
81085a9 to
febbd65
Compare
|
This is required to support dotnet/roslyn#29997 |
|
Tagging @sbomer @marek-safar @agocke. We're trying to understand what it would take to get this change flowing into ILLinker for the next preview. |
|
To reach the linker, this would need to flow to |
| { | ||
| var constraints = parameter.Constraints; | ||
|
|
||
| for (int i = 0; i < constraints.Count; i++) |
There was a problem hiding this comment.
@jbevain out of curiosity, why do u prefer for over foreach?
There was a problem hiding this comment.
This codebase was started at a moment where mcs didn't generate great code for foreach on generic collections, and so used for instead of foreach. It's now used only for consistency with the rest of the code.
For nullability support. Mono.Cecil introduced a breaking change in jbevain/cecil#594 because of dotnet/roslyn#29997
For nullability support. Mono.Cecil introduced a breaking change in jbevain/cecil#594 because of dotnet/roslyn#29997
Uh oh!
There was an error while loading. Please reload this page.