15 instantiations of CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Conversions.cs (1)
1097return !methodSymbol.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, node.Location, diagnostics));
Binder\Binder_Expressions.cs (1)
9281new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false, NoLocation.Singleton, diagnostics: null, template: CompoundUseSiteInfo<AssemblySymbol>.Discarded),
Binder\Binder_Invocation.cs (1)
834(typeArgumentsOpt.IsDefault || ((MethodSymbol)(object)result.Member).CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, syntax.Location, candidateDiagnostics))))
Binder\Binder_Symbols.cs (2)
555type.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: true, location, diagnostics)); 1565type.CheckConstraintsForNamedType(new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability, typeSyntax.Location, diagnostics),
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
586new ConstraintsHelper.CheckConstraintsArgs(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null, template),
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1025if (!method.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false, location, diagnostics)))
FlowAnalysis\NullableWalker.cs (2)
7183new ConstraintsHelper.CheckConstraintsArgs(compilation, _conversions, includeNullability: true, NoLocation.Singleton, diagnostics: null, template: CompoundUseSiteInfo<AssemblySymbol>.Discarded), 7592tupleOpt.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, _conversions, includeNullability: true, node.Syntax.Location, diagnostics: null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
613onCompleted.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)
528Args = new CheckConstraintsArgs(currentCompilation, conversions, location, diagnostics); 534Args = new CheckConstraintsArgs(currentCompilation, conversions, includeNullability, location, diagnostics);
Symbols\ReducedExtensionMethodSymbol.cs (1)
201var success = method.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, conversions, includeNullability: false, NoLocation.Singleton, diagnostics: null, template: new CompoundUseSiteInfo<AssemblySymbol>(useSiteInfo)),
Symbols\Tuples\TupleTypeSymbol.cs (1)
72constructedType.CheckConstraints(new ConstraintsHelper.CheckConstraintsArgs(compilation, compilation.Conversions, includeNullability, syntax.Location, diagnostics),
12 references to CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (12)
Symbols\ConstraintsHelper.cs (12)
523public readonly CheckConstraintsArgs Args; 540private static bool CheckConstraintsSingleType(TypeSymbol type, in CheckConstraintsArgs args) 555in CheckConstraintsArgs args, 626in CheckConstraintsArgs args, 666public static bool CheckConstraints(this NamedTypeSymbol type, in CheckConstraintsArgs args) 754in CheckConstraintsArgs args) 783in CheckConstraintsArgs args, 801in CheckConstraintsArgs args, 836in CheckConstraintsArgs args, 874in CheckConstraintsArgs args, 952in CheckConstraintsArgs args, 1063in CheckConstraintsArgs args,