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