11 references to ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (3)
3164Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 3678Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 3733Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node);
Errors\ErrorFacts.cs (1)
751case ErrorCode.ERR_PointerInAsOrIs:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (4)
3492Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o is delegate*<void>").WithLocation(6, 13), 3495Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o as delegate*<void>").WithLocation(7, 13), 3498Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr as object").WithLocation(8, 13), 3501Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr is object").WithLocation(9, 13)
Semantics\SemanticErrorTests.cs (1)
8889Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "p is object"));
Semantics\UnsafeTests.cs (2)
9110Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "t as int*"), 9116Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "null as int*"));