10 references to TryParse
Microsoft.AspNetCore.Components (1)
Routing\UrlValueConstraint.cs (1)
54
=> double.
TryParse
(str, NumberStyles.Number, CultureInfo.InvariantCulture, out result);
Microsoft.Maui.Graphics (1)
Color.cs (1)
1025
double.
TryParse
(
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\DsesFilterAndTransform.cs (1)
256
|| !double.
TryParse
(suffixPart.Slice(c_ParentRatioSamplerPrefix.Length, endingLocation - c_ParentRatioSamplerPrefix.Length), NumberStyles.Float, CultureInfo.InvariantCulture, out double ratio))
System.Net.Http (1)
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (1)
162
if (!double.
TryParse
(input.AsSpan(current, qualityLength), NumberStyles.AllowDecimalPoint,
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
417
public static bool TryParse(ReadOnlySpan<char> s, out double result) =>
TryParse
(s, NumberStyles.Float | NumberStyles.AllowThousands, provider: null, out result);
1786
public static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out double result) =>
TryParse
(s, NumberStyles.Float | NumberStyles.AllowThousands, provider, out result);
System.Private.Xml (2)
System\Xml\XmlConvert.cs (2)
1035
if (!double.
TryParse
(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result))
1060
if (double.
TryParse
(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out double d))
System.Runtime.Numerics (2)
System\Numerics\Complex.cs (2)
2116
if (!double.
TryParse
(s.Slice(openBracket + 1, semicolon - openBracket - 1), style, provider, out double real))
2129
if (!double.
TryParse
(s.Slice(semicolon + 1, closeBracket - semicolon - 1), style, provider, out double imaginary))