Base:
property
IsReferenceType
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsReferenceType
1 override of IsReferenceType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ErrorTypeSymbol.cs (1)
92
public override bool
IsReferenceType
14 references to IsReferenceType
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.ValueChecks.cs (6)
1183
if (RequiresAssignableVariable(valueKind) && !backingField.ContainingType.
IsReferenceType
&& (this.ContainingMemberOrLambda as MethodSymbol)?.IsEffectivelyReadOnly == true)
1424
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1507
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1529
if (fieldSymbol.IsStatic || fieldSymbol.ContainingType.
IsReferenceType
)
1554
if (eventSymbol.IsStatic || eventSymbol.ContainingType.
IsReferenceType
)
3513
if (eventSymbol.IsStatic || eventSymbol.ContainingType.
IsReferenceType
)
FlowAnalysis\DefiniteAssignment.cs (1)
1507
if (fieldSymbol.ContainingType.
IsReferenceType
|| fieldSymbol.IsStatic) return null;
FlowAnalysis\NullableWalker.cs (1)
6701
method.ContainingType.
IsReferenceType
)
FlowAnalysis\ReadWriteWalker.cs (1)
178
if (expr.FieldSymbol.ContainingType.
IsReferenceType
) return;
Lowering\DiagnosticsPass_Warnings.cs (1)
357
if ((object)nt == null || !nt.
IsReferenceType
|| nt.IsInterface)
Lowering\SpillSequenceSpiller.cs (1)
924
if (field.FieldSymbol.ContainingType.
IsReferenceType
)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
614
var isFieldOfStruct = !field.FieldSymbol.ContainingType.
IsReferenceType
;
Symbols\NamespaceSymbol.cs (1)
362
if (!type.
IsReferenceType
|| !type.IsStatic || type.IsGenericType || !type.MightContainExtensionMethods) continue;
Symbols\Source\SourceDestructorSymbol.cs (1)
55
else if (!containingType.
IsReferenceType
)