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

◆ ToString()

override string System.Linq.Expressions.Interpreter.DebugInfo.ToString ( )
inline

Definition at line 56 of file DebugInfo.cs.

57 {
58 IFormatProvider invariantCulture;
59 if (IsClear)
60 {
62 IFormatProvider provider = invariantCulture;
64 handler.AppendFormatted(Index);
65 handler.AppendLiteral(": clear");
66 return string.Create(provider, ref handler);
67 }
69 IFormatProvider provider2 = invariantCulture;
71 handler2.AppendFormatted(Index);
72 handler2.AppendLiteral(": [");
73 handler2.AppendFormatted(StartLine);
74 handler2.AppendLiteral("-");
75 handler2.AppendFormatted(EndLine);
76 handler2.AppendLiteral("] '");
77 handler2.AppendFormatted(FileName);
78 handler2.AppendLiteral("'");
79 return string.Create(provider2, ref handler2);
80 }
static CultureInfo InvariantCulture

References System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted(), System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendLiteral(), System.Linq.Expressions.Interpreter.DebugInfo.EndLine, System.Linq.Expressions.Interpreter.DebugInfo.FileName, System.Globalization.CultureInfo.InvariantCulture, System.Linq.Expressions.Interpreter.DebugInfo.IsClear, and System.Linq.Expressions.Interpreter.DebugInfo.StartLine.