コード例 #1
0
        } // Save

        internal static ConstantInt32ValueHandle AsHandle(ConstantInt32Value record)
        {
            if (record == null)
            {
                return new ConstantInt32ValueHandle(0);
            }
            else
            {
                return record.Handle;
            }
        } // AsHandle
コード例 #2
0
        } // Write

        public static void Write(this NativeWriter writer, ConstantInt32Value record)
        {
            if (record != null)
                writer.WriteUnsigned((uint)record.Handle.Offset);
            else
                writer.WriteUnsigned(0);
        } // Write