Skip to content

Commit 08688b1

Browse files
committed
suppress warning CA1819
1 parent db56b64 commit 08688b1

File tree

1 file changed

+4
-0
lines changed
  • src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks

1 file changed

+4
-0
lines changed

src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiList.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks;
1616

1717
public class GenerateApiList : Task {
18+
#pragma warning disable CA1819
1819
[Required]
1920
public ITaskItem[]? Assemblies { get; set; }
21+
#pragma warning restore CA1819
2022

2123
public bool GenerateLanguagePrimitiveType { get; set; } = true;
2224
public bool GenerateFullTypeName { get; set; }
@@ -30,8 +32,10 @@ public class GenerateApiList : Task {
3032
public bool GenerateEmbeddedResources { get; set; } = true;
3133
public bool GenerateReferencedAssemblies { get; set; } = true;
3234

35+
#pragma warning disable CA1819
3336
[Output]
3437
public ITaskItem[]? GeneratedFiles { get; private set; }
38+
#pragma warning restore CA1819
3539

3640
private const string DefaultOutputFileExtension = ".apilist.cs";
3741
private const bool LoadIntoReflectionOnlyContextDefault =

0 commit comments

Comments
 (0)