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)
626
Debug.Assert(!
IsStatic
|| !IsOverride); // Otherwise should have been reported and cleared earlier.
627
Debug.Assert(!
IsStatic
|| ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier.
637
else if (IsReadOnly &&
IsStatic
)
695
else if (ContainingType.IsStatic && !
IsStatic
)
952
if (
IsStatic
!= implementation.
IsStatic
)
Symbols\Source\SourceFieldLikeEventSymbol.cs (5)
71
if (inInterfaceType && !this.
IsStatic
)
97
if (!
IsStatic
&& ContainingType.IsReadOnly)
104
if ((IsAbstract || IsVirtual) &&
IsStatic
)
111
else if (this.IsExtern || this.
IsStatic
)
115
if (this.
IsStatic
)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5936
DeclarationModifiers.Private | (@event.
IsStatic
? DeclarationModifiers.Static : 0),