dotnet / dotnet/dotnet-api-docs

FileSystemSecurity for .Net 8 points to File.GetAccessControl for .Net 4.8.1

Open
#9,641 1 comment 0 reactions 0 assignees View on GitHub
area-System.IO Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

FileSystemSecurity for .Net 8 points to File.GetAccessControl for getting an instance of FileSystemSecurity. But the File.GetAccessControl doesn't exist for .Net 8. It only exists for .Net Framework.

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

https://learn.microsoft.com/en-us/dotnet/api/system.io.file.getaccesscontrol?view=net-8.0

Contributor guide

Open the contributing guide

Research direction

Compare the FileSystemSecurity page with the linked File.GetAccessControl page for the net-8.0 view, focusing on the guidance for obtaining a FileSystemSecurity instance. Update the API documentation so its .NET 8 guidance does not reference an unavailable method, then verify the resulting links and framework-specific wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.