19 references to New
System.Core (2)
Microsoft\Scripting\Actions\DynamicObject.cs (1)
522
Expression.
New
(typeof(InvalidCastException).GetConstructor(new Type[]{typeof(string)}),
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
608
Expression.
New
(
System.Data.Entity (12)
System\Data\Common\Internal\Materialization\Translator.cs (7)
770
result = Expression.
New
(ci, input, keyReader, entitySetReader, Shaper_Context, Expression.Constant(mergeOption, typeof(MergeOption)), Expression.Constant(identityType, typeof(Type)));
797
result = Expression.
New
(ci, input, keyReader, entitySetReader, Shaper_Context, Expression.Constant(mergeOption, typeof(MergeOption)), Expression.Constant(identityType, typeof(Type)),
961
result = Expression.
New
(EntityKey_ctor_SingleKey,
968
result = Expression.
New
(EntityKey_ctor_CompositeKey,
1509
Expression typeDelegatePair = Expression.
New
(
1717
Expression result = Emit_EnsureType(Expression.
New
(MaterializedDataRecord_ctor, Shaper_Workspace, typeUsage, columnReaderArray), arg.RequestedType);
1913
result = Emit_EnsureType(Expression.
New
(constructorInfo, result), compensatingCollectionType);
System\Data\SqlClient\SqlTypesAssembly.cs (5)
568
Expression result = Expression.
New
(byteArrayCtor, toConvert);
580
Expression result = Expression.
New
(sqlCharsFromSqlStringCtor, Expression.
New
(sqlStringFromStringCtor, toConvert));
590
Expression result = Expression.Convert(Expression.
New
(sqlStringFromStringCtor, toConvert), typeof(object));
600
Expression result = Expression.
New
(readerCtor, toConvert);
System.Data.Services.Client (4)
System\Data\Services\Client\ProjectionPlanCompiler.cs (4)
857
result = Expression.
New
(
875
result = Expression.
New
(
897
result = Expression.
New
(
921
result = Expression.
New
(
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
1143
return Expression.
New
((ConstructorInfo)method, args);