1 write to ConstraintTypes
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\TypeParameterConstraintClause.cs (1)
126
this.
ConstraintTypes
= constraintTypes;
14 references to ConstraintTypes
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Constraints.cs (1)
409
var constraintTypes = constraintClause.
ConstraintTypes
;
Symbols\ConstraintsHelper.cs (2)
366
if (clauses.All(clause => clause.
ConstraintTypes
.IsEmpty))
451
builder[i] = TypeParameterConstraintClause.Create(constraintKind, constraint.
ConstraintTypes
);
Symbols\Source\SourceNamedTypeSymbol.cs (8)
370
if (results.All(clause => clause.
ConstraintTypes
.IsEmpty))
507
ImmutableArray<TypeWithAnnotations> originalConstraintTypes = constraint.
ConstraintTypes
;
564
if (clause.
ConstraintTypes
.Length == 0)
571
else if (clause.
ConstraintTypes
.Length == 0)
578
SmallDictionary<TypeWithAnnotations, int> clauseConstraintTypesMap = toDictionary(clause.
ConstraintTypes
, originalConstraintTypesMap.Comparer);
592
TypeWithAnnotations constraintType2 = clause.
ConstraintTypes
[index2];
661
ImmutableArray<TypeWithAnnotations> originalConstraintTypes = constraint.
ConstraintTypes
;
721
if (originalConstraintTypes.Length == 0 && clause.
ConstraintTypes
.Length == 0)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
172
Debug.Assert(declaredConstraints.All(clause => clause.
ConstraintTypes
.IsEmpty));
Symbols\Source\TypeParameterConstraintClause.cs (2)
172
foreach (TypeWithAnnotations constraintType in constraintClause.
ConstraintTypes
)
232
foreach (TypeWithAnnotations constraintType in constraintClause.
ConstraintTypes
)