3 writes to _provider
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (3)
57_provider = null; 70_provider = provider; 84_provider = provider;
8 references to _provider
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (8)
41/// <summary>Whether <see cref="_provider"/> provides an ICustomFormatter.</summary> 282while (!((ISpanFormattable)value).TryFormat(_chars.Slice(_pos), out charsWritten, default, _provider)) // constrained call avoiding boxing for value types 291s = ((IFormattable)value).ToString(format: null, _provider); // constrained call avoiding boxing for value types 349while (!((ISpanFormattable)value).TryFormat(_chars.Slice(_pos), out charsWritten, format, _provider)) // constrained call avoiding boxing for value types 358s = ((IFormattable)value).ToString(format, _provider); // constrained call avoiding boxing for value types 544Debug.Assert(_provider != null); 546ICustomFormatter? formatter = (ICustomFormatter?)_provider.GetFormat(typeof(ICustomFormatter)); 549if (formatter is not null && formatter.Format(format, value, _provider) is string customFormatted)