11 references to ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Operators.cs (3)
4634Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5177Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node); 5232Error(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node);
Errors\ErrorFacts.cs (1)
812or ErrorCode.ERR_PointerInAsOrIs
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (4)
3513Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o is delegate*<void>").WithLocation(6, 13), 3516Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "o as delegate*<void>").WithLocation(7, 13), 3519Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr as object").WithLocation(8, 13), 3522Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "ptr is object").WithLocation(9, 13)
Semantics\SemanticErrorTests.cs (1)
8893Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "p is object"));
Semantics\UnsafeTests.cs (2)
11962Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "t as int*"), 11968Diagnostic(ErrorCode.ERR_PointerInAsOrIs, "null as int*"));