7 writes to _offsetMinutes
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (7)
77_offsetMinutes = validOffsetMinutes; 95_offsetMinutes = ValidateOffset(offset); 100_offsetMinutes = 0; 124_offsetMinutes = ValidateOffset(offset); 143_offsetMinutes = ValidateOffset(offset); 178_offsetMinutes = ValidateOffset(offset); 639_offsetMinutes = (short)info.GetValue("OffsetMinutes", typeof(short))!; // Do not rename (binary serialization)
7 references to _offsetMinutes
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (7)
349private DateTime ClockDateTime => DateTime.CreateUnchecked(UtcTicks + _offsetMinutes * TimeSpan.TicksPerMinute); 414public TimeSpan Offset => new TimeSpan(_offsetMinutes * TimeSpan.TicksPerMinute); 419public int TotalOffsetMinutes => _offsetMinutes; 533private DateTimeOffset Add(DateTime dateTime) => new DateTimeOffset(_offsetMinutes, ValidateDate(dateTime, Offset)); 571public bool EqualsExact(DateTimeOffset other) => UtcTicks == other.UtcTicks && _offsetMinutes == other._offsetMinutes; 631info.AddValue("OffsetMinutes", (short)_offsetMinutes); // Do not rename (binary serialization)