public static ICorDebugFunction Wrap(Interop.CorDebug.ICorDebugFunction objectToWrap) { if ((objectToWrap != null)) { return new ICorDebugFunction(objectToWrap); } else { return null; } }
public ICorDebugFunction(Interop.CorDebug.ICorDebugFunction wrappedObject) { this.wrappedObject = wrappedObject; ResourceManager.TrackCOMObject(wrappedObject, typeof(ICorDebugFunction)); }