Skip to content

Commit 35bf052

Browse files
committed
fix warning CA1823
1 parent 567604e commit 35bf052

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi/RootCommandImplementation.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public sealed class RootCommandImplementation : ICommandHandler {
4444
}
4545
.ExistingOnly();
4646

47+
#if FEATURE_BUILD_PROJ
4748
private static readonly Option<string?> OptionConfiguration = new(
4849
aliases: new[] { "-c", "--configuration" },
4950
description: "The 'build configuration' option passed to `Build` target when the project will be built.",
@@ -66,6 +67,7 @@ public sealed class RootCommandImplementation : ICommandHandler {
6667
getDefaultValue: static () => null
6768
);
6869
#endif
70+
#endif // FEATURE_BUILD_PROJ
6971
private static readonly Option<DirectoryInfo> OptionOutputDirectory = new(
7072
aliases: new[] { "-o", "--output-directory" },
7173
description: "Path to output directory.",

0 commit comments

Comments
 (0)