2 instantiations of FormatParam
System.Console (2)
System\TermInfo.cs (2)
438return new FormatParam(value); 444return new FormatParam(value);
27 references to FormatParam
System.Console (27)
System\TermInfo.cs (27)
18private static Stack<FormatParam>? t_cachedStack; 22private static FormatParam[]? t_cachedOneElementArgsArray; 26private static FormatParam[]? t_cachedTwoElementArgsArray; 32public static string Evaluate(string format, FormatParam arg) 34FormatParam[] args = t_cachedOneElementArgsArray ??= new FormatParam[1]; 46public static string Evaluate(string format, FormatParam arg1, FormatParam arg2) 48FormatParam[] args = t_cachedTwoElementArgsArray ??= new FormatParam[2]; 60public static string Evaluate(string format, params FormatParam[] args) 66Stack<FormatParam>? stack = t_cachedStack; 69t_cachedStack = stack = new Stack<FormatParam>(); 79FormatParam[]? dynamicVars = null, staticVars = null; 101string format, ref int pos, FormatParam[] args, Stack<FormatParam> stack, 102ref FormatParam[]? dynamicVars, ref FormatParam[]? staticVars) 207FormatParam[] targetVars = GetDynamicOrStaticVariables(format[pos], ref dynamicVars, ref staticVars, out setIndex); 213FormatParam[] sourceVars = GetDynamicOrStaticVariables(format[pos], ref dynamicVars, ref staticVars, out getIndex); 390private static FormatParam[] GetDynamicOrStaticVariables( 391char c, ref FormatParam[]? dynamicVars, ref FormatParam[]? staticVars, out int index) 396return staticVars ??= new FormatParam[26]; // one slot for each letter of alphabet 401return dynamicVars ??= new FormatParam[26]; // one slot for each letter of alphabet 436public static implicit operator FormatParam(int value) 442public static implicit operator FormatParam(string? value)