1 instantiation of StrongBox
System.Core (1)
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
317return Expression.Field(Expression.Constant(new StrongBox<T>(default(T))), "Value");
10 references to StrongBox
System.Core (8)
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
312Type boxType = typeof(StrongBox<>).MakeGenericType(v.Type);
Microsoft\Scripting\Compiler\CompilerScope.Storage.cs (2)
107_boxType = typeof(StrongBox<>).MakeGenericType(variable.Type); 151_boxType = typeof(StrongBox<>).MakeGenericType(variable.Type);
Microsoft\Scripting\Compiler\HoistedLocals.cs (1)
98return ((StrongBox<object[]>)locals[0]).Value;
Microsoft\Scripting\Utils\StrongBox.cs (4)
21/// <typeparam name="T">The type of the value that the <see cref = "StrongBox{T}"></see> references.</typeparam> 24/// Gets the strongly typed value associated with the <see cref = "StrongBox{T}"></see> 37/// Initializes a new <see cref = "StrongBox{T}"></see> with the specified value. 39/// <param name="value">A value that the <see cref = "StrongBox{T}"></see> will reference.</param>
System.Data.Linq (2)
SqlClient\Reader\ObjectReaderCompiler.cs (2)
2161Type varType = typeof(StrongBox<>).MakeGenericType(type); 2178this.globals.Add(Activator.CreateInstance(typeof(StrongBox<>).MakeGenericType(type), new object[] { value }));