Mercurial > pub > ImplabNet
diff Implab/Parsing/EnumAlphabet.cs @ 65:653c4e04968b
minor changes
author | cin |
---|---|
date | Mon, 30 Jun 2014 13:55:22 +0400 |
parents | 21611344d366 |
children | 97fbbf816844 |
line wrap: on
line diff
--- a/Implab/Parsing/EnumAlphabet.cs Wed Jun 25 04:44:53 2014 +0400 +++ b/Implab/Parsing/EnumAlphabet.cs Mon Jun 30 13:55:22 2014 +0400 @@ -16,6 +16,7 @@ static readonly T[] _symbols; static readonly EnumAlphabet<T> _fullAlphabet; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] static EnumAlphabet() { if (!typeof(T).IsEnum) throw new InvalidOperationException("Invalid generic parameter, enumeration is required");