82 references to ERR_IllegalUnsafe
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Attributes\AttributeTests_WellKnownAttributes.cs (4)
10461Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(4, 10),
10464Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(13, 2),
10467Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(16, 6),
10470Diagnostic(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)
188Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C"));
207Diagnostic(ErrorCode.ERR_IllegalUnsafe, "Goo"));
243Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(6, 19)
3375Diagnostic(ErrorCode.ERR_IllegalUnsafe, "TestDelegate"));
11442Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11571Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11607Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11724Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
11748Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
12733Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12753Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12772Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12791Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
12842Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13102Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13439Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
13466Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
13569Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
13584Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
13606Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
13634Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13752Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13895Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
13898Diagnostic(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));