- https://github.com/DustinCampbell/RoslynNUnitLight
- https://github.com/DustinCampbell/CSharpEssentials
- https://github.com/Wintellect/Wintellect.Analyzers
- http://www.wintellect.com/devcenter/jrobbins/more-wintellect-analyzers-and-some-lessons-learned-writing-roslyn-analyzers
- https://msdn.microsoft.com/en-US/library/2b8dee02-55fc-430b-9047-523c8e943032
- https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.CodeAnalysis/
- http://blogs.msdn.com/b/csharpfaq/archive/2015/05/01/roslyn-ships-v1.0-rc2-with-go-live-license.aspx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
class Program | |
{ | |
static void Main() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
class Program | |
{ | |
static void Main() | |
{ | |
Util.Method(() => ActionMethod()); | |
Util.Method(ActionMethod); // Error CS0121 The call is ambiguous between the following methods or properties: 'Util.Method(Action)' and 'Util.Method(Func<Task>)' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using static System.Console; | |
using static System.ConsoleColor; | |
namespace CUI | |
{ | |
public class ConsoleApplication<TScreen> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel; | |
using System.Linq; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Attributes.Exporters; | |
using BenchmarkDotNet.Running; | |
[MemoryDiagnoser] | |
[MarkdownExporter] | |
public class PropertyChangedArgBenchmarks | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SimpleConfig | |
{ | |
static string configFilePath; | |
public static void InitializeInLocalApplicationData(string name) | |
{ | |
Initialize(Path.Combine( | |
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), | |
name, | |
"config.xml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net462</TargetFramework> | |
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | |
<DebugType>full</DebugType> | |
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | |
</PropertyGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Runtime.CompilerServices; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Unity.Jobs; | |
public static class JobHelper | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Unity.Entities; | |
using Unity.Jobs; | |
public abstract class CompositeParallelJobSystem<T1, T2> : JobComponentSystem | |
where T1 : struct, IJobParallelFor | |
where T2 : struct, IJobParallelFor | |
{ | |
protected ComponentGroup group; | |
protected abstract ComponentGroup CreateGroup(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"recommendations": [ | |
"saviorisdead.theme-githubcleanwhite", | |
"evilz.vscode-reveal" | |
] | |
} |