27 references to AllowExponent
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (4)
1137float f = Single.Parse(s, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo); 1158else if (!Single.TryParse(s, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) 1178double dVal = Double.Parse(s, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent | NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 1199else if (!Double.TryParse(s, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result))
Microsoft.CodeAnalysis.CSharp (1)
Parser\Lexer.cs (1)
1275if (!decimal.TryParse(text, NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, CultureInfo.InvariantCulture, out result))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTests.cs (1)
10839if (decimal.TryParse("0E1", System.Globalization.NumberStyles.AllowExponent, null, out d))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\LexicalTests.cs (1)
1913if (decimal.TryParse("0E1", System.Globalization.NumberStyles.AllowExponent, null, out d))
Microsoft.CodeAnalysis.VisualBasic (1)
Scanner\Scanner.vb (1)
2154Return Decimal.TryParse(text, NumberStyles.AllowDecimalPoint Or NumberStyles.AllowExponent, CultureInfo.InvariantCulture, value)
Microsoft.ML.Transforms (2)
Expression\Lexer.cs (2)
374double dbl = double.Parse(_sb.ToString(), NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent); 385double dbl = double.Parse(_sb.ToString(), NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent);
Microsoft.VisualBasic.Core (6)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (3)
1500NumberStyles.AllowExponent Or 1890NumberStyles.AllowExponent Or 1943NumberStyles.AllowExponent Or
Microsoft\VisualBasic\CompilerServices\DecimalType.vb (1)
123NumberStyles.AllowExponent Or
Microsoft\VisualBasic\CompilerServices\DoubleType.vb (2)
146NumberStyles.AllowExponent Or 202NumberStyles.AllowExponent Or
System.Private.CoreLib (4)
src\libraries\Common\src\System\Number.Parsing.Common.cs (1)
172if ((ch == 'E' || ch == 'e') && ((styles & NumberStyles.AllowExponent) != 0))
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (1)
806| NumberStyles.AllowThousands | NumberStyles.AllowExponent
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberStyles.cs (2)
74AllowDecimalPoint | AllowExponent, 80AllowParentheses | AllowDecimalPoint | AllowThousands | AllowCurrencySymbol | AllowExponent,
System.Private.Xml (4)
System\Xml\XmlConvert.cs (4)
966float f = float.Parse(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo); 988if (!float.TryParse(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) 1013double dVal = double.Parse(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent | NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 1035if (!double.TryParse(value, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result))
System.Runtime.Numerics (3)
src\libraries\Common\src\System\Number.Parsing.Common.cs (1)
172if ((ch == 'E' || ch == 'e') && ((styles & NumberStyles.AllowExponent) != 0))
System\Number.BigInteger.cs (1)
24| NumberStyles.AllowThousands | NumberStyles.AllowExponent
System\Numerics\Complex.cs (1)
30| NumberStyles.AllowThousands | NumberStyles.AllowExponent