Base:
property
IsValueType
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsValueType
1 override of IsValueType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ErrorTypeSymbol.cs (1)
103
public sealed override bool
IsValueType
17 references to IsValueType
Microsoft.CodeAnalysis.CSharp (17)
Binder\LockBinder.cs (1)
87
if (scopeType is not NamedTypeSymbol { Name: WellKnownMemberNames.LockScopeTypeName, Arity: 0,
IsValueType
: true, IsRefLikeType: true, DeclaredAccessibility: Accessibility.Public } ||
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4466
&& 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
)
1956
if (callKind == CallKind.ConstrainedCallVirt && actualMethodTargetedByTheCall.ContainingType.
IsValueType
)
Emitter\Model\NamedTypeReference.cs (1)
73
return UnderlyingNamedType.
IsValueType
;
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
49
get { return AdaptedNamedTypeSymbol.
IsValueType
; }
FlowAnalysis\NullableWalker.cs (1)
895
&& (!method.ContainingType.
IsValueType
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1173
Debug.Assert(parameters[i].Type 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)
242
case BoundFieldAccess { FieldSymbol: { IsStatic: false, ContainingType: {
IsValueType
: true } }, ReceiverOpt: BoundExpression receiver }:
Lowering\SyntheticBoundNodeFactory.cs (1)
1401
if (!method.ContainingType.
IsValueType
|| !Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.MayUseCallForStructMethod(method))
Symbols\MemberSymbolExtensions.cs (2)
406
if (initializerSyntax.ArgumentList.Arguments.Count > 0 || !type.
IsValueType
)
455
method.ContainingType?.
IsValueType
== true &&
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
843
if (this.
IsValueType
)
Symbols\TypeSymbolExtensions.cs (2)
1370
IsValueType
: true,
1383
IsValueType
: true,