55 references to Newobj
mscorlib (10)
system\reflection\emit\dynamicilgenerator.cs (3)
139
!(opcode.Equals(OpCodes.
Newobj
) || opcode.Equals(OpCodes.Ldtoken) || opcode.Equals(OpCodes.Ldftn)))
318
if (!(opcode.Equals(OpCodes.Call) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.
Newobj
)))
343
if (!(methodInfo is SymbolMethod) && methodInfo.IsStatic == false && !(opcode.Equals(OpCodes.
Newobj
)))
system\reflection\emit\ilgenerator.cs (5)
492
if (opcode.Equals(OpCodes.Call) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.
Newobj
))
612
if (!(opcode.Equals(OpCodes.Call) || opcode.Equals(OpCodes.Callvirt) || opcode.Equals(OpCodes.
Newobj
)))
633
if (!(methodInfo is SymbolMethod) && methodInfo.IsStatic == false && !(opcode.Equals(OpCodes.
Newobj
)))
710
opcode.Equals(OpCodes.
Newobj
),
1177
this.Emit(OpCodes.
Newobj
, con);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (2)
175
il.Emit( OpCodes.
Newobj
, SinkHelperCons );
544
il.Emit( OpCodes.
Newobj
, DefaultArrayListCons );
System (1)
regex\system\text\regularexpressions\RegexCompiler.cs (1)
555
_ilg.Emit(OpCodes.
Newobj
, ct);
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
476
il.Emit(OpCodes.
Newobj
, havCtor); // invoke the constructor
System.Core (18)
Microsoft\Scripting\Compiler\CompilerScope.cs (3)
318
lc.IL.Emit(OpCodes.
Newobj
, boxType.GetConstructor(new Type[] { v.Type }));
322
lc.IL.Emit(OpCodes.
Newobj
, boxType.GetConstructor(new Type[] { v.Type }));
330
lc.IL.Emit(OpCodes.
Newobj
, boxType.GetConstructor(Type.EmptyTypes));
Microsoft\Scripting\Compiler\ILGen.cs (4)
302
il.Emit(OpCodes.
Newobj
, ci);
794
il.Emit(OpCodes.
Newobj
, ci);
815
il.Emit(OpCodes.
Newobj
, ci);
1039
il.Emit(OpCodes.
Newobj
, typeof(Decimal).GetConstructor(new Type[] { typeof(int) }));
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (3)
544
_ilg.Emit(OpCodes.
Newobj
, ci);
617
_ilg.Emit(OpCodes.
Newobj
, ci);
689
_ilg.Emit(OpCodes.
Newobj
, ci);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (3)
519
_ilg.Emit(OpCodes.
Newobj
, node.Constructor);
979
_ilg.Emit(OpCodes.
Newobj
, ci);
1070
_ilg.Emit(OpCodes.
Newobj
, ci);
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
111
_ilg.Emit(OpCodes.
Newobj
, (ConstructorInfo)(delegateType.GetMember(".ctor")[0]));
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
266
_ilg.Emit(OpCodes.
Newobj
, ci);
382
_ilg.Emit(OpCodes.
Newobj
, ci);
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (2)
130
_ilg.Emit(OpCodes.
Newobj
, ci);
165
_ilg.Emit(OpCodes.
Newobj
, ci);
System.Data.Entity (5)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
175
gen.Emit(OpCodes.
Newobj
, ci);
372
gen.Emit(OpCodes.
Newobj
, realType.GetConstructor(new Type[] { elementType }));
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
1001
gen.Emit(OpCodes.
Newobj
, s_InvalidOperationConstructor);
1026
gen.Emit(OpCodes.
Newobj
, s_InvalidOperationConstructor);
1387
generator.Emit(OpCodes.
Newobj
, s_InvalidOperationConstructor);
System.Data.Linq (11)
SqlClient\Reader\ObjectReaderCompiler.cs (11)
948
gen.Emit(OpCodes.
Newobj
, sn.Constructor);
957
gen.Emit(OpCodes.
Newobj
, ci);
1196
gen.Emit(OpCodes.
Newobj
, ci);
1258
gen.Emit(OpCodes.
Newobj
, ci);
1314
gen.Emit(OpCodes.
Newobj
, ci);
1480
gen.Emit(OpCodes.
Newobj
, ci);
1624
gen.Emit(OpCodes.
Newobj
, ci);
1647
gen.Emit(OpCodes.
Newobj
, ci);
1656
gen.Emit(OpCodes.
Newobj
, ci);
1719
gen.Emit(OpCodes.
Newobj
, ci);
1740
gen.Emit(OpCodes.
Newobj
, ci);
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
591
generator.Emit(System.Reflection.Emit.OpCodes.
Newobj
, emptyConstructor);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
851
Emit(OpCodes.
Newobj
, constr);
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
665
ilGen.Emit(OpCodes.
Newobj
, constructorInfo);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
280
ilGen.Emit(OpCodes.
Newobj
, constructor);
System.Web (3)
Util\FactoryGenerator.cs (1)
164
il.Emit(OpCodes.
Newobj
, cons);
Util\FastDelegateCreator.cs (1)
51
ilGen.Emit(OpCodes.
Newobj
, delegateCtor); // Stack contains (delegate)
Util\FastPropertyAccessor.cs (1)
151
il.Emit(OpCodes.
Newobj
, cons);
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
179
il.Emit(OpCodes.
Newobj
, cons);
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
624
ilGen.Emit(OpCodes.
Newobj
, constructorInfo);