Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
14 references to IsStatic
Microsoft.CodeAnalysis.CSharp (14)
Compiler\MethodBodySynthesizer.cs (1)
378BoundThisReference fieldReceiver = eventSymbol.IsStatic || eventSymbol.ContainingSymbol is NamedTypeSymbol { IsExtension: true } ?
Symbols\Source\SourceEventSymbol.cs (7)
627Debug.Assert(!IsStatic || !IsOverride); // Otherwise should have been reported and cleared earlier. 628Debug.Assert(!IsStatic || ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier. 638else if (IsReadOnly && IsStatic) 696else if (ContainingType.IsStatic && !IsStatic) 947if (IsStatic != implementation.IsStatic) 989bool hasExplicitOrExtendedLayoutField() => AssociatedField != null && !IsStatic && (ContainingType.Layout.Kind == LayoutKind.Explicit || ContainingType.Layout.Kind == LayoutKind.Extended);
Symbols\Source\SourceFieldLikeEventSymbol.cs (5)
71if (inInterfaceType && !this.IsStatic) 97if (!IsStatic && ContainingType.IsReadOnly) 104if ((IsAbstract || IsVirtual) && IsStatic) 111else if (this.IsExtern || this.IsStatic) 115if (this.IsStatic)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5950DeclarationModifiers.Private | (@event.IsStatic ? DeclarationModifiers.Static : 0),