diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/Reporting.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth/Reporting.cs b/src/DotNetOpenAuth/Reporting.cs index 9f104fe..2f93416 100644 --- a/src/DotNetOpenAuth/Reporting.cs +++ b/src/DotNetOpenAuth/Reporting.cs @@ -32,6 +32,11 @@ namespace DotNetOpenAuth { /// </summary> public static class Reporting { /// <summary> + /// A UTF8 encoder that doesn't emit the preamble. Used for mid-stream writers. + /// </summary> + private static readonly Encoding Utf8NoPreamble = new UTF8Encoding(false); + + /// <summary> /// A value indicating whether reporting is desirable or not. Must be logical-AND'd with !<see cref="broken"/>. /// </summary> private static bool enabled; @@ -107,11 +112,6 @@ namespace DotNetOpenAuth { private static DateTime lastPublished = DateTime.Now; /// <summary> - /// A UTF8 encoder that doesn't emit the preamble. Used for mid-stream writers. - /// </summary> - private static readonly Encoding Utf8NoPreamble = new UTF8Encoding(false); - - /// <summary> /// Initializes static members of the <see cref="Reporting"/> class. /// </summary> [SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline", Justification = "We do more than field initialization here.")] |