Python.Runtime.ExceptionOffset.Size C# (CSharp) Метод

Size() публичный статический Метод

public static Size ( ) : int
Результат int
        public static int Size()
        {
            return ob_data + IntPtr.Size;
        }

Usage Example

Пример #1
0
        private static int BaseOffset(IntPtr type)
        {
            Debug.Assert(type != IntPtr.Zero);
            int typeSize = Marshal.ReadInt32(type, TypeOffset.tp_basicsize);

            Debug.Assert(typeSize > 0 && typeSize <= ExceptionOffset.Size());
            return(typeSize);
        }
All Usage Examples Of Python.Runtime.ExceptionOffset::Size