Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ContentCommandBase : CoreCommandWithCredentialsBase, IDisposable
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return Path; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return paths; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = literalChildrenSet,
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down Expand Up @@ -197,7 +197,7 @@ public string[] Path
/// Gets or sets the literal path parameter to the command
/// </summary>
[Parameter(ParameterSetName = "LiteralPath", Mandatory = true, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return paths; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ public string Path
/// </summary>
[Parameter(ParameterSetName = literalPathSet,
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down Expand Up @@ -937,7 +937,7 @@ public string Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down Expand Up @@ -2059,7 +2059,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down Expand Up @@ -2426,7 +2426,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return _paths; }
Expand Down Expand Up @@ -2643,7 +2643,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down Expand Up @@ -3117,7 +3117,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return _paths; }
Expand Down Expand Up @@ -3507,7 +3507,7 @@ public string Path
/// Gets or sets the literal path property
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get { return _path; }
Expand Down Expand Up @@ -3801,7 +3801,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return _paths; }
Expand Down Expand Up @@ -4074,7 +4074,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down Expand Up @@ -4305,7 +4305,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class SplitPathCommand : CoreCommandWithCredentialsBase
/// Gets or sets the literal path parameter to the command
/// </summary>
[Parameter(ParameterSetName = "LiteralPathSet", Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return _paths; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public string Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public string[] Path
/// </summary>
[Parameter(ParameterSetName = "LiteralPath",
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public string[] Path
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Parameter(ParameterSetName = propertyPSObjectLiteralPathSet,
Mandatory = true, ValueFromPipeline = false, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath
{
get { return paths; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public string[] Path
/// The literal path to the source code or DLL to load.
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = FromLiteralPathParameterSetName)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public string Path
/// </summary>
[Parameter()]
[ValidateNotNullOrEmpty]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string LiteralPath
{
Expand Down Expand Up @@ -534,7 +534,7 @@ public String[] Path
/// </summary>
[Parameter(ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public string Path
/// </summary>
///
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get { return _path; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public String Path
/// Literal path of the XML file
/// </summary>
[Parameter(ParameterSetName = "ByLiteralPath", Mandatory = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public String LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed class FormatHex : PSCmdlet
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = "LiteralPath")]
[ValidateNotNullOrEmpty()]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string[] LiteralPath { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public string FilePath
/// mandatory file name to write to
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String[] Path
/// </summary>
/// <value></value>
[Parameter(Mandatory = true, ParameterSetName = LiteralPathParameterSet, Position = 0, ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public String[] LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ImportAliasCommand : PSCmdlet
/// </summary>
///
[Parameter(Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, ParameterSetName = LiteralPathParameterSetName)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ImportPowerShellDataFileCommand : PSCmdlet
/// </summary>
[Parameter(Mandatory = true, Position = 0, ParameterSetName = "ByLiteralPath", ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ public PSObject InputObject
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "LiteralFile")]
[FileinfoToString]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public string[] Path
/// The literal path of the file to unblock
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = "ByLiteralPath", ValueFromPipelineByPropertyName = true)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public sealed class ExportClixmlCommand : PSCmdlet, IDisposable
/// mandatory file name to write to
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down Expand Up @@ -296,7 +296,7 @@ public sealed class ImportClixmlCommand : PSCmdlet, IDisposable
/// mandatory file name to read from
/// </summary>
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public String[] LiteralPath
{
Expand Down Expand Up @@ -825,7 +825,7 @@ public class SelectXmlCommand : PSCmdlet
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "LiteralPath")]
[ValidateNotNullOrEmpty]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public String[] LiteralPath
{
get { return Path; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public string FilePath
/// Literal FilePath parameter
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = "LiteralFile")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public string Path
/// The literal name of the file in which to write the transcript.
/// </summary>
[Parameter(Position = 0, ParameterSetName = "ByLiteralPath")]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[ValidateNotNullOrEmpty]
public string LiteralPath
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public override string FilePath
[Parameter(
Mandatory = true,
ParameterSetName = StartJobCommand.LiteralFilePathComputerNameParameterSet)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
public string LiteralPath
{
get
Expand Down
2 changes: 1 addition & 1 deletion src/System.Management.Automation/help/SaveHelpCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public string[] DestinationPath
/// Specifies the literal path to save updates to
/// </summary>
[Parameter(Mandatory = true, ParameterSetName = LiteralPathParameterSetName)]
[Alias("PSPath")]
[Alias("PSPath","LP")]
[ValidateNotNull]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] LiteralPath
Expand Down
Loading