Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
17 references to IsStatic
Microsoft.CodeAnalysis.CSharp (17)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
5136
DeclarationModifiers.Private | (property.
IsStatic
? DeclarationModifiers.Static : 0),
5140
if (property.
IsStatic
)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
482
!_property.
IsStatic
&&
Symbols\Source\SourcePropertySymbol.cs (2)
720
if (
IsStatic
!= implementation.
IsStatic
)
Symbols\Source\SourcePropertySymbolBase.cs (12)
306
if (ContainingType.IsInterface && !
IsStatic
)
642
get { return (
IsStatic
? 0 : Microsoft.Cci.CallingConvention.HasThis); }
794
if (!
IsStatic
&& ContainingType.IsReadOnly)
815
return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.
IsStatic
, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0);
866
if (!
IsStatic
&& ((_propertyFlags & Flags.HasAutoPropertySet) != 0) && SetMethod is { IsInitOnly: false })
899
if (!
IsStatic
&&
1051
Debug.Assert(!
IsStatic
|| !IsOverride); // Otherwise should have been reported and cleared earlier.
1052
Debug.Assert(!
IsStatic
|| ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier.
1060
else if (
IsStatic
&& HasReadOnlyModifier)
1113
else if (ContainingType.IsStatic && !
IsStatic
)
1837
if (!this.
IsStatic
&& (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer())
1842
else if (type.IsRefLikeOrAllowsRefLikeType() && (this.
IsStatic
|| !this.ContainingType.IsRefLikeType))