Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
16 references to IsStatic
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
5061
DeclarationModifiers.Private | (property.
IsStatic
? DeclarationModifiers.Static : 0),
5065
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 (11)
305
if (ContainingType.IsInterface && !
IsStatic
)
641
get { return (
IsStatic
? 0 : Microsoft.Cci.CallingConvention.HasThis); }
801
if (!
IsStatic
&& ContainingType.IsReadOnly)
822
return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.
IsStatic
, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0);
873
if (!
IsStatic
&& ((_propertyFlags & Flags.HasAutoPropertySet) != 0) && SetMethod is { IsInitOnly: false })
906
if (!
IsStatic
&&
1058
Debug.Assert(!
IsStatic
|| !IsOverride); // Otherwise should have been reported and cleared earlier.
1059
Debug.Assert(!
IsStatic
|| ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier.
1067
else if (
IsStatic
&& HasReadOnlyModifier)
1120
else if (ContainingType.IsStatic && !
IsStatic
)
1842
else if (this.IsAutoPropertyOrUsesFieldKeyword && type.IsRefLikeOrAllowsRefLikeType() && (this.
IsStatic
|| !this.ContainingType.IsRefLikeType))