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