3 references to TryParse
Aspire.Hosting.Tests (2)
DistributedApplicationTests.cs (2)
1914Assert.True(DateTimeOffset.TryParse(parts[1], out var _), $"Line should have a valid timestamp, but instead we found '{parts[1]}'"); 1919Assert.True(DateTimeOffset.TryParse(parts[0], out var _), $"Line should start with a valid timestamp, but instead we found '{parts[0]}'");
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\DateTimeHelper.cs (1)
18if (DateTimeOffset.TryParse(dateTimeString, out dateTimeOffset))