src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add an instruction with a method parameter
/// </summary>
/// <param name="inst">the CIL instruction</param>
/// <param name="m">the method parameter</param>
Add an instruction with a method parameter
Add an instruction with a method parameter
public void MethInst(MethodOp inst, Method m) {
            Debug.Assert(m != null);
            if (m is MethodDef)
                if (((MethodDef)m).GetScope() != thisMeth.GetScope())
                    throw new DescriptorException();
            AddToBuffer(new MethInstr(inst,m));
        }
public void MethInst ( MethodOp inst , Method m ) { Debug . Assert ( m != null ) ; if ( m is MethodDef ) if ( ( ( MethodDef ) m ) . GetScope ( ) != thisMeth . GetScope ( ) ) throw new DescriptorException ( ) ; AddToBuffer ( new MethInstr ( inst , m ) ) ; }
Add an instruction with a method parameter
Add an instruction with a method parameter
inst
MethodOp
the CIL instruction
the CIL instruction
m
Method
the method parameter
the method parameter