1 override of Emit
mscorlib (1)
system\reflection\emit\dynamicilgenerator.cs (1)
150public override void Emit(OpCode opcode, ConstructorInfo con)
58 references to Emit
mscorlib (7)
system\reflection\emit\ilgenerator.cs (1)
1177this.Emit(OpCodes.Newobj, con);
system\reflection\emit\typebuilder.cs (1)
1838il.Emit(OpCodes.Call,con);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (4)
175il.Emit( OpCodes.Newobj, SinkHelperCons ); 524il.Emit( OpCodes.Call, ByteArrayGUIDCons ); 544il.Emit( OpCodes.Newobj, DefaultArrayListCons ); 571il.Emit( OpCodes.Call, DefaultBaseClsCons );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
271il.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)
476il.Emit(OpCodes.Newobj, havCtor); // invoke the constructor
System.Core (19)
Microsoft\Scripting\Compiler\CompilerScope.cs (3)
318lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(new Type[] { v.Type })); 322lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(new Type[] { v.Type })); 330lc.IL.Emit(OpCodes.Newobj, boxType.GetConstructor(Type.EmptyTypes));
Microsoft\Scripting\Compiler\ILGen.cs (5)
43il.Emit(opcode, (ConstructorInfo)methodBase); 302il.Emit(OpCodes.Newobj, ci); 794il.Emit(OpCodes.Newobj, ci); 815il.Emit(OpCodes.Newobj, ci); 1039il.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)
175gen.Emit(OpCodes.Newobj, ci); 372gen.Emit(OpCodes.Newobj, realType.GetConstructor(new Type[] { elementType }));
System\Data\Objects\Internal\EntityProxyFactory.cs (4)
1001gen.Emit(OpCodes.Newobj, s_InvalidOperationConstructor); 1026gen.Emit(OpCodes.Newobj, s_InvalidOperationConstructor); 1387generator.Emit(OpCodes.Newobj, s_InvalidOperationConstructor); 1674generator.Emit(OpCodes.Call, _serializationConstructor);
System.Data.Linq (11)
SqlClient\Reader\ObjectReaderCompiler.cs (11)
948gen.Emit(OpCodes.Newobj, sn.Constructor); 957gen.Emit(OpCodes.Newobj, ci); 1196gen.Emit(OpCodes.Newobj, ci); 1258gen.Emit(OpCodes.Newobj, ci); 1314gen.Emit(OpCodes.Newobj, ci); 1480gen.Emit(OpCodes.Newobj, ci); 1624gen.Emit(OpCodes.Newobj, ci); 1647gen.Emit(OpCodes.Newobj, ci); 1656gen.Emit(OpCodes.Newobj, ci); 1719gen.Emit(OpCodes.Newobj, ci); 1740gen.Emit(OpCodes.Newobj, ci);
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
591generator.Emit(System.Reflection.Emit.OpCodes.Newobj, emptyConstructor);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
1489this.ilgen.Emit(opcode, constrInfo);
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeGenerator.cs (2)
658ilGen.Emit(OpCodes.Call, ctor); 665ilGen.Emit(OpCodes.Newobj, constructorInfo);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
280ilGen.Emit(OpCodes.Newobj, constructor);
System.Web (3)
Util\FactoryGenerator.cs (1)
164il.Emit(OpCodes.Newobj, cons);
Util\FastDelegateCreator.cs (1)
51ilGen.Emit(OpCodes.Newobj, delegateCtor); // Stack contains (delegate)
Util\FastPropertyAccessor.cs (1)
151il.Emit(OpCodes.Newobj, cons);
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
179il.Emit(OpCodes.Newobj, cons);
System.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (2)
619ilGen.Emit(OpCodes.Call, ctor); 624ilGen.Emit(OpCodes.Newobj, constructorInfo);