Skip to content

Commit 0e6a56a

Browse files
committed
suppress warning CA1031
1 parent 6be3f3e commit 0e6a56a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/PackageDependencyAssemblyResolver.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ string AssemblyDepsJsonPath
4848

4949
return (context, assemblyDepsJsonPath);
5050
}
51+
#pragma warning disable CA1031
5152
catch (Exception ex) {
5253
logger?.LogError(ex, "dependency configuration file could not be loaded: '{AssemblyDepsJsonPath}'", assemblyDepsJsonPath);
5354

5455
return (null, assemblyDepsJsonPath);
5556
}
57+
#pragma warning restore CA1031
5658
}
5759

5860
public DependencyContext? DependencyContext { get; }

0 commit comments

Comments
 (0)