1 override of Emit
mscorlib (1)
system\reflection\emit\dynamicilgenerator.cs (1)
150
public override void
Emit
(OpCode opcode, ConstructorInfo con)
58 references to Emit
mscorlib (7)
system\reflection\emit\ilgenerator.cs (1)
1177
this.
Emit
(OpCodes.Newobj, con);
system\reflection\emit\typebuilder.cs (1)
1838
il.
Emit
(OpCodes.Call,con);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
175
il.
Emit
( OpCodes.Newobj, SinkHelperCons );
524
il.
Emit
( OpCodes.Call, ByteArrayGUIDCons );
544
il.
Emit
( OpCodes.Newobj, DefaultArrayListCons );
571
il.
Emit
( OpCodes.Call, DefaultBaseClsCons );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
271
il.
Emit
( OpCodes.Call, DefaultBaseClsCons );
System (3)
regex\system\text\regularexpressions\RegexCompiler.cs (3)
555
_ilg.
Emit
(OpCodes.Newobj, ct);
3208
_ilg.
Emit
(OpCodes.Call, typeof(Regex).GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
3285
_ilg.
Emit
(OpCodes.Call, defCtorBuilder);
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
476
il.
Emit
(OpCodes.Newobj, havCtor); // invoke the constructor
System.Core (19)
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 (5)
43
il.
Emit
(opcode, (ConstructorInfo)methodBase);
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 (6)
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 (4)
1001
gen.
Emit
(OpCodes.Newobj, s_InvalidOperationConstructor);
1026
gen.
Emit
(OpCodes.Newobj, s_InvalidOperationConstructor);
1387
generator.
Emit
(OpCodes.Newobj, s_InvalidOperationConstructor);
1674
generator.
Emit
(OpCodes.Call, _serializationConstructor);
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)
1489
this.ilgen.
Emit
(opcode, constrInfo);
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeGenerator.cs (2)
658
ilGen.
Emit
(OpCodes.Call, ctor);
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 (2)
System\Xml\Serialization\CodeGenerator.cs (2)
619
ilGen.
Emit
(OpCodes.Call, ctor);
624
ilGen.
Emit
(OpCodes.Newobj, constructorInfo);