71 references to ERR_IllegalUnsafe
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Attributes\AttributeTests_WellKnownAttributes.cs (4)
10363Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(4, 10),
10366Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(13, 2),
10369Diagnostic(ErrorCode.ERR_IllegalUnsafe, "SkipLocalsInitAttribute").WithLocation(16, 6),
10372Diagnostic(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 (32)
Semantics\UnsafeTests.cs (24)
188Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C"));
207Diagnostic(ErrorCode.ERR_IllegalUnsafe, "Goo"));
243Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(6, 19)
1043Diagnostic(ErrorCode.ERR_IllegalUnsafe, "TestDelegate"));
8590Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
8719Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
8755Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
8872Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
8896Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(6, 14),
9851Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
9871Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
9890Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
9909Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
9960Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
10220Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
10554Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
10581Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17),
10678Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
10693Diagnostic(ErrorCode.ERR_IllegalUnsafe, "M").WithLocation(6, 17));
10715Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7));
10744Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7)
10806Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
10933Diagnostic(ErrorCode.ERR_IllegalUnsafe, "unsafe").WithLocation(2, 7),
10936Diagnostic(ErrorCode.ERR_IllegalUnsafe, "C").WithLocation(4, 14)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (13)
Symbols\Source\ClsComplianceTests.cs (5)
590Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B1").WithLocation(10, 21),
740Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B").WithLocation(8, 25),
743Diagnostic(ErrorCode.ERR_IllegalUnsafe, "E").WithLocation(14, 25),
844Diagnostic(ErrorCode.ERR_IllegalUnsafe, "B").WithLocation(8, 21),
847Diagnostic(ErrorCode.ERR_IllegalUnsafe, "E").WithLocation(14, 21));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)