Base:
property
IsReferenceType
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsReferenceType
Implemented interface member:
property
IsReferenceType
Microsoft.CodeAnalysis.Symbols.ITypeSymbolInternal.IsReferenceType
1 override of IsReferenceType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ErrorTypeSymbol.cs (1)
93
public override bool
IsReferenceType
13 references to IsReferenceType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.ValueChecks.cs (6)
1450
if (RequiresAssignableVariable(valueKind) && !backingField.ContainingType.
IsReferenceType
&& (this.ContainingMemberOrLambda as MethodSymbol)?.IsEffectivelyReadOnly == true)
1699
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1782
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1804
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1829
if (eventSymbol.IsStatic || eventSymbol.ContainingType.
IsReferenceType
)
3808
if (eventSymbol.IsStatic || eventSymbol.ContainingType.
IsReferenceType
)
FlowAnalysis\DefiniteAssignment.cs (1)
1445
if (fieldSymbol.ContainingType.
IsReferenceType
|| fieldSymbol.IsStatic) return null;
FlowAnalysis\NullableWalker.cs (1)
7350
method.ContainingType.
IsReferenceType
)
FlowAnalysis\ReadWriteWalker.cs (1)
178
if (expr.FieldSymbol.ContainingType.
IsReferenceType
) return;
Lowering\DiagnosticsPass_Warnings.cs (1)
356
if ((object)nt == null || !nt.
IsReferenceType
|| nt.IsInterface)
Lowering\SpillSequenceSpiller.cs (1)
936
if (field.FieldSymbol.ContainingType.
IsReferenceType
)
Lowering\StateMachineRewriter\RefInitializationHoister.cs (1)
202
var isFieldOfStruct = !field.FieldSymbol.ContainingType.
IsReferenceType
;
Symbols\Source\SourceDestructorSymbol.cs (1)
56
else if (!containingType.
IsReferenceType
)