# HG changeset patch # User cin # Date 1404122122 -14400 # Node ID 653c4e04968b16bc8635ce941831560dcd0f5afb # Parent a809805210d1d574274ebdfa3766b75e28816190 minor changes diff -r a809805210d1 -r 653c4e04968b Implab/Parsing/EnumAlphabet.cs --- 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 _fullAlphabet; + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] static EnumAlphabet() { if (!typeof(T).IsEnum) throw new InvalidOperationException("Invalid generic parameter, enumeration is required"); diff -r a809805210d1 -r 653c4e04968b Implab/Promise.cs --- a/Implab/Promise.cs Wed Jun 25 04:44:53 2014 +0400 +++ b/Implab/Promise.cs Mon Jun 30 13:55:22 2014 +0400 @@ -607,7 +607,7 @@ } } - protected virtual void OnStateChanged() { + void OnStateChanged() { HandlerDescriptor handler; while (m_handlers.TryDequeue(out handler)) InvokeHandler(handler);