1 instantiation of CheckConstraintsArgsBoxed
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ConstraintsHelper.cs (1)
554
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)
554
private static readonly ObjectPool<
CheckConstraintsArgsBoxed
> s_checkConstraintsArgsBoxedPool = new ObjectPool<
CheckConstraintsArgsBoxed
>(static () => new CheckConstraintsArgsBoxed());
561
public static
CheckConstraintsArgsBoxed
Allocate(CSharpCompilation currentCompilation, ConversionsBase conversions, Location location, BindingDiagnosticBag diagnostics)
569
public static
CheckConstraintsArgsBoxed
Allocate(CSharpCompilation currentCompilation, ConversionsBase conversions, bool includeNullability, Location location, BindingDiagnosticBag diagnostics)
583
private static readonly Func<TypeSymbol,
CheckConstraintsArgsBoxed
, bool, bool> s_checkConstraintsSingleTypeFunc = (type, arg, unused) => CheckConstraintsSingleType(type, in arg.Args);
Symbols\Source\SourceTypeParameterSymbol.cs (2)
262
var
args = ConstraintsHelper.
CheckConstraintsArgsBoxed
.Allocate(