Base:
property
IsValueType
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsValueType
Implemented interface member:
property
IsValueType
Microsoft.CodeAnalysis.Symbols.ITypeSymbolInternal.IsValueType
1 override of IsValueType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ErrorTypeSymbol.cs (1)
104
public sealed override bool
IsValueType
18 references to IsValueType
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Patterns.cs (1)
944
return unionMatchingInputType is not null && constantValueOpt == ConstantValue.Null && (unionMatchingInputType.IsNullableType() || !unionMatchingInputType.
IsValueType
);
Binder\LockBinder.cs (1)
91
if (scopeType is not NamedTypeSymbol { Name: WellKnownMemberNames.LockScopeTypeName, Arity: 0,
IsValueType
: true, IsRefLikeType: true, DeclaredAccessibility: Accessibility.Public } ||
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4604
&& parameters.ParameterTypes[argumentPosition].Type is NamedTypeSymbol { IsInterpolatedStringHandlerType: true,
IsValueType
: true })
BoundTree\Constructors.cs (1)
62
!fieldSymbol.ContainingType.
IsValueType
||
CodeGen\EmitExpression.cs (2)
181
if (thisType.
IsValueType
)
1987
if (callKind == CallKind.ConstrainedCallVirt && actualMethodTargetedByTheCall.ContainingType.
IsValueType
)
Emitter\Model\NamedTypeReference.cs (1)
74
return UnderlyingNamedType.
IsValueType
;
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
50
get { return AdaptedNamedTypeSymbol.
IsValueType
; }
FlowAnalysis\NullableWalker.cs (1)
950
&& (!method.ContainingType.
IsValueType
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1280
if (paramType is NamedTypeSymbol { IsInterpolatedStringHandlerType: true,
IsValueType
: true })
Lowering\SpillSequenceSpiller.cs (1)
419
var receiver = Spill(builder, field.ReceiverOpt, fieldSymbol.ContainingType.
IsValueType
? refKind : RefKind.None);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
261
case BoundFieldAccess { FieldSymbol: { IsStatic: false, ContainingType: {
IsValueType
: true } }, ReceiverOpt: BoundExpression receiver }:
Lowering\SyntheticBoundNodeFactory.cs (1)
1440
if (!method.ContainingType.
IsValueType
|| !Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.MayUseCallForStructMethod(method))
Symbols\MemberSymbolExtensions.cs (2)
652
if (initializerSyntax.ArgumentList.Arguments.Count > 0 || !type.
IsValueType
)
701
method.ContainingType?.
IsValueType
== true &&
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1144
if (this.
IsValueType
)
Symbols\TypeSymbolExtensions.cs (2)
1455
IsValueType
: true,
1468
IsValueType
: true,