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