10 references to GenericConstraintsClause
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Constraints.cs (1)
32
Debug.Assert(this.Flags.Includes(BinderFlags.
GenericConstraintsClause
));
Symbols\ConstraintsHelper.cs (4)
359
Debug.Assert(!withTypeParametersBinder.Flags.Includes(BinderFlags.
GenericConstraintsClause
));
360
withTypeParametersBinder = withTypeParametersBinder.WithAdditionalFlags(BinderFlags.
GenericConstraintsClause
| BinderFlags.SuppressConstraintChecks);
397
Debug.Assert(!withTypeParametersBinder.Flags.Includes(BinderFlags.
GenericConstraintsClause
));
398
withTypeParametersBinder = withTypeParametersBinder.WithAdditionalFlags(BinderFlags.
GenericConstraintsClause
| BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressTypeArgumentBinding);
Symbols\Source\SourceNamedTypeSymbol.cs (4)
350
Debug.Assert(!binder.Flags.Includes(BinderFlags.
GenericConstraintsClause
));
351
binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.
GenericConstraintsClause
| BinderFlags.SuppressConstraintChecks);
431
Debug.Assert(!binder.Flags.Includes(BinderFlags.
GenericConstraintsClause
));
432
binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.
GenericConstraintsClause
| BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressTypeArgumentBinding);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
169
declaredConstraints = signatureBinder.WithAdditionalFlags(BinderFlags.
GenericConstraintsClause
| BinderFlags.SuppressConstraintChecks).