Skip to content

Commit

Permalink
Suppress additional warning CA1416 (#2784)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Dec 19, 2022
1 parent 9a5859c commit 349a9cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public virtual PackageMatchFilter CreatePackageMatchFilter()
return Create<PackageMatchFilter>(PackageMatchFilterType, PackageMatchFilterIid);
}

[System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "COM only usage.")]
private static T Create<T>(Type type, in Guid iid)
{
object instance = null;
Expand Down

0 comments on commit 349a9cb

Please sign in to comment.