7 references to ERR_InstantiatingStaticClass
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (2)
5532diagnostics.Add(ErrorCode.ERR_InstantiatingStaticClass, node.Location, type); 5570diagnostics.Add(ErrorCode.ERR_InstantiatingStaticClass, node.Location, type);
Errors\ErrorFacts.cs (1)
1061or ErrorCode.ERR_InstantiatingStaticClass
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\SemanticErrorTests.cs (3)
11802new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.ERR_InstantiatingStaticClass, Line = 10, Column = 17 }, 11868Diagnostic(ErrorCode.ERR_InstantiatingStaticClass, "new SC()").WithArguments("SC"), 11884Diagnostic(ErrorCode.ERR_InstantiatingStaticClass, "new SC()").WithArguments("SC"));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\SymbolErrorTests.cs (1)
13216Diagnostic(ErrorCode.ERR_InstantiatingStaticClass, "new C()").WithArguments("C"));