@@ -16,6 +16,7 namespace Implab.Parsing { | |||
|
16 | 16 | static readonly T[] _symbols; |
|
17 | 17 | static readonly EnumAlphabet<T> _fullAlphabet; |
|
18 | 18 | |
|
19 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] | |
|
19 | 20 | static EnumAlphabet() { |
|
20 | 21 | if (!typeof(T).IsEnum) |
|
21 | 22 | throw new InvalidOperationException("Invalid generic parameter, enumeration is required"); |
General Comments 0
You need to be logged in to leave comments.
Login now