1 implementation of IStrongBox
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StrongBox.cs (1)
12
public class StrongBox<T> :
IStrongBox
43 references to IStrongBox
netstandard (1)
netstandard.cs (1)
1553
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IStrongBox
))]
System.Core (1)
System.Core.cs (1)
191
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IStrongBox
))]
System.Linq.Expressions (39)
System\Linq\Expressions\Interpreter\InterpretedFrame.cs (2)
26
public readonly
IStrongBox
[]? Closure;
37
internal InterpretedFrame(Interpreter interpreter,
IStrongBox
[]? closure)
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
3144
IStrongBox
box = frame.Closure![_parameter.Index];
3149
var
box = (
IStrongBox
)frame.Data[_parameter.Index]!;
System\Linq\Expressions\Interpreter\LightDelegateCreator.cs (1)
29
internal Delegate CreateDelegate(
IStrongBox
[]? closure)
System\Linq\Expressions\Interpreter\LightLambda.cs (2)
18
private readonly
IStrongBox
[]? _closure;
27
internal LightLambda(LightDelegateCreator delegateCreator,
IStrongBox
[]? closure)
System\Linq\Expressions\Interpreter\LocalAccess.cs (11)
71
var
box = (
IStrongBox
)frame.Data[_index]!;
89
IStrongBox
box = frame.Closure![_index];
107
IStrongBox
box = frame.Closure![_index];
175
var
box = (
IStrongBox
)frame.Data[_index]!;
193
var
box = (
IStrongBox
)frame.Data[_index]!;
212
IStrongBox
box = frame.Closure![_index];
467
var ret = new
IStrongBox
[_count];
470
ret[i] = (
IStrongBox
)frame.Pop()!;
System\Linq\Expressions\Interpreter\RuntimeVariables.cs (3)
10
private readonly
IStrongBox
[] _boxes;
12
private RuntimeVariables(
IStrongBox
[] boxes)
31
internal static IRuntimeVariables Create(
IStrongBox
[] boxes) => new RuntimeVariables(boxes);
System\Linq\Expressions\Interpreter\TypeOperations.cs (8)
28
IStrongBox
[]? closure;
31
closure = new
IStrongBox
[ConsumedStack];
34
closure[i] = (
IStrongBox
?)frame.Pop()!;
578
var boxes = new List<
IStrongBox
>();
583
IStrongBox
? box = GetBox(node.Variables[i]);
625
IStrongBox
? box = GetBox(node);
633
private
IStrongBox
? GetBox(ParameterExpression variable)
643
return (
IStrongBox
?)_frame.Data[var.Index];
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (5)
133
var boxes = new List<
IStrongBox
>();
138
IStrongBox
? box = GetBox(node.Variables[i]);
175
IStrongBox
? box = GetBox(node);
183
private
IStrongBox
? GetBox(ParameterExpression variable)
201
return (
IStrongBox
)locals[hoistIndex];
System\Runtime\CompilerServices\RuntimeOps.RuntimeVariableList.cs (2)
97
private
IStrongBox
GetStrongBox(int index)
112
return (
IStrongBox
)result[unchecked((int)closureKey)];
System\Runtime\CompilerServices\RuntimeOps.RuntimeVariables.cs (2)
10
private readonly
IStrongBox
[] _boxes;
12
internal RuntimeVariables(
IStrongBox
[] boxes)
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\StrongBox.cs (1)
36
object?
IStrongBox
.Value
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
600
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.
IStrongBox
))]