13 references to ObliviousNullabilityIfReferenceType
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Constraints.cs (1)
341
constraints |= TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
;
Symbols\Source\SourceNamedTypeSymbol.cs (6)
672
Debug.Assert((mergedKind & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) == 0 ||
673
(constraint.Constraints & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) != 0);
724
if (((mergedKind | clause.Constraints) & ~(TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
| TypeParameterConstraintKind.Constructor)) == 0 &&
725
(mergedKind & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) != 0 && // 'object~'
726
(clause.Constraints & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) == 0) // 'object?'
729
mergedKind &= ~TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
;
Symbols\Source\SourceTypeParameterSymbol.cs (2)
565
if ((this.GetConstraintKinds() & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) != 0)
707
if ((this.GetConstraintKinds() & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) != 0)
Symbols\Source\TypeParameterConstraintClause.cs (4)
79
TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
,
94
case TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
:
119
Debug.Assert((constraints & TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
) == 0 ||
120
(constraints & ~(TypeParameterConstraintKind.
ObliviousNullabilityIfReferenceType
| TypeParameterConstraintKind.Constructor |