16 references to ERR_OperatorInExtensionOfStaticClass
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2530
or ErrorCode.
ERR_OperatorInExtensionOfStaticClass
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
83
diagnostics.Add(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\ExtensionOperatorsTests.cs (14)
158
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(41, 35),
257
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(33, 35),
406
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "true").WithLocation(800, 37),
412
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "false").WithLocation(801, 37),
4502
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(25, 30),
10639
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(42, 35),
10733
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(38, 35),
10895
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "!=").WithLocation(800, 35),
10901
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "==").WithLocation(801, 35),
11063
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, ">=").WithLocation(800, 35),
11069
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "<=").WithLocation(801, 35),
11231
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, ">").WithLocation(800, 35),
11237
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, "<").WithLocation(801, 35),
20095
Diagnostic(ErrorCode.
ERR_OperatorInExtensionOfStaticClass
, op).WithLocation(25, 30),