13 instantiations of CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Conversions.cs (1)
539.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(Compilation, Conversions, includeNullability: false, syntax.Location, diagnostics));
Binder\Binder_Expressions.cs (1)
11158new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null),
Binder\Binder_Invocation.cs (1)
1014(typeArgumentsOpt.IsDefault || ((MethodSymbol)(object)result.Member).CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, syntax.Location, candidateDiagnostics))))
Binder\Binder_Symbols.cs (1)
1590type.CheckConstraintsForNamedType(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability, typeSyntax.Location, diagnostics),
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
803var constraintsArgs = new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null, template);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1046if (!method.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false, location, diagnostics)))
FlowAnalysis\NullableWalker.cs (1)
8739tupleOpt.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, _conversions, includeNullability: true, node.Syntax.Location, diagnostics: null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
636onCompleted.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(F.Compilation, F.Compilation.Conversions, includeNullability: false, F.Syntax.Location, this.Diagnostics));
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
258startMethod.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(F.Compilation, F.Compilation.Conversions, includeNullability: false, F.Syntax.Location, diagnostics));
Symbols\ConstraintsHelper.cs (2)
564boxedArgs.Args = new CheckConstraintsArgs(currentCompilation, conversions, location, diagnostics); 572boxedArgs.Args = new CheckConstraintsArgs(currentCompilation, conversions, includeNullability, location, diagnostics);
Symbols\ReducedExtensionMethodSymbol.cs (1)
207var success = method.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false, NoLocation.Singleton, diagnostics: null, template: new CompoundUseSiteInfo<AssemblySymbol>(useSiteInfo)),
Symbols\Tuples\TupleTypeSymbol.cs (1)
65constructedType.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, compilation.Conversions, includeNullability, syntax.Location, diagnostics),
15 references to CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (15)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
803var constraintsArgs = new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null, template);
Symbols\ConstraintsHelper.cs (12)
558public CheckConstraintsArgs Args; 585private static bool CheckConstraintsSingleType(TypeSymbol type, in CheckConstraintsArgs args) 600in CheckConstraintsArgs args, 671in CheckConstraintsArgs args, 711public static bool CheckConstraints(this NamedTypeSymbol type, in CheckConstraintsArgs args) 804in CheckConstraintsArgs args) 837in CheckConstraintsArgs args, 855in CheckConstraintsArgs args, 891in CheckConstraintsArgs args, 943in CheckConstraintsArgs args, 1045in CheckConstraintsArgs args, 1156in CheckConstraintsArgs args,
Symbols\MemberSymbolExtensions.cs (1)
306var constraintArgs = new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false,
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
203var constraintArgs = new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false,