3 references to CheckConstraints
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Symbols.cs (1)
557
type.
CheckConstraints
(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: true, location, diagnostics));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
862
if (spanOfElementType.
CheckConstraints
(new ConstraintsHelper.CheckConstraintsArgs(_compilation, _compilation.Conversions, Location.None, BindingDiagnosticBag.Discarded)))
Symbols\ConstraintsHelper.cs (1)
589
((NamedTypeSymbol)type).
CheckConstraints
(args);