Open colejohnson66 opened 2 months ago
use
[JitGeneric(typeof(Half)), JitGeneric(typeof(float)), JitGeneric(typeof(double))]
That is what I ended up doing when I found #1222. I’m not necessarily saying the limit should be increased, but the error message is extremely cryptic, and could be improved.
Using five or more attribute lists causes
RoslynSourceTextGuardException
:This appears to be the same as #1222.
Reproduction Code
https://sharplab.io/#v2:EYLgxg9gTgpgtADwGwBYA0AXEBDAzgWwB8ABAJgEYBYAKGIAYACAZQAtsoAHAGW2ADoASgFcAdhgCW+GAG4aNYgGYGZBgGEANnlw0A3jQYGGAbQBS4jAHEYImFHFgAFBgCeHGBABmDgBLZ1HgEoAgF19Q1NzKxs7Rxc3TwcPdQhsDCDQ6kNjM0trW3snV3cvABMIIWB1GHSwgwjc6IK44ocSmDBJPxrM8Jyo/NiihPExbqzFZRQGAFkYDBYIEoAeABUAPgcA2oY9HoMAXxp9oA==