5 references to GetStaticClassReturnCode
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Lambda.cs (1)
296
diagnostics.Add(ErrorFacts.
GetStaticClassReturnCode
(useWarning: false), syntax.Location, type);
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
79
diagnostics.Add(ErrorFacts.
GetStaticClassReturnCode
(useWarning: false), returnTypeParameter.Location, returnType);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
845
diagnostics.Add(ErrorFacts.
GetStaticClassReturnCode
(ContainingType.IsInterfaceType()), location, ReturnType);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1852
diagnostics.Add(ErrorFacts.
GetStaticClassReturnCode
(ContainingType.IsInterfaceType()), TypeLocation, type);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
267
diagnostics.Add(ErrorFacts.
GetStaticClassReturnCode
(useWarning: false), returnTypeSyntax.Location, returnType.Type);