Created
September 27, 2020 17:48
-
-
Save DvdKhl/38263724d15695e92b8cffd4287a2b4d to your computer and use it in GitHub Desktop.
RecordDebugStackoverflow
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.Immutable; | |
//.NET 5 RC1 / Visual Studio 2019 Preview (Version 16.8.0 Preview 3.1) | |
//1. Set breakpoint on Console.WriteLine | |
//2. Start debugging | |
//3. Hover ActiveModuleSet with mouse | |
namespace RecordDebugStackoverflow { | |
class Program { | |
public record ModuleManifest(string Name, Version Version); | |
public record ModuleSet(ImmutableArray<ModuleManifest> Manifests) { | |
public static ModuleSet Empty { get; } = new ModuleSet(ImmutableArray<ModuleManifest>.Empty); | |
} | |
public static ModuleSet ActiveModuleSet { get; private set; } = ModuleSet.Empty; | |
static void Main(string[] args) { | |
Console.WriteLine("Hello World!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment