Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress IL3000 in MsQuicApi constructor (#109965)
A call to `Assembly.Location` was added in a recent fix. It has `IL30000` suppressed via `#pragma warning disable`, but that only applies to the compilation of the library itself. Consumers will hit it when doing something like publishing their app as NativeAOT. This change adds an `[UnconditionalSuppressMessage]` to the `MsQuicApi` static constructor such that `IL30000` should also be suppressed for apps consuming the runtime. This was caught in an aspnetcore deps flow PR coming from runtime. Co-authored-by: Elinor Fung <[email protected]>
- Loading branch information