Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
11 references to IsStatic
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (1)
1483
var implicitReceiver = field.
IsStatic
? null : ThisReference(node, field.ContainingType, wasCompilerGenerated: true);
FlowAnalysis\NullableWalker.cs (1)
2783
if (method.IsConstructor() && method.IsStatic == backingField.
IsStatic
)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (2)
181
if (this.
IsStatic
|| this.IsConst)
335
else if (!this.
IsStatic
&& !this.IsConst)
Symbols\Source\SourceFieldSymbol.cs (2)
64
else if (containingType.IsStatic && !
IsStatic
)
68
else if (!
IsStatic
&& !IsReadOnly && containingType.IsReadOnly)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
5524
builder.UpdateIsNullableEnabledForConstructorsAndFields(useStatic: fieldSymbol.
IsStatic
, compilation, variable);
5536
if (fieldSymbol.
IsStatic
)
Symbols\Source\SourceMemberFieldSymbol.cs (3)
66
else if (type.IsRefLikeOrAllowsRefLikeType() && (this.
IsStatic
|| !containingType.IsRefLikeType))
70
else if (!this.
IsStatic
&& (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer())
371
if (this.
IsStatic
)