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