System.Reflection.Emit.ILGenerator.EmitStarg(Variable)

Here are the examples of the csharp api System.Reflection.Emit.ILGenerator.EmitStarg(Variable) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : EmitExtensions.cs
with GNU Affero General Public License v3.0
from cc004

public static void EmitSt(this ILGenerator il, Variable v)
		{
			switch (v.VarType)
			{
			case VariableType.Arg:
				il.EmitStarg(v);
				break;
			case VariableType.Local:
				il.EmitStloc(v);
				break;
			default:
				throw new ArgumentException();
			}
		}