CSharpFactory.NumericLiteralExpression Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
NumericLiteralExpression(Decimal)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(decimal value)
Parameters
value Decimal
Returns
NumericLiteralExpression(Double)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(double value)
Parameters
value Double
Returns
NumericLiteralExpression(Int32)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(int value)
Parameters
value Int32
Returns
NumericLiteralExpression(Int64)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(long value)
Parameters
value Int64
Returns
NumericLiteralExpression(SByte)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(sbyte value)
Parameters
value SByte
Returns
NumericLiteralExpression(Single)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(float value)
Parameters
value Single
Returns
NumericLiteralExpression(UInt32)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(uint value)
Parameters
value UInt32
Returns
NumericLiteralExpression(UInt64)
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax NumericLiteralExpression(ulong value)
Parameters
value UInt64