5 references to ERR_VarDeclIsStaticClass
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Patterns.cs (1)
753
Error(diagnostics, ErrorCode.
ERR_VarDeclIsStaticClass
, typeSyntax, patternType);
Binder\Binder_Statements.cs (2)
847
Error(diagnostics, ErrorCode.
ERR_VarDeclIsStaticClass
, typeSyntax, declType.Type);
1036
Error(localDiagnostics, ErrorCode.
ERR_VarDeclIsStaticClass
, typeSyntax, initializerType);
Errors\ErrorFacts.cs (1)
1062
or ErrorCode.
ERR_VarDeclIsStaticClass
Symbols\Source\SourceMemberFieldSymbol.cs (1)
56
diagnostics.Add(ErrorCode.
ERR_VarDeclIsStaticClass
, this.ErrorLocation, type);