diff options
Diffstat (limited to 'src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs b/src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs index c382716..fd960d3 100644 --- a/src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs +++ b/src/DotNetOpenAuth.Core.UI/ComponentModel/SuggestedStringsConverter.cs @@ -11,12 +11,12 @@ namespace DotNetOpenAuth.ComponentModel { using System.Diagnostics.Contracts; using System.Linq; using System.Reflection; + using Validation; /// <summary> /// A type that generates suggested strings for Intellisense, /// but doesn't actually convert between strings and other types. /// </summary> - [ContractClass(typeof(SuggestedStringsConverterContract))] public abstract class SuggestedStringsConverter : ConverterBase<string> { /// <summary> /// Initializes a new instance of the <see cref="SuggestedStringsConverter"/> class. @@ -37,7 +37,6 @@ namespace DotNetOpenAuth.ComponentModel { /// <returns>A collection of values.</returns> internal static ICollection GetStandardValuesForCacheShared(Type type) { Requires.NotNull(type, "type"); - Contract.Ensures(Contract.Result<ICollection>() != null); var fields = from field in type.GetFields(BindingFlags.Static | BindingFlags.Public) select field.GetValue(null); |