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)
305
return (constraintKinds.Length > 0) ? constraintKinds[ordinal] : TypeParameterConstraintKind.
None
;
461
if (results.All(clause => clause.Constraints == TypeParameterConstraintKind.
None
))
Symbols\Source\SourceTypeParameterSymbol.cs (3)
582
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
760
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
771
return constraintKinds.IsEmpty ? TypeParameterConstraintKind.
None
: constraintKinds[Ordinal];
Symbols\Source\TypeParameterConstraintClause.cs (3)
74
TypeParameterConstraintKind.
None
,
90
case TypeParameterConstraintKind.
None
:
108
case TypeParameterConstraintKind.
None
: