16 references to TryParse
PresentationFramework (1)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (1)
534
if (DateTime.
TryParse
((value as string), format, System.Globalization.DateTimeStyles.None, out parsedDate))
System (1)
net\System\Net\cookie.cs (1)
1411
if (DateTime.
TryParse
(CheckQuoted(m_tokenizer.Value),
System.ServiceModel (1)
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
2617
if (DateTime.
TryParse
(value, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AllowWhiteSpaces | DateTimeStyles.AssumeLocal, out modifiedSinceDate))
System.ServiceModel.Web (2)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
116
if (DateTime.
TryParse
(ifModifiedSinceHeaderValue, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.AdjustToUniversal, out ifModifiedSinceDateTime))
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
63
if (DateTime.
TryParse
(dateTime, CultureInfo.InvariantCulture, DateTimeStyles.None, out parsedDateTime))
System.Web (1)
UI\WebControls\basecomparevalidator.cs (1)
465
if (DateTime.
TryParse
(text, CultureInfo.CurrentCulture, DateTimeStyles.None, out date)) {
System.Web.DataVisualization (5)
Common\Converters\AxisConverters.cs (2)
210
bool parseSucceed = DateTime.
TryParse
(stringValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);
426
bool parseSucceed = DateTime.
TryParse
(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate);
Common\Converters\DataManagerConverters.cs (2)
525
if (DateTime.
TryParse
(values[index], CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate))
529
else if (DateTime.
TryParse
(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate))
Common\General\AxisScrollZoom.cs (1)
1753
bool parseSucceed = DateTime.
TryParse
(crossingValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);
System.Windows.Forms.DataVisualization (5)
Common\Converters\AxisConverters.cs (2)
210
bool parseSucceed = DateTime.
TryParse
(stringValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);
426
bool parseSucceed = DateTime.
TryParse
(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate);
Common\Converters\DataManagerConverters.cs (2)
525
if (DateTime.
TryParse
(values[index], CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate))
529
else if (DateTime.
TryParse
(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate))
Common\General\AxisScrollZoom.cs (1)
1753
bool parseSucceed = DateTime.
TryParse
(crossingValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);