We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5930916 commit 5835057Copy full SHA for 5835057
src/Microsoft.OpenApi/Writers/FormattingStreamWriter.cs
@@ -19,12 +19,13 @@ public class FormattingStreamWriter : StreamWriter
19
public FormattingStreamWriter(Stream stream, IFormatProvider formatProvider)
20
: base(stream)
21
{
22
- this.FormatProvider = formatProvider;
+ _formatProvider = formatProvider;
23
}
24
+ private readonly IFormatProvider _formatProvider;
25
26
/// <summary>
27
/// The <see cref="IFormatProvider"/> associated with this <see cref="FormattingStreamWriter"/>.
28
/// </summary>
- public override IFormatProvider FormatProvider { get; }
29
+ public override IFormatProvider FormatProvider { get => _formatProvider; }
30
31
0 commit comments