Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Threading;
using System.Threading.Tasks.Dataflow;
namespace QueueCute.DataflowStuff
{
public class DataflowProcessor<T>
{
private static readonly ExecutionDataflowBlockOptions ExecutionOptions = new ExecutionDataflowBlockOptions
{
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 14
Processing received element in thread 16
Processing received element in thread 11
Processing received element in thread 16
Processing received element in thread 11
Processing received element in thread 11
Processing received element in thread 11
Processing received element in thread 11
Processing received element in thread 11
Processing received element in thread 11
Processing received element in thread 11
void Main()
{
var tree = CSharpSyntaxTree.ParseText(@"
namespace ConsoleApplication1
{
partial class MyClass
{
public int MyProperty { get; private set; }
public MyClass()
I've enabled normal logging and RDP'd into the instance. You can find the build report here: https://ci.appveyor.com/project/Vannevelj/vsdiagnostics/build/1.8.627
When I look at the folder structure at the end of the build, I can see that is laid out like this:
\packages\VSDiagnostics\1.9.3\
\lib\
\portable\
VSdiagnostics.dll
\tools\
install.ps1
Severity Code Description Project Suppression State
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. VSDiagnostics
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. VSDiagnostics.Test
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. VSDiagnostics.Vsix
Severity Code Description Project Suppression State
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. VSDiagnostics
Warning The primary reference "Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5". VSDiagnostics.Test
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyze
Severity Code Description Project Suppression State
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. VSDiagnostics
Warning The primary reference "Microsoft.CodeAnalysis.Workspaces.Desktop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5". VSDiagnostics.Test
Warning Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyze
internal static void Execute()
{
var source = @"
using static System.IO.FileOptions;
namespace ConsoleApplication1
{
class MyClass
{
void Method()
public class Domain
{
public event EventHandler<MyArgs> MyEvent;
public void Invoke()
{
var sw = new Stopwatch();
sw.Start();
Console.WriteLine($"{sw.ElapsedMilliseconds}: Entering delay");
while (sw.ElapsedMilliseconds < 5000)