1 instantiation of CheckConstraintsArgsBoxed
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ConstraintsHelper.cs (1)
556
private static readonly ObjectPool<CheckConstraintsArgsBoxed> s_checkConstraintsArgsBoxedPool = new ObjectPool<CheckConstraintsArgsBoxed>(static () => new
CheckConstraintsArgsBoxed
());
14 references to CheckConstraintsArgsBoxed
Microsoft.CodeAnalysis.CSharp (14)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1058
var
boxedArgs = ConstraintsHelper.
CheckConstraintsArgsBoxed
.Allocate(compilation, conversions, includeNullability: false, location, diagnostics);
Symbols\ConstraintsHelper.cs (10)
496
var
boxedArgs =
CheckConstraintsArgsBoxed
.Allocate(compilation, conversions, includeNullability, location, diagnostics);
510
var
boxedArgs =
CheckConstraintsArgsBoxed
.Allocate(compilation, conversions, includeNullability: false, NoLocation.Singleton, diagnostics);
519
public static void CheckAllConstraints(this TypeSymbol type,
CheckConstraintsArgsBoxed
args)
556
private static readonly ObjectPool<
CheckConstraintsArgsBoxed
> s_checkConstraintsArgsBoxedPool = new ObjectPool<
CheckConstraintsArgsBoxed
>(static () => new CheckConstraintsArgsBoxed());
563
public static
CheckConstraintsArgsBoxed
Allocate(CSharpCompilation currentCompilation, ConversionsBase conversions, Location location, BindingDiagnosticBag diagnostics)
571
public static
CheckConstraintsArgsBoxed
Allocate(CSharpCompilation currentCompilation, ConversionsBase conversions, bool includeNullability, Location location, BindingDiagnosticBag diagnostics)
585
private static readonly Func<TypeSymbol,
CheckConstraintsArgsBoxed
, bool, bool> s_checkConstraintsSingleTypeFunc = (type, arg, unused) => CheckConstraintsSingleType(type, in arg.Args);
Symbols\Source\SourceTypeParameterSymbol.cs (2)
263
var
args = ConstraintsHelper.
CheckConstraintsArgsBoxed
.Allocate(