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