6 writes to OffsetToken
System.Text.Json (6)
System\Text\Json\JsonHelpers.Date.cs (6)
253parseData.OffsetToken = JsonConstants.UtcOffsetToken; 257parseData.OffsetToken = curByte; 286parseData.OffsetToken = JsonConstants.UtcOffsetToken; 290parseData.OffsetToken = curByte; 344parseData.OffsetToken = JsonConstants.UtcOffsetToken; 348parseData.OffsetToken = curByte;
7 references to OffsetToken
System.Text.Json (7)
System\Text\Json\JsonHelpers.Date.cs (7)
25public bool OffsetNegative => OffsetToken == JsonConstants.Hyphen; 55if (parseData.OffsetToken == JsonConstants.UtcOffsetToken) 59else if (parseData.OffsetToken == JsonConstants.Plus || parseData.OffsetToken == JsonConstants.Hyphen) 88if (parseData.OffsetToken == JsonConstants.UtcOffsetToken || // Same as specifying an offset of "+00:00", except that DateTime's Kind gets set to UTC rather than Local 89parseData.OffsetToken == JsonConstants.Plus || parseData.OffsetToken == JsonConstants.Hyphen)