13 references to CheckConstraintsFlags
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
918bool constraintErrors = !TypeBind.CheckConstraints(var, CheckConstraintsFlags.NoErrors);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (11)
36public static bool CheckConstraints(CType type, CheckConstraintsFlags flags) 69if ((flags & CheckConstraintsFlags.NoErrors) != 0) 83if (ats.OuterType != null && ((flags & CheckConstraintsFlags.Outer) != 0 || !ats.OuterType.ConstraintError.HasValue)) 94if (!CheckConstraintsCore(ats.OwningAggregate, typeVars, typeArgsThis, typeArgsAll, null, flags & CheckConstraintsFlags.NoErrors)) 107CheckConstraints(atArg, flags | CheckConstraintsFlags.Outer); 131CheckConstraintsCore(mwi.Meth(), mwi.Meth().typeVars, mwi.TypeArgs, mwi.GetType().TypeArgsAll, mwi.TypeArgs, CheckConstraintsFlags.None); 140private static bool CheckConstraintsCore(Symbol symErr, TypeArray typeVars, TypeArray typeArgs, TypeArray typeArgsCls, TypeArray typeArgsMeth, CheckConstraintsFlags flags) 144Debug.Assert(flags == CheckConstraintsFlags.None || flags == CheckConstraintsFlags.NoErrors); 162private static bool CheckSingleConstraint(Symbol symErr, TypeParameterType var, CType arg, TypeArray typeArgsCls, TypeArray typeArgsMeth, CheckConstraintsFlags flags) 167bool fReportErrors = 0 == (flags & CheckConstraintsFlags.NoErrors);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (1)
714if (!TypeBind.CheckConstraints(intermediateType, CheckConstraintsFlags.NoErrors))