Base:
property
IsValueType
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsValueType
1 override of IsValueType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ErrorTypeSymbol.cs (1)
103public sealed override bool IsValueType
17 references to IsValueType
Microsoft.CodeAnalysis.CSharp (17)
Binder\LockBinder.cs (1)
87if (scopeType is not NamedTypeSymbol { Name: WellKnownMemberNames.LockScopeTypeName, Arity: 0, IsValueType: true, IsRefLikeType: true, DeclaredAccessibility: Accessibility.Public } ||
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
4445&& parameters.ParameterTypes[argumentPosition].Type is NamedTypeSymbol { IsInterpolatedStringHandlerType: true, IsValueType: true })
BoundTree\Constructors.cs (1)
62!fieldSymbol.ContainingType.IsValueType ||
CodeGen\EmitExpression.cs (2)
181if (thisType.IsValueType) 1956if (callKind == CallKind.ConstrainedCallVirt && actualMethodTargetedByTheCall.ContainingType.IsValueType)
Emitter\Model\NamedTypeReference.cs (1)
73return UnderlyingNamedType.IsValueType;
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
49get { return AdaptedNamedTypeSymbol.IsValueType; }
FlowAnalysis\NullableWalker.cs (1)
894&& (!method.ContainingType.IsValueType
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1174Debug.Assert(parameters[i].Type is NamedTypeSymbol { IsInterpolatedStringHandlerType: true, IsValueType: true });
Lowering\SpillSequenceSpiller.cs (1)
419var receiver = Spill(builder, field.ReceiverOpt, fieldSymbol.ContainingType.IsValueType ? refKind : RefKind.None);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
242case BoundFieldAccess { FieldSymbol: { IsStatic: false, ContainingType: { IsValueType: true } }, ReceiverOpt: BoundExpression receiver }:
Lowering\SyntheticBoundNodeFactory.cs (1)
1401if (!method.ContainingType.IsValueType || !Microsoft.CodeAnalysis.CSharp.CodeGen.CodeGenerator.MayUseCallForStructMethod(method))
Symbols\MemberSymbolExtensions.cs (2)
406if (initializerSyntax.ArgumentList.Arguments.Count > 0 || !type.IsValueType) 455method.ContainingType?.IsValueType == true &&
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
842if (this.IsValueType)
Symbols\TypeSymbolExtensions.cs (2)
1370IsValueType: true, 1383IsValueType: true,