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