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