using System; using System.Runtime.InteropServices; namespace System.Runtime.CompilerServices { /// Persists an 8-byte constant for a field or parameter. // Token: 0x02000297 RID: 663 [ComVisible(true)] [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited = false)] [Serializable] public sealed class DateTimeConstantAttribute : CustomConstantAttribute { /// Initializes a new instance of the DateTimeConstantAttribute class with the number of 100-nanosecond ticks that represent the date and time of this instance. /// The number of 100-nanosecond ticks that represent the date and time of this instance. // Token: 0x060020E7 RID: 8423 RVA: 0x00078BB4 File Offset: 0x00076DB4 public DateTimeConstantAttribute(long ticks) { this.ticks = ticks; } // Token: 0x1700062C RID: 1580 // (get) Token: 0x060020E8 RID: 8424 RVA: 0x00078BC4 File Offset: 0x00076DC4 internal long Ticks { get { return this.ticks; } } /// Gets the number of 100-nanosecond ticks that represent the date and time of this instance. /// The number of 100-nanosecond ticks that represent the date and time of this instance. // Token: 0x1700062D RID: 1581 // (get) Token: 0x060020E9 RID: 8425 RVA: 0x00078BCC File Offset: 0x00076DCC public override object Value { get { return this.ticks; } } // Token: 0x04000BC5 RID: 3013 private long ticks; } }