11 references to ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (3)
4810Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5353Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5408Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node);
Errors\ErrorFacts.cs (1)
823or ErrorCode.ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (4)
3501Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o is delegate*<void>").WithLocation(6, 13), 3504Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o as delegate*<void>").WithLocation(7, 13), 3507Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr as object").WithLocation(8, 13), 3510Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr is object").WithLocation(9, 13)
Semantics\SemanticErrorTests.cs (1)
8938Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "p is object"));
Semantics\UnsafeTests.cs (2)
11966Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "t as int*"), 11972Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "null as int*"));