mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-21 09:35:47 +08:00
Add global usings (#668)
* Use global usings * Fix namespace declarations for test projects
This commit is contained in:
12
test/Spectre.Console.Analyzer.Tests/CodeAnalyzerHelper.cs
Normal file
12
test/Spectre.Console.Analyzer.Tests/CodeAnalyzerHelper.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Spectre.Console.Analyzer.Tests;
|
||||
|
||||
internal static class CodeAnalyzerHelper
|
||||
{
|
||||
internal static ReferenceAssemblies CurrentSpectre { get; }
|
||||
|
||||
static CodeAnalyzerHelper()
|
||||
{
|
||||
CurrentSpectre = ReferenceAssemblies.Net.Net50.AddAssemblies(
|
||||
ImmutableArray.Create(typeof(AnsiConsole).Assembly.Location.Replace(".dll", string.Empty)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user