public static HLNewDelegateInstruction Create(HLMethod pMethod, HLType pNewDelegateType, HLLocation pDestinationSource, HLLocation pInstanceSource, HLMethod pMethodCalled, bool pVirtual)
 {
     HLNewDelegateInstruction instruction = new HLNewDelegateInstruction(pMethod);
     instruction.mNewDelegateType = pNewDelegateType;
     instruction.mDestinationSource = pDestinationSource;
     instruction.mInstanceSource = pInstanceSource;
     instruction.mMethodCalled = pMethodCalled;
     instruction.mVirtual = pVirtual;
     return instruction;
 }
Пример #2
0
        public static HLNewDelegateInstruction Create(HLMethod pMethod, HLType pNewDelegateType, HLLocation pDestinationSource, HLLocation pInstanceSource, HLMethod pMethodCalled, bool pVirtual)
        {
            HLNewDelegateInstruction instruction = new HLNewDelegateInstruction(pMethod);

            instruction.mNewDelegateType   = pNewDelegateType;
            instruction.mDestinationSource = pDestinationSource;
            instruction.mInstanceSource    = pInstanceSource;
            instruction.mMethodCalled      = pMethodCalled;
            instruction.mVirtual           = pVirtual;
            return(instruction);
        }