13 references to ValueType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Constraints.cs (8)
143
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
184
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
190
constraints |= TypeParameterConstraintKind.
ValueType
;
199
if ((constraints & TypeParameterConstraintKind.
ValueType
) != 0)
230
if (isForOverride && (constraints & (TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.ReferenceType)) != 0)
345
(constraints & (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
)) != (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
));
534
if ((constraints & TypeParameterConstraintKind.
ValueType
) != 0)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
648
switch (declaredConstraints[i].Constraints & (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.
ValueType
| TypeParameterConstraintKind.Default))
657
case TypeParameterConstraintKind.
ValueType
:
Symbols\Source\TypeParameterConstraintClause.cs (3)
33
/// Cannot be combined with <see cref="ReferenceType"/>, <see cref="
ValueType
"/> or <see cref="Unmanaged"/>.
60
AllValueTypeKinds =
ValueType
| Unmanaged,
65
AllNonNullableKinds = ReferenceType |
ValueType
| Constructor | Unmanaged | AllowByRefLike,