15 references to ERR_StaticConstructorWithAccessModifiers
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
932
or ErrorCode.
ERR_StaticConstructorWithAccessModifiers
Symbols\Source\SourceConstructorSymbol.cs (1)
45
diagnostics.Add(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, location, this);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (13)
Symbols\DefaultInterfaceImplementationTests.cs (3)
44568
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "I4").WithArguments("I4.I4()").WithLocation(16, 19),
44571
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "I5").WithArguments("I5.I5()").WithLocation(20, 21),
44574
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "I6").WithArguments("I6.I6()").WithLocation(24, 20),
Symbols\SymbolErrorTests.cs (10)
8674
new ErrorDescription { Code = (int)ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, Line = 5, Column = 24 },
8675
new ErrorDescription { Code = (int)ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, Line = 9, Column = 29 },
8676
new ErrorDescription { Code = (int)ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, Line = 15, Column = 23 },
8677
new ErrorDescription { Code = (int)ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, Line = 19, Column = 29 });
22321
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "PublicPartialStaticCtor").WithArguments("PublicPartialStaticCtor.PublicPartialStaticCtor()").WithLocation(3, 27),
22324
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "PartialStaticPublicCtor").WithArguments("PartialStaticPublicCtor.PartialStaticPublicCtor()").WithLocation(3, 27),
22327
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "PublicStaticPartialCtor").WithArguments("PublicStaticPartialCtor.PublicStaticPartialCtor()").WithLocation(3, 27),
22330
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "StaticPublicPartialCtor").WithArguments("StaticPublicPartialCtor.StaticPublicPartialCtor()").WithLocation(3, 27),
22333
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "PartialPublicStaticCtor").WithArguments("PartialPublicStaticCtor.PartialPublicStaticCtor()").WithLocation(3, 27),
22336
Diagnostic(ErrorCode.
ERR_StaticConstructorWithAccessModifiers
, "StaticPartialPublicCtor").WithArguments("StaticPartialPublicCtor.StaticPartialPublicCtor()").WithLocation(3, 27));