public static object GetInstance(MagickErrorInfo obj)
 {
     if (ReferenceEquals(obj, null))
     {
         return(null);
     }
     return(obj._Instance);
 }
        public static object GetInstance(object obj)
        {
            if (ReferenceEquals(obj, null))
            {
                return(null);
            }
            MagickErrorInfo casted = obj as MagickErrorInfo;

            if (ReferenceEquals(casted, null))
            {
                return(obj);
            }
            return(casted._Instance);
        }
		public static object GetInstance(MagickErrorInfo obj)
		{
			if (ReferenceEquals(obj, null))
				return null;
			return obj._Instance;
		}