39 references to CheckLiteralToString
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (39)
Syntax\SyntaxFactoryTests.cs (39)
296CheckLiteralToString("A", @"""A"""); 297CheckLiteralToString("\r", @"""\r"""); 298CheckLiteralToString("\u0007", @"""\a"""); 299CheckLiteralToString("\u000c", @"""\f"""); 300CheckLiteralToString("\u001f", @"""\u001f"""); 303CheckLiteralToString('A', @"'A'"); 304CheckLiteralToString('\r', @"'\r'"); 305CheckLiteralToString('\u0007', @"'\a'"); 306CheckLiteralToString('\u000c', @"'\f'"); 307CheckLiteralToString('\u001f', @"'\u001f'"); 310CheckLiteralToString(byte.MinValue, @"0"); 311CheckLiteralToString(byte.MaxValue, @"255"); 314CheckLiteralToString((sbyte)0, @"0"); 315CheckLiteralToString(sbyte.MinValue, @"-128"); 316CheckLiteralToString(sbyte.MaxValue, @"127"); 319CheckLiteralToString(ushort.MinValue, @"0"); 320CheckLiteralToString(ushort.MaxValue, @"65535"); 323CheckLiteralToString((short)0, @"0"); 324CheckLiteralToString(short.MinValue, @"-32768"); 325CheckLiteralToString(short.MaxValue, @"32767"); 328CheckLiteralToString(uint.MinValue, @"0U"); 329CheckLiteralToString(uint.MaxValue, @"4294967295U"); 332CheckLiteralToString((int)0, @"0"); 333CheckLiteralToString(int.MinValue, @"-2147483648"); 334CheckLiteralToString(int.MaxValue, @"2147483647"); 337CheckLiteralToString(ulong.MinValue, @"0UL"); 338CheckLiteralToString(ulong.MaxValue, @"18446744073709551615UL"); 341CheckLiteralToString((long)0, @"0L"); 342CheckLiteralToString(long.MinValue, @"-9223372036854775808L"); 343CheckLiteralToString(long.MaxValue, @"9223372036854775807L"); 346CheckLiteralToString(0F, @"0F"); 347CheckLiteralToString(0.012345F, @"0.012345F"); 349CheckLiteralToString(float.MaxValue, @"3.40282347E+38F"); 355CheckLiteralToString(0D, @"0"); 356CheckLiteralToString(0.012345D, @"0.012345"); 357CheckLiteralToString(double.MaxValue, @"1.7976931348623157E+308"); 360CheckLiteralToString(0M, @"0M"); 361CheckLiteralToString(0.012345M, @"0.012345M"); 362CheckLiteralToString(decimal.MaxValue, @"79228162514264337593543950335M");