24 references to TryParse
System.Data.Entity (2)
System\Data\Common\EntitySql\AST\Literal.cs (1)
301
if (!Single.
TryParse
(numberPart, NumberStyles.Float, CultureInfo.InvariantCulture, out value))
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
315
if (!Single.
TryParse
(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out temp))
System.Web.DataVisualization (10)
Common\ChartTypes\FastLineChart.cs (1)
287
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FastPointChart.cs (1)
288
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FunnelChart.cs (4)
2272
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out pointHeight);
2388
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out w);
2407
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out h);
2450
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out gs);
Common\ChartTypes\PieChart.cs (2)
710
bool parseSucceed = float.
TryParse
(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle);
1220
bool parseSucceed = float.
TryParse
(point["InsideLabelOffset"], NumberStyles.Any, CultureInfo.InvariantCulture, out positionRatio);
Common\General\CommonElements.cs (2)
315
bool parseSucceed = float.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
319
float.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (1)
228
if (!float.
TryParse
(floatString, NumberStyles.Float, CultureInfo.InvariantCulture.NumberFormat, out width)) {
System.Windows.Forms.DataVisualization (10)
Common\ChartTypes\FastLineChart.cs (1)
287
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FastPointChart.cs (1)
288
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FunnelChart.cs (4)
2272
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out pointHeight);
2388
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out w);
2407
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out h);
2450
bool parseSucceed = float.
TryParse
(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out gs);
Common\ChartTypes\PieChart.cs (2)
710
bool parseSucceed = float.
TryParse
(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle);
1220
bool parseSucceed = float.
TryParse
(point["InsideLabelOffset"], NumberStyles.Any, CultureInfo.InvariantCulture, out positionRatio);
Common\General\CommonElements.cs (2)
315
bool parseSucceed = float.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result);
319
float.
TryParse
(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
System.Xml (1)
System\Xml\XmlConvert.cs (1)
1057
else if (!Single.
TryParse
(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) {