14 references to ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2531
or ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
410
diagnostics.Add(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, _location);
419
diagnostics.Add(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, _location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Semantics\ExtensionOperatorsTests.cs (9)
4505
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(600, 30),
4511
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(800, 30),
4517
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(1000, 30),
4523
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(1200, 30),
20098
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(600, 30),
20104
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(800, 30),
20110
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(1000, 30),
20116
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, op).WithLocation(1200, 30),
27571
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, "+=").WithLocation(6, 30)
Semantics\ExtensionTests.cs (2)
3186
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, "+=").WithLocation(5, 30),
3189
Diagnostic(ErrorCode.
ERR_InstanceOperatorStructExtensionWrongReceiverRefKind
, "-=").WithLocation(6, 30),