When defining ConsoleAppFilterAttribute above CommandAttribute, the following error occurs in the generator:
warning CS8785: Generator 'ConsoleAppGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'IndexOutOfRangeException' with message 'Index was outside the bounds of the array.'
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Case without problem:
public class MyClass()
{
[Command("nomunomu")]
[ConsoleAppFilter<NopFilter>]
public void Do()
{
Console.Write("command");
}
}
Case that causes an error:
public class MyClass()
{
[ConsoleAppFilter<NopFilter>]
[Command("nomunomu")]
public void Do()
{
Console.Write("command");
}
}
When defining ConsoleAppFilterAttribute above CommandAttribute, the following error occurs in the generator:
Case without problem:
Case that causes an error: