Skip to content

Instantly share code, notes, and snippets.

@HellBrick
HellBrick / EnumeratorBenchmark.cs
Last active July 10, 2016 11:08
Enumerator benchmark
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnostics.Windows;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
@HellBrick
HellBrick / TheGreatWeirdness.cs
Last active December 1, 2015 17:56
Constraint weirdness
using System;
using System.Linq;
using System.Linq.Expressions;
namespace TheGreatWeirdness
{
public interface IKeyHolder
{
string Key { get; }
}
@HellBrick
HellBrick / Program.cs
Created November 3, 2015 21:07
Roslyn analyzer test console
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HellBrick.Diagnostics.UnusedReferences;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.MSBuild;