Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
13 references to IsStatic
Microsoft.CodeAnalysis.CSharp (13)
Compiler\MethodBodySynthesizer.cs (1)
378
BoundThisReference fieldReceiver = eventSymbol.
IsStatic
|| eventSymbol.ContainingSymbol is NamedTypeSymbol { IsExtension: true } ?
Symbols\Source\SourceEventSymbol.cs (6)
649
Debug.Assert(!
IsStatic
|| !IsOverride); // Otherwise should have been reported and cleared earlier.
650
Debug.Assert(!
IsStatic
|| ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier.
660
else if (IsReadOnly &&
IsStatic
)
718
else if (ContainingType.IsStatic && !
IsStatic
)
969
if (
IsStatic
!= implementation.
IsStatic
)
Symbols\Source\SourceFieldLikeEventSymbol.cs (5)
72
if (inInterfaceType && !this.
IsStatic
)
98
if (!
IsStatic
&& ContainingType.IsReadOnly)
105
if ((IsAbstract || IsVirtual) &&
IsStatic
)
112
else if (this.IsExtern || this.
IsStatic
)
116
if (this.
IsStatic
)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5963
DeclarationModifiers.Private | (@event.
IsStatic
? DeclarationModifiers.Static : 0),