8 references to Parse
Microsoft.AspNetCore.Authentication.Test (2)
JwtBearerTests.cs (1)
1003
var elementValueUtc = DateTime.
Parse
(expiresElement.GetString(), CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal);
JwtBearerTests_Handler.cs (1)
947
var elementValueUtc = DateTime.
Parse
(expiresElement.GetString(), CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\DateTimeModelBinder.cs (1)
67
model = DateTime.
Parse
(value, valueProviderResult.Culture, _supportedStyles);
System.Private.Xml.Linq (4)
System\Xml\Linq\XAttribute.cs (2)
554
return DateTime.
Parse
(attribute.value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind);
571
return DateTime.
Parse
(attribute.value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind);
System\Xml\Linq\XElement.cs (2)
1711
return DateTime.
Parse
(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind);
1731
return DateTime.
Parse
(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind);
System.Xaml (1)
System\Windows\Markup\DateTimeValueSerializer.cs (1)
54
return DateTime.
Parse
(value, DateTimeFormatInfo.InvariantInfo, DateTimeStyles);