10 references to None
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Constraints.cs (1)
120
var constraints = TypeParameterConstraintKind.
None
;
Symbols\ConstraintsHelper.cs (1)
407
if (clauses.All(clause => clause.Constraints == TypeParameterConstraintKind.
None
))
Symbols\Source\SourceNamedTypeSymbol.cs (2)
297
return (constraintKinds.Length > 0) ? constraintKinds[ordinal] : TypeParameterConstraintKind.
None
;
453
if (results.All(clause => clause.Constraints == TypeParameterConstraintKind.
None
))
Symbols\Source\SourceTypeParameterSymbol.cs (3)
591
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
735
if (constraintTypes.IsEmpty && GetConstraintKinds() == TypeParameterConstraintKind.
None
)
746
return constraintKinds.IsEmpty ? TypeParameterConstraintKind.
None
: constraintKinds[Ordinal];
Symbols\Source\TypeParameterConstraintClause.cs (3)
75
TypeParameterConstraintKind.
None
,
91
case TypeParameterConstraintKind.
None
:
109
case TypeParameterConstraintKind.
None
: