Skip to content

Commit bce35e2

Browse files
committed
suppress warning CA1031
1 parent 08688b1 commit bce35e2

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public override bool Execute()
8282
logger: new LoggerAdapter(Log, inputAssemblyFilePath)
8383
);
8484
}
85+
#pragma warning disable CA1031
8586
catch (Exception ex) {
8687
Log.LogErrorFromException(
8788
exception: ex,
@@ -92,6 +93,7 @@ public override bool Execute()
9293

9394
continue;
9495
}
96+
#pragma warning restore CA1031
9597

9698
Log.LogMessage(MessageImportance.High, $"{inputAssemblyFilePath} -> {outputApiListFilePath}");
9799

0 commit comments

Comments
 (0)