38 references to TryParse
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
1204
if (!double.
TryParse
(stateString, NumberStyles.Float, CultureInfo.InvariantCulture, out percentage))
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
1204
if (!double.
TryParse
(stateString, NumberStyles.Float, CultureInfo.InvariantCulture, out percentage))
fx\src\data\System\Data\Filter\ConstNode.cs (2)
115
if (Double.
TryParse
(sval, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.InvariantInfo, out r8)) {
174
if (Double.
TryParse
(sval, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.InvariantInfo, out r8)) {
System.Data.Entity (3)
System\Data\Common\EntitySql\AST\Literal.cs (2)
323
if (!Double.
TryParse
(numberPart, NumberStyles.Float, CultureInfo.InvariantCulture, out value))
349
if (!Double.
TryParse
(numericString, NumberStyles.Float, CultureInfo.InvariantCulture, out value))
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
191
if (!Double.
TryParse
(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out temp))
System.Data.Services (1)
System\Data\Services\Serializers\JsonReader.cs (1)
353
else if (Double.
TryParse
(s, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out doubleValue))
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryModel.cs (1)
575
if (double.
TryParse
(val,
System.Web (4)
httpserverutility.cs (1)
1548
return Double.
TryParse
(value, flags, CultureInfo.InvariantCulture, out doubleValue);
OutputCacheModule.cs (1)
446
if (Double.
TryParse
(s, NumberStyles.Float & ~NumberStyles.AllowLeadingSign & ~NumberStyles.AllowExponent, CultureInfo.InvariantCulture, out d)) {
UI\WebParts\AppearanceEditorPart.cs (2)
103
if (Double.
TryParse
(_height.Value, NumberStyles.Float | NumberStyles.AllowThousands,
135
if (Double.
TryParse
(_width.Value, NumberStyles.Float| NumberStyles.AllowThousands,
System.Web.DataVisualization (11)
Common\ChartTypes\BoxPlotChart.cs (2)
1662
bool parseSucceed = double.
TryParse
(boxPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
1680
bool parseSucceed = double.
TryParse
(boxWhiskerPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
Common\ChartTypes\ErrorBarChart.cs (1)
1663
if (!double.
TryParse
(typeName, NumberStyles.Any, CultureInfo.InvariantCulture, out param))
Common\ChartTypes\KagiChart.cs (2)
298
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent);
311
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount);
Common\ChartTypes\PieChart.cs (1)
294
bool parseSucceed = double.
TryParse
(series[CustomPropertyName.CollectedThreshold], NumberStyles.Any, CultureInfo.InvariantCulture, out t);
Common\ChartTypes\PointAndFigureChart.cs (3)
388
parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent);
398
parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out b);
470
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount);
Common\General\CommonElements.cs (2)
297
bool parseSucceed = double.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
300
double.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
System.Web.Extensions (1)
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
261
if (Double.
TryParse
(input, NumberStyles.Float, CultureInfo.InvariantCulture, out d)) {
System.Windows.Forms.DataVisualization (11)
Common\ChartTypes\BoxPlotChart.cs (2)
1662
bool parseSucceed = double.
TryParse
(boxPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
1680
bool parseSucceed = double.
TryParse
(boxWhiskerPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
Common\ChartTypes\ErrorBarChart.cs (1)
1663
if (!double.
TryParse
(typeName, NumberStyles.Any, CultureInfo.InvariantCulture, out param))
Common\ChartTypes\KagiChart.cs (2)
298
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent);
311
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount);
Common\ChartTypes\PieChart.cs (1)
294
bool parseSucceed = double.
TryParse
(series[CustomPropertyName.CollectedThreshold], NumberStyles.Any, CultureInfo.InvariantCulture, out t);
Common\ChartTypes\PointAndFigureChart.cs (3)
388
parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent);
398
parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out b);
470
bool parseSucceed = double.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount);
Common\General\CommonElements.cs (2)
297
bool parseSucceed = double.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
300
double.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
System.Xml (2)
System\Xml\XmlConvert.cs (2)
1093
else if (!Double.
TryParse
(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) {
1110
if (Double.
TryParse
(str, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out d)) {