11 references to ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (3)
4811Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5354Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5409Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node);
Errors\ErrorFacts.cs (1)
819or ErrorCode.ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (4)
3500Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o is delegate*<void>").WithLocation(6, 13), 3503Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o as delegate*<void>").WithLocation(7, 13), 3506Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr as object").WithLocation(8, 13), 3509Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr is object").WithLocation(9, 13)
Semantics\SemanticErrorTests.cs (1)
8938Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "p is object"));
Semantics\UnsafeTests.cs (2)
11962Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "t as int*"), 11968Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "null as int*"));