46 references to None
mscorlib (17)
system\datetime.cs (4)
1294
return (DateTimeParse.Parse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.
None
));
1302
return (DateTimeParse.Parse(s, DateTimeFormatInfo.GetInstance(provider), DateTimeStyles.
None
));
1315
return (DateTimeParse.ParseExact(s, format, DateTimeFormatInfo.GetInstance(provider), DateTimeStyles.
None
));
1467
return DateTimeParse.TryParse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.
None
, out result);
system\datetimeoffset.cs (4)
596
DateTimeStyles.
None
,
606
return Parse(input, formatProvider, DateTimeStyles.
None
);
624
return ParseExact(input, format, formatProvider, DateTimeStyles.
None
);
732
DateTimeStyles.
None
,
system\runtime\remoting\soapinteroptypes.cs (8)
211
dt = DateTime.ParseExact(time, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
);
465
SoapTime dt = new SoapTime(DateTime.ParseExact(time, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
));
550
return new SoapDate(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
), sign);
634
return new SoapYearMonth(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
), sign);
718
return new SoapYear(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
), sign);
775
return new SoapMonthDay(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
));
832
return new SoapDay(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
));
889
return new SoapMonth(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.
None
));
system\timezoneinfo.cs (1)
3887
if (!DateTime.TryParseExact(token, format, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
, out time)) {
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.IdentityModel (12)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2536
created = DateTime.ParseExact(reader.ReadString(), DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
2543
expires = DateTime.ParseExact(reader.ReadString(), DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1378
DateTime authInstantTime = DateTime.ParseExact(authenticationInstant, DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\IdentityModel\Tokens\SamlAssertion.cs (1)
533
attributeValue, SamlConstants.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
180
authInstance, SamlConstants.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\IdentityModel\Tokens\SamlConditions.cs (2)
116
time, SamlConstants.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
121
time, SamlConstants.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (5)
393
DateTimeStyles.
None
).ToUniversalTime();
1805
attributeValue, DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
1926
time, DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
1933
time, DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
2862
authInstance, DateTimeFormats.Accepted, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System.ServiceModel (4)
System\ServiceModel\Security\WSTrust.cs (2)
384
WSUtilitySpecificationVersion.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
390
WSUtilitySpecificationVersion.AcceptedDateTimeFormats, DateTimeFormatInfo.InvariantInfo, DateTimeStyles.
None
).ToUniversalTime();
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
677
DateTimeStyles.
None
, out localTime))
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
321
(isUtc ? DateTimeStyles.AdjustToUniversal : DateTimeStyles.
None
), out theTime))
System.ServiceModel.Web (1)
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);