summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdOfflineProvider/TextBoxTextWriter.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-01-05 19:24:07 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-01-06 06:46:05 -0800
commitf9a8d7163be466a018dbed29df0a08cff0e14a39 (patch)
tree0bf0aec4cc187aa53a91b9eec97f8001fa3bbd57 /samples/OpenIdOfflineProvider/TextBoxTextWriter.cs
parent79dc070e8ac7e0b58c76d21be7c75f1cf33ef031 (diff)
downloadDotNetOpenAuth-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.cs2
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);
}