10 references to None
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Constraints.cs (1)
121
var constraints = TypeParameterConstraintKind.
None
;
Symbols\ConstraintsHelper.cs (1)
407
if (clauses.All(clause => clause.Constraints == TypeParameterConstraintKind.
None
))
Symbols\Source\SourceNamedTypeSymbol.cs (2)
301
return (constraintKinds.Length > 0) ? constraintKinds[ordinal] : TypeParameterConstraintKind.
None
;
457
if (results.All(clause => clause.Constraints == TypeParameterConstraintKind.
None
))
Symbols\Source\SourceTypeParameterSymbol.cs (3)
592
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
770
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
781
return constraintKinds.IsEmpty ? TypeParameterConstraintKind.
None
: constraintKinds[Ordinal];
Symbols\Source\TypeParameterConstraintClause.cs (3)
74
TypeParameterConstraintKind.
None
,
90
case TypeParameterConstraintKind.
None
:
108
case TypeParameterConstraintKind.
None
: