17 instantiations of CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Conversions.cs (1)
539
.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(Compilation, Conversions, includeNullability: false, syntax.Location, diagnostics));
Binder\Binder_Expressions.cs (1)
10779
new ConstraintsHelper.
CheckConstraintsArgs
(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null),
Binder\Binder_Invocation.cs (1)
998
(typeArgumentsOpt.IsDefault || ((MethodSymbol)(object)result.Member).CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(this.Compilation, this.Conversions, includeNullability: false, syntax.Location, candidateDiagnostics))))
Binder\Binder_Symbols.cs (1)
1582
type.CheckConstraintsForNamedType(new ConstraintsHelper.
CheckConstraintsArgs
(this.Compilation, this.Conversions, includeNullability, typeSyntax.Location, diagnostics),
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
806
new ConstraintsHelper.
CheckConstraintsArgs
(this.Compilation, this.Conversions, includeNullability: false, location: NoLocation.Singleton, diagnostics: null, template),
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1046
if (!method.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(compilation, conversions, includeNullability: false, location, diagnostics)))
FlowAnalysis\NullableWalker.cs (1)
8443
tupleOpt.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(compilation, _conversions, includeNullability: true, node.Syntax.Location, diagnostics: null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
631
onCompleted.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(F.Compilation, F.Compilation.Conversions, includeNullability: false, F.Syntax.Location, this.Diagnostics));
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
258
startMethod.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(F.Compilation, F.Compilation.Conversions, includeNullability: false, F.Syntax.Location, diagnostics));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
175
if (!interceptor.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(this._compilation, this._compilation.Conversions, includeNullability: true, attributeLocation, this._diagnostics)))
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
680
if (linqToArrayMethod.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(_compilation, _compilation.Conversions, Location.None, BindingDiagnosticBag.Discarded))
862
if (spanOfElementType.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(_compilation, _compilation.Conversions, Location.None, BindingDiagnosticBag.Discarded)))
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
343
method.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(_compilation, _compilation.Conversions, syntax.GetLocation(), _diagnostics));
Symbols\ConstraintsHelper.cs (2)
564
boxedArgs.Args = new
CheckConstraintsArgs
(currentCompilation, conversions, location, diagnostics);
572
boxedArgs.Args = new
CheckConstraintsArgs
(currentCompilation, conversions, includeNullability, location, diagnostics);
Symbols\ReducedExtensionMethodSymbol.cs (1)
207
var success = method.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(compilation, conversions, includeNullability: false, NoLocation.Singleton, diagnostics: null, template: new CompoundUseSiteInfo<AssemblySymbol>(useSiteInfo)),
Symbols\Tuples\TupleTypeSymbol.cs (1)
66
constructedType.CheckConstraints(new ConstraintsHelper.
CheckConstraintsArgs
(compilation, compilation.Conversions, includeNullability, syntax.Location, diagnostics),
12 references to CheckConstraintsArgs
Microsoft.CodeAnalysis.CSharp (12)
Symbols\ConstraintsHelper.cs (12)
558
public
CheckConstraintsArgs
Args;
585
private static bool CheckConstraintsSingleType(TypeSymbol type, in
CheckConstraintsArgs
args)
600
in
CheckConstraintsArgs
args,
671
in
CheckConstraintsArgs
args,
711
public static bool CheckConstraints(this NamedTypeSymbol type, in
CheckConstraintsArgs
args)
804
in
CheckConstraintsArgs
args)
837
in
CheckConstraintsArgs
args,
855
in
CheckConstraintsArgs
args,
890
in
CheckConstraintsArgs
args,
928
in
CheckConstraintsArgs
args,
1030
in
CheckConstraintsArgs
args,
1141
in
CheckConstraintsArgs
args,