Skip to content
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

[Documentation] System.Security.Permissions.SecurityPermissionAttribute is not in System.Runtime.dll #10919

Open
idigra opened this issue Feb 6, 2025 · 2 comments
Labels
area-System.Security Issues related to security practices for .NET developers. untriaged New issue has not been triaged by the area owner

Comments

@idigra
Copy link

idigra commented Feb 6, 2025

Type of issue

Missing information

Description

Following a linkage issue I had and the documentation, I looked for System.Security.Permissions.SecurityPermissionAttribute in System.Runtime.dll but failed to find it there (as well as in the more expected file System.Security.Permissions.dll).

Based on the position in the repo - https://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Security/Permissions/SecurityPermissionAttribute.cs
I looked for it in System.Private.CoreLib.dll, and indeed found it there.

(.NET version is 8).

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.security.permissions.securitypermissionattribute?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Security.Permissions/SecurityPermissionAttribute.xml

Document Version Independent Id

65cc006f-3ba1-e727-afd8-9f88c171df21

Article author

@dotnet-bot

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 6, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-System.Security Issues related to security practices for .NET developers. label Feb 6, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones

@gewarren
Copy link
Contributor

@idigra It is in the System.Runtime.dll 8.0.0.0 reference assembly:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Security Issues related to security practices for .NET developers. untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants