Base:
property
IsStatic
Microsoft.CodeAnalysis.CSharp.Symbol.IsStatic
19 references to IsStatic
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (1)
1483var implicitReceiver = field.IsStatic ? null : ThisReference(node, field.ContainingType, wasCompilerGenerated: true);
FlowAnalysis\NullableWalker.cs (1)
2783if (method.IsConstructor() && method.IsStatic == backingField.IsStatic)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (2)
182if (this.IsStatic || this.IsConst) 336else if (!this.IsStatic && !this.IsConst)
Symbols\Source\SourceFieldSymbol.cs (2)
64else if (containingType.IsStatic && !IsStatic) 68else if (!IsStatic && !IsReadOnly && containingType.IsReadOnly)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
5557builder.UpdateIsNullableEnabledForConstructorsAndFields(useStatic: fieldSymbol.IsStatic, compilation, variable); 5569if (fieldSymbol.IsStatic)
Symbols\Source\SourceMemberFieldSymbol.cs (3)
67else if (type.IsRefLikeOrAllowsRefLikeType() && (this.IsStatic || !containingType.IsRefLikeType)) 71else if (!this.IsStatic && (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer()) 372if (this.IsStatic)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\EmitMetadataTests.cs (8)
950Assert.False(pBack.IsStatic); 956Assert.False(qBack.IsStatic); 962Assert.False(rBack.IsStatic); 968Assert.True(sBack.IsStatic); 1021Assert.False(p.IsStatic); 1027Assert.False(qBack.IsStatic); 1033Assert.False(rBack.IsStatic); 1039Assert.True(sBack.IsStatic);