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