EmitDup() public méthode

Emit 'dup' instruction with specified arguments.
public EmitDup ( ) : void
Résultat void
		private static void EmitNewDelegate( TracingILGenerator il, Type targetType, MethodInfo method, Action<TracingILGenerator> loadTargetEmitting, Type delegateType )
		{
			loadTargetEmitting( il );
			if ( targetType.IsValueType )
			{
				il.EmitBox( targetType );
			}

			if ( method.IsStatic || method.IsFinal || !method.IsVirtual )
			{
				il.EmitLdftn( method );
			}
			else
			{
				il.EmitDup();
				il.EmitLdvirtftn( method );
			}

			il.EmitNewobj( delegateType.GetConstructor( _delegateConstructorParameterTypes ) );
		}