From 9802ac83a588884276005b16001e724ea97c653e Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Sat, 8 Apr 2017 17:37:38 +0100 Subject: [PATCH] Adding public ValidRootDrives property to ValidateDrive --- src/System.Management.Automation/engine/Attributes.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/System.Management.Automation/engine/Attributes.cs b/src/System.Management.Automation/engine/Attributes.cs index 44d4fc02bf2..d0ae9f601e9 100644 --- a/src/System.Management.Automation/engine/Attributes.cs +++ b/src/System.Management.Automation/engine/Attributes.cs @@ -1468,6 +1468,17 @@ public class ValidateDriveAttribute : ValidateArgumentsAttribute { private string[] _validRootDrives; + /// + /// Gets the values in the set + /// + public IList ValidRootDrives + { + get + { + return _validRootDrives; + } + } + /// /// Initializes a new instance of the ValidateDrivePath class ///