Expose SecurityDescriptor as protected (dotnet/corefx#38283)
authorJeremy Kuhne <jkuhne@microsoft.com>
Thu, 6 Jun 2019 22:16:53 +0000 (15:16 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Jun 2019 22:16:53 +0000 (15:16 -0700)
commita94caf1d0f527f7f351cdc4644bd7aac99f70e88
tree32fc4ac747126f98afa41a91c6040c4a72a5cc91
parent719c045f8233575507977f05b8f6110bd8b08c73
Expose SecurityDescriptor as protected (dotnet/corefx#38283)

* Expose SecurityDescriptor as protected

Classes derived from ObjectSecurity depended on seeing the _securityDescriptor field, which is marked internal. Internal visibility no longer works as types have split into different assemblies and is causing failures, such as dotnet/corefx#35993.

This change also ran the UpdateVSConfigurations target on the changed libraries.

* Address feedback

Commit migrated from https://github.com/dotnet/corefx/commit/7570445805fe57966ff6494fcd582de8b79088a0
src/libraries/System.IO.FileSystem.AccessControl/System.IO.FileSystem.AccessControl.sln
src/libraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj
src/libraries/System.IO.FileSystem.AccessControl/src/System/Security/AccessControl/DirectoryObjectSecurity.cs
src/libraries/System.IO.FileSystem.AccessControl/tests/DirectoryObjectSecurityTests.cs
src/libraries/System.Security.AccessControl/System.Security.AccessControl.sln
src/libraries/System.Security.AccessControl/ref/System.Security.AccessControl.cs
src/libraries/System.Security.AccessControl/src/System/Security/AccessControl/ObjectSecurity.cs
src/libraries/System.Security.AccessControl/tests/System.Security.AccessControl.Tests.csproj