// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //////////////////////////////////////////////////////////////////////////////// #ifndef _COMMETHODRENTAL_H_ #define _COMMETHODRENTAL_H_ #include "excep.h" #include "fcall.h" #ifdef FEATURE_METHOD_RENTAL // COMMethodRental // This class implements SwapMethodBody for our MethodRenting story class COMMethodRental { public: // COMMethodRental.SwapMethodBody -- this function will swap an existing method body with // a new method body // static void QCALLTYPE SwapMethodBody(EnregisteredTypeHandle cls, INT32 tkMethod, LPVOID rgMethod, INT32 iSize, INT32 flags, QCall::StackCrawlMarkHandle stackMark); }; #endif // FEATURE_METHOD_RENTAL #endif //_COMMETHODRENTAL_H_