6 references to TryParse
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1137
if (DateTimeOffset.
TryParse
(value, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AllowWhiteSpaces | DateTimeStyles.AssumeLocal, out modifiedSinceDate))
Microsoft.AspNetCore.Components (2)
BindConverter.cs (2)
1354
else if (format == null && DateTimeOffset.
TryParse
(text, culture ?? CultureInfo.CurrentCulture, DateTimeStyles.None, out converted))
1383
else if (format == null && DateTimeOffset.
TryParse
(text, culture ?? CultureInfo.CurrentCulture, DateTimeStyles.None, out converted))
Microsoft.ML.Data (1)
Data\Conversion.cs (1)
1443
if (DateTimeOffset.
TryParse
(src.ToString(), CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal, out dst))
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
1034
public static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out DateTimeOffset result) =>
TryParse
(s, provider, DateTimeStyles.None, out result);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1252
if (DateTimeOffset.
TryParse
(value, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AllowWhiteSpaces | DateTimeStyles.AssumeLocal, out modifiedSinceDate))