diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-08-11 19:50:05 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-08-11 19:50:05 -0700 |
commit | 7de6a163291e0cb1f2854cf8ac2b65a3a1c07e95 (patch) | |
tree | 171391b94d73de18eba8c35bc221986445276783 /src | |
parent | 9cc2e42c9d4cdb2811822fac80928a3dc5687822 (diff) | |
download | DotNetOpenAuth-7de6a163291e0cb1f2854cf8ac2b65a3a1c07e95.zip DotNetOpenAuth-7de6a163291e0cb1f2854cf8ac2b65a3a1c07e95.tar.gz DotNetOpenAuth-7de6a163291e0cb1f2854cf8ac2b65a3a1c07e95.tar.bz2 |
Fixed StyleCop error.
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.")] |