92 references to ERR_IllegalUnsafe
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests (10)
UnsafeEvolutionTests.cs (10)
927Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 1),
1002Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
1005Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 1),
1695Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 1),
1782Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
1785Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 1),
2035Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 1),
2229Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(6, 9),
2459Diagnostic(ErrorCode.ERR_IllegalUnsafe, "System.Runtime.CompilerServices.SkipLocalsInit").WithLocation(1, 12),
2780Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 1));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Attributes\AttributeTests_WellKnownAttributes.cs (4)
10501Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(4, 10),
10504Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(13, 2),
10507Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(16, 6),
10510Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(20, 6)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (11)
IOperation\IOperationTests_IVariableDeclaration.cs (8)
1436Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9)
1492Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9)
1536Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9),
1591Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9),
1636Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9),
1684Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9),
1748Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(8, 9),
1818Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(7, 9),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (29)
Semantics\UnsafeTests.cs (24)
189Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C"));
208Diagnostic(ErrorCode.ERR_IllegalUnsafe, "Goo"));
244Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(6, 19)
3376Diagnostic(ErrorCode.ERR_IllegalUnsafe, "TestDelegate"));
11446Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11575Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11611Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11728Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11752Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
12737Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12757Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12776Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12795Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12846Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13106Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13491Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
13518Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
13621Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
13636Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
13658Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13686Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13804Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13947Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13950Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(4, 14));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Symbols\Source\ClsComplianceTests.cs (5)
589Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B1").WithLocation(10, 21),
739Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B").WithLocation(8, 25),
742Diagnostic(ErrorCode.ERR_IllegalUnsafe, "E").WithLocation(14, 25),
843Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B").WithLocation(8, 21),
846Diagnostic(ErrorCode.ERR_IllegalUnsafe, "E").WithLocation(14, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Parsing\UsingDirectiveParsingTests.cs (8)
4045Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
4139Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
4233Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
4349Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 7),
4466Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 14));
4546Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 14));
4626Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 14));
4788Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(1, 14));