13 references to ValueType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Constraints.cs (8)
144
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
185
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
191
constraints |= TypeParameterConstraintKind.
ValueType
;
200
if ((constraints & TypeParameterConstraintKind.
ValueType
) != 0)
231
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
346
(constraints & (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
)) != (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
));
535
if ((constraints & TypeParameterConstraintKind.
ValueType
) != 0)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
658
switch (declaredConstraints[i].Constraints & (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.Default))
667
case TypeParameterConstraintKind.
ValueType
:
Symbols\Source\TypeParameterConstraintClause.cs (3)
32
/// Cannot be combined with <see cref="ReferenceType"/>, <see cref="
ValueType
"/> or <see cref="Unmanaged"/>.
59
AllValueTypeKinds =
ValueType
| Unmanaged,
64
AllNonNullableKinds = ReferenceType |
ValueType
| Constructor | Unmanaged | AllowByRefLike,