src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add an instruction with a field parameter
/// </summary>
/// <param name="inst">the CIL instruction</param>
/// <param name="f">the field parameter</param>
Add an instruction with a field parameter
Add an instruction with a field parameter
public void FieldInst(FieldOp inst, Field f) {
            Debug.Assert(f != null);
            if (f is FieldDef)
                if (((FieldDef)f).GetScope() != thisMeth.GetScope())
                    throw new DescriptorException();
            AddToBuffer(new FieldInstr(inst,f));
        }
public void FieldInst ( FieldOp inst , Field f ) { Debug . Assert ( f != null ) ; if ( f is FieldDef ) if ( ( ( FieldDef ) f ) . GetScope ( ) != thisMeth . GetScope ( ) ) throw new DescriptorException ( ) ; AddToBuffer ( new FieldInstr ( inst , f ) ) ; }
Add an instruction with a field parameter
Add an instruction with a field parameter
inst
FieldOp
the CIL instruction
the CIL instruction
f
Field
the field parameter
the field parameter