add: Template Define
This commit is contained in:
@@ -24,13 +24,9 @@ public abstract class PoloniumTask : Task
|
||||
if (argument.Expression is LiteralExpressionSyntax literal)
|
||||
{
|
||||
if (literal.Kind() == SyntaxKind.TrueLiteralExpression)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (literal.Kind() == SyntaxKind.FalseLiteralExpression)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user