Every property accessor in this class has duplicate code to calculate the fully qualified path to one of the two PowerShellProperties.json files. This logic should be moved to the constructor and exposed via internal or private accessors.
Environment data
PSVersion 6.0.0-beta.8
PSEdition Core
GitCommitId v6.0.0-beta.8-67-gca2630a3dea6420a3cd3914c84a74c1c45311f54
OS Microsoft Windows 10.0.17017
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Every property accessor in this class has duplicate code to calculate the fully qualified path to one of the two PowerShellProperties.json files. This logic should be moved to the constructor and exposed via internal or private accessors.
Environment data
PSVersion 6.0.0-beta.8
PSEdition Core
GitCommitId v6.0.0-beta.8-67-gca2630a3dea6420a3cd3914c84a74c1c45311f54
OS Microsoft Windows 10.0.17017
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0