Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetConstantValueSuffix()

static string System.Linq.Expressions.DebugViewWriter.GetConstantValueSuffix ( Type type)
inlinestaticprivate

Definition at line 516 of file DebugViewWriter.cs.

517 {
518 if (type == typeof(uint))
519 {
520 return "U";
521 }
522 if (type == typeof(long))
523 {
524 return "L";
525 }
526 if (type == typeof(ulong))
527 {
528 return "UL";
529 }
530 if (type == typeof(double))
531 {
532 return "D";
533 }
534 if (type == typeof(float))
535 {
536 return "F";
537 }
538 if (type == typeof(decimal))
539 {
540 return "M";
541 }
542 return null;
543 }

References System.type.

Referenced by System.Linq.Expressions.DebugViewWriter.VisitConstant().