Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
17 references to IsStatic
Microsoft.CodeAnalysis.CSharp (17)
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
482!_property.IsStatic &&
Symbols\Source\SourcePropertySymbol.cs (3)
710if (!IsStatic && this.GetIsNewExtensionMember() && ContainingType.ExtensionParameter is { } extensionParameter && 767if (IsStatic != implementation.IsStatic)
Symbols\Source\SourcePropertySymbolBase.cs (13)
306if (ContainingType.IsInterface && !IsStatic) 664get { return (IsStatic ? 0 : Microsoft.Cci.CallingConvention.HasThis); } 816if (!IsStatic && ContainingType.IsReadOnly) 837return new SynthesizedBackingFieldSymbol(this, fieldName, isReadOnly: isReadOnly, isStatic: this.IsStatic, hasInitializer: (_propertyFlags & Flags.HasInitializer) != 0); 888if (!IsStatic && ((_propertyFlags & Flags.HasAutoPropertySet) != 0) && SetMethod is { IsInitOnly: false }) 921if (!IsStatic && 1073Debug.Assert(!IsStatic || !IsOverride); // Otherwise should have been reported and cleared earlier. 1074Debug.Assert(!IsStatic || ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier. 1082else if (IsStatic && HasReadOnlyModifier) 1135else if (ContainingType is { IsExtension: true, ExtensionParameter.Name: "" } && !IsStatic) 1139else if (ContainingType.IsStatic && !IsStatic) 1869if (!this.IsStatic && (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer()) 1874else if (type.IsRefLikeOrAllowsRefLikeType() && (this.IsStatic || !this.ContainingType.IsRefLikeType))