Добавьте файлы проекта.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Microsoft.CodeAnalysis;
|
||||
|
||||
namespace Telegrator.Analyzers
|
||||
{
|
||||
public static class DiagnosticsHelper
|
||||
{
|
||||
public const string Aspect = "Aspect";
|
||||
|
||||
public static readonly DiagnosticDescriptor Test = new DiagnosticDescriptor("TR0001", "Test descriptor", string.Empty, Aspect, DiagnosticSeverity.Error, true, "Test diagnostic description.");
|
||||
|
||||
public static Diagnostic Create(this DiagnosticDescriptor descriptor, Location? location, params object[] messageArgs)
|
||||
=> Diagnostic.Create(descriptor, location, messageArgs);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user