We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b0f6e1 + d09a861 commit e31cef3Copy full SHA for e31cef3
1 file changed
StyleCop.Analyzers/StyleCopTester/Program.cs
@@ -41,6 +41,11 @@ private static void Main(string[] args)
41
cts.Cancel();
42
};
43
44
+ // Since Console apps do not have a SyncronizationContext, we're leveraging the built-in support
45
+ // in WPF to pump the messages via the Dispatcher.
46
+ // See the following for additional details:
47
+ // http://blogs.msdn.com/b/pfxteam/archive/2012/01/21/10259307.aspx
48
+ // https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/1362
49
SynchronizationContext previousContext = SynchronizationContext.Current;
50
try
51
{
0 commit comments