Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
19 references to IsStatic
Microsoft.CodeAnalysis.CSharp (19)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
5914
DeclarationModifiers.Private | (property.
IsStatic
? DeclarationModifiers.Static : 0),
5918
if (property.
IsStatic
)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
514
!_property.
IsStatic
&&
Symbols\Source\SourcePropertySymbol.cs (2)
764
if (
IsStatic
!= implementation.
IsStatic
)
Symbols\Source\SourcePropertySymbolBase.cs (14)
308
if (ContainingType.IsInterface && !
IsStatic
)
668
get { return (
IsStatic
? 0 : Microsoft.Cci.CallingConvention.HasThis); }
820
if (!
IsStatic
&& ContainingType.IsReadOnly)
841
return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.
IsStatic
, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0);
897
if (!
IsStatic
&& HasAutoPropertySet && SetMethod is { IsInitOnly: false })
930
if (!
IsStatic
&&
1107
bool hasExplicitOrExtendedLayoutField() => BackingField != null && !
IsStatic
&& (ContainingType.Layout.Kind == LayoutKind.Explicit || ContainingType.Layout.Kind == LayoutKind.Extended);
1117
Debug.Assert(!
IsStatic
|| !IsOverride); // Otherwise should have been reported and cleared earlier.
1118
Debug.Assert(!
IsStatic
|| ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier.
1126
else if (
IsStatic
&& HasReadOnlyModifier)
1179
else if (ContainingType is { IsExtension: true, ExtensionParameter.Name: "" } && !
IsStatic
)
1183
else if (ContainingType.IsStatic && !
IsStatic
)
1925
if (!this.
IsStatic
&& (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer())
1930
else if (type.IsRefLikeOrAllowsRefLikeType() && (this.
IsStatic
|| !this.ContainingType.IsRefLikeType))