20 references to SuppressConstraintChecks
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Symbols.cs (2)
596if (!Flags.HasFlag(BinderFlags.SuppressConstraintChecks)) 1597return !this.Flags.Includes(BinderFlags.SuppressConstraintChecks);
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1403BinderFlags flags = BinderFlags.Cref | BinderFlags.SuppressConstraintChecks | BinderFlags.UnsafeRegion;
Symbols\AliasSymbol.cs (1)
385var flags = BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressObsoleteChecks;
Symbols\ConstraintsHelper.cs (2)
360withTypeParametersBinder = withTypeParametersBinder.WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks); 398withTypeParametersBinder = withTypeParametersBinder.WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressTypeArgumentBinding);
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
51binder = binder.WithAdditionalFlags(BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressObsoleteChecks);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
49var signatureBinder = bodyBinder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this);
Symbols\Source\SourceEventSymbol.cs (1)
743binder = binder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressUnsafeDiagnostics, this);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
485binder = binder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this);
Symbols\Source\SourceNamedTypeSymbol.cs (3)
51baseBinder = baseBinder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this); 351binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks); 432binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressTypeArgumentBinding);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
221baseBinder = baseBinder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this); 453baseBinder = baseBinder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
735var flags = BinderFlags.SuppressConstraintChecks;
Symbols\Source\SourceOrdinaryMethodSymbol.cs (2)
123var signatureBinder = withTypeParamsBinder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this); 169declaredConstraints = signatureBinder.WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks).
Symbols\Source\SourcePropertySymbol.cs (1)
550return binder.WithAdditionalFlagsAndContainingMemberOrLambda(BinderFlags.SuppressConstraintChecks, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
229var signatureBinder = binder.WithAdditionalFlags(BinderFlags.SuppressConstraintChecks);