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