diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-05 19:24:07 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-06 06:46:05 -0800 |
commit | f9a8d7163be466a018dbed29df0a08cff0e14a39 (patch) | |
tree | 0bf0aec4cc187aa53a91b9eec97f8001fa3bbd57 /samples/OpenIdOfflineProvider/TextBoxTextWriter.cs | |
parent | 79dc070e8ac7e0b58c76d21be7c75f1cf33ef031 (diff) | |
download | DotNetOpenAuth-f9a8d7163be466a018dbed29df0a08cff0e14a39.zip DotNetOpenAuth-f9a8d7163be466a018dbed29df0a08cff0e14a39.tar.gz DotNetOpenAuth-f9a8d7163be466a018dbed29df0a08cff0e14a39.tar.bz2 |
Fixed Code Contract warnings about having protected Invariant methods.
Diffstat (limited to 'samples/OpenIdOfflineProvider/TextBoxTextWriter.cs')
-rw-r--r-- | samples/OpenIdOfflineProvider/TextBoxTextWriter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OpenIdOfflineProvider/TextBoxTextWriter.cs b/samples/OpenIdOfflineProvider/TextBoxTextWriter.cs index 8118986..5319a78 100644 --- a/samples/OpenIdOfflineProvider/TextBoxTextWriter.cs +++ b/samples/OpenIdOfflineProvider/TextBoxTextWriter.cs @@ -71,7 +71,7 @@ namespace DotNetOpenAuth.OpenIdOfflineProvider { /// Verifies conditions that should be true for any valid state of this object. /// </summary> [ContractInvariantMethod] - protected void ObjectInvariant() { + private void ObjectInvariant() { Contract.Invariant(this.Box != null); } |