4 references to ERR_InvalidWithReceiverType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_WithExpression.cs (1)
25
diagnostics.Add(ErrorCode.
ERR_InvalidWithReceiverType
, syntax.Expression.Location);
Errors\ErrorFacts.cs (1)
2113
or ErrorCode.
ERR_InvalidWithReceiverType
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\RecordTests.cs (2)
1830
Diagnostic(ErrorCode.
ERR_InvalidWithReceiverType
, "Main()").WithLocation(7, 13),
1836
Diagnostic(ErrorCode.
ERR_InvalidWithReceiverType
, "null").WithLocation(9, 13)