-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SuppressLinkerWarningAttribute #35339
Labels
api-approved
API was approved in API review, it can be implemented
area-System.Runtime
linkable-framework
Issues associated with delivering a linker friendly framework
Milestone
Comments
MichalStrehovsky
added
the
linkable-framework
Issues associated with delivering a linker friendly framework
label
Apr 23, 2020
Dotnet-GitSync-Bot
added
area-System.Runtime
untriaged
New issue has not been triaged by the area owner
labels
Apr 23, 2020
Cc @vitek-karas |
terrajobst
added
api-approved
API was approved in API review, it can be implemented
area-System.Runtime
and removed
area-System.Runtime
labels
Apr 23, 2020
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class UnconditionalSuppressMessageAttribute : Attribute
{
// Same API as SuppressMessageAttribute
}
} |
eerhardt
added a commit
to eerhardt/runtime
that referenced
this issue
Apr 24, 2020
DynamicallyAccessedMembersAttribute DynamicDependencyAttribute UnconditionalSuppressMessageAttribute Fix dotnet#33861, dotnet#35339, dotnet#30902
eerhardt
added a commit
that referenced
this issue
Apr 28, 2020
Closed in #35387. |
ghost
locked as resolved and limited conversation to collaborators
Dec 9, 2020
tannergooding
removed
the
untriaged
New issue has not been triaged by the area owner
label
Jun 24, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
api-approved
API was approved in API review, it can be implemented
area-System.Runtime
linkable-framework
Issues associated with delivering a linker friendly framework
This is in support of dotnet/linker#988 - see the spec there for motivation.
We need a way to selectively suppress warnings about linker-unfriendly patterns.
This attribute is largely inspired by SuppressMessageAttribute (that unfortunately cannot be used because it's marked
[Conditional]
under a condition that we wouldn't expect to enable when the linker runs).The text was updated successfully, but these errors were encountered: