5 references to ERR_InstanceMemberInStaticClass
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1050or ErrorCode.ERR_InstanceMemberInStaticClass
Symbols\Source\SourceEventSymbol.cs (1)
585diagnostics.Add(ErrorCode.ERR_InstanceMemberInStaticClass, location, Name);
Symbols\Source\SourceFieldSymbol.cs (1)
66diagnostics.Add(ErrorCode.ERR_InstanceMemberInStaticClass, ErrorLocation, this);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
898diagnostics.Add(ErrorCode.ERR_InstanceMemberInStaticClass, location, Name);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1122ErrorCode errorCode = isIndexer ? ErrorCode.ERR_IndexerInStaticClass : ErrorCode.ERR_InstanceMemberInStaticClass;