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 @@ -2154,12 +2154,11 @@ internal class CimSessionProxyNewCimInstance : CimSessionProxy

/// <summary>
/// Initializes a new instance of the <see cref="CimSessionProxyNewCimInstance"/> class.
/// <summary>
/// </summary>
/// <remarks>
/// Create <see cref="CimSession"/> by given computer name.
/// Then create wrapper object.
/// </remarks>
/// <param name="computerName"></param>
public CimSessionProxyNewCimInstance(string computerName, CimNewCimInstance operation)
: base(computerName)
{
Expand All @@ -2169,6 +2168,7 @@ public CimSessionProxyNewCimInstance(string computerName, CimNewCimInstance oper
/// <summary>
/// Initializes a new instance of the <see cref="CimSessionProxyNewCimInstance"/> class.
/// </summary>
/// <param name="computerName"></param>
/// <remarks>
/// Create <see cref="CimSession"/> by given computer name
/// and session options.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3325,9 +3325,9 @@ public enum AdminPasswordStatus
[SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification = "The underlying MOF definition does not contain a zero value. The converter method will handle it appropriately.")]
public enum BootOptionAction
{
// <summary>
// This value is reserved
// </summary>
// <summary>
// This value is reserved
// </summary>
// Reserved = 0,

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,18 +528,18 @@ public SwitchParameter IncludeUserName

private bool _includeUserName = false;

///<summary>
/// <summary>
/// To display the modules of a process.
///</summary>
/// </summary>
[Parameter(ParameterSetName = NameParameterSet)]
[Parameter(ParameterSetName = IdParameterSet)]
[Parameter(ParameterSetName = InputObjectParameterSet)]
[ValidateNotNull]
public SwitchParameter Module { get; set; }

///<summary>
/// <summary>
/// To display the fileversioninfo of the main module of a process.
///</summary>
/// </summary>
[Parameter(ParameterSetName = NameParameterSet)]
[Parameter(ParameterSetName = IdParameterSet)]
[Parameter(ParameterSetName = InputObjectParameterSet)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2961,20 +2961,20 @@ internal static ServiceStartupType GetServiceStartupType(ServiceStartMode startM
#endregion NativeMethods

#region ServiceStartupType
///<summary>
///Enum for usage with StartupType. Automatic, Manual and Disabled index matched from System.ServiceProcess.ServiceStartMode
///</summary>
/// <summary>
/// Enum for usage with StartupType. Automatic, Manual and Disabled index matched from System.ServiceProcess.ServiceStartMode
/// </summary>
public enum ServiceStartupType
{
///<summary>Invalid service</summary>
/// <summary>Invalid service</summary>
InvalidValue = -1,
///<summary>Automatic service</summary>
/// <summary>Automatic service</summary>
Automatic = 2,
///<summary>Manual service</summary>
/// <summary>Manual service</summary>
Manual = 3,
///<summary>Disabled service</summary>
/// <summary>Disabled service</summary>
Disabled = 4,
///<summary>Automatic (Delayed Start) service</summary>
/// <summary>Automatic (Delayed Start) service</summary>
AutomaticDelayedStart = 10
}
#endregion ServiceStartupType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ internal void RaiseOperationCompleteEvent(EventArgs baseEventArgs, OperationStat
OperationComplete.SafeInvoke(this, operationStateEventArgs);
}

///<summary>
/// <summary>
/// Raise WMI state changed event
///</summary>
/// </summary>
internal void RaiseWmiOperationState(EventArgs baseEventArgs, WmiState state)
{
WmiJobStateEventArgs wmiJobStateEventArgs = new WmiJobStateEventArgs();
Expand Down Expand Up @@ -992,16 +992,16 @@ private void ConnectGetWMI()
}
}

///<summary>
/// <summary>
/// Event which will be triggered when WMI state is changed.
/// Currently it is to notify Jobs that state has changed to running.
/// Other states are notified via OperationComplete.
///</summary>
/// </summary>
internal sealed class WmiJobStateEventArgs : EventArgs
{
///<summary>
/// <summary>
/// WMI state
///</summary>
/// </summary>
internal WmiState WmiState { get; set; }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public abstract class BaseCsvWritingCommand : PSCmdlet
[ValidateNotNull]
public char Delimiter { get; set; }

///<summary>
///Culture switch for csv conversion
///</summary>
/// <summary>
/// Culture switch for csv conversion
/// </summary>
[Parameter(ParameterSetName = "UseCulture")]
public SwitchParameter UseCulture { get; set; }

Expand Down Expand Up @@ -586,9 +586,9 @@ public string[] LiteralPath
[ValidateNotNull]
public SwitchParameter UseCulture { get; set; }

///<summary>
/// <summary>
/// Gets or sets header property to customize the names.
///</summary>
/// </summary>
[Parameter(Mandatory = false)]
[ValidateNotNullOrEmpty]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
Expand Down Expand Up @@ -785,9 +785,9 @@ public sealed class ConvertFromCsvCommand : PSCmdlet
[ValidateNotNullOrEmpty]
public char Delimiter { get; set; }

///<summary>
///Culture switch for csv conversion
///</summary>
/// <summary>
/// Culture switch for csv conversion
/// </summary>
[Parameter(ParameterSetName = "UseCulture", Mandatory = true)]
[ValidateNotNull]
[ValidateNotNullOrEmpty]
Expand All @@ -802,9 +802,9 @@ public sealed class ConvertFromCsvCommand : PSCmdlet
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public PSObject[] InputObject { get; set; }

///<summary>
/// <summary>
/// Gets or sets header property to customize the names.
///</summary>
/// </summary>
[Parameter(Mandatory = false)]
[ValidateNotNull]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ public enum BreakpointType
/// <summary>Breakpoint on a line within a script</summary>
Line,

/// <summary>
/// Breakpoint on a variable</summary>
/// <summary>Breakpoint on a variable</summary>
Variable,

/// <summary>Breakpoint on a command</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ internal int Compare(ObjectCommandPropertyValue first, ObjectCommandPropertyValu
/// </param>
/// <returns>
/// 0 if they are the same, less than 0 if first is smaller, more than 0 if first is greater.
///</returns>
/// </returns>
public int Compare(object first, object second)
{
// This method will never throw exceptions, two null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,9 @@ internal void Import()
}

#region Select-Xml
///<summary>
///This cmdlet is used to search an xml document based on the XPath Query.
///</summary>
/// <summary>
/// This cmdlet is used to search an xml document based on the XPath Query.
/// </summary>
[Cmdlet(VerbsCommon.Select, "Xml", DefaultParameterSetName = "Xml", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097031")]
[OutputType(typeof(SelectXmlInfo))]
public class SelectXmlCommand : PSCmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private static bool BreakIntoDebugger()
/// if true, then flag the parent ConsoleHost that it should shutdown the session. If false, then only the current
/// executing instance is stopped.
///
///</param>
/// </param>
private static void SpinUpBreakHandlerThread(bool shouldEndSession)
{
ConsoleHost host = ConsoleHost.SingletonInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public override SecureString ReadLineAsSecureString()
/// the advantage is portability through abstraction. Does not support
/// arrow key movement, but supports backspace.
/// </summary>
///<param name="isSecureString">
/// <param name="isSecureString">
/// True to specify reading a SecureString; false reading a string
/// </param>
/// <param name="printToken">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ internal override
/// <returns>
/// The number of nodes that were made invisible during the compression.
///
///</returns>
/// </returns>
private
int
CompressToFit(PSHostRawUserInterface rawUi, int maxHeight, int maxWidth)
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.PowerShell.ConsoleHost/host/msh/ProgressPane.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.PowerShell
/// ProgressPane is a class that represents the "window" in which outstanding activities for which the host has received
/// progress updates are shown.
///
///</summary>
/// </summary>
internal
class ProgressPane
{
Expand All @@ -37,7 +37,7 @@ class ProgressPane
/// <value>
/// true if the pane is visible, false if not.
///
///</value>
/// </value>
internal
bool
IsShowing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ protected override void MoveItem(
/// <param name="path">
/// The path of the certificate store to create.
/// </param>
///<param name="type">
/// <param name="type">
/// Ignored.
/// Only support store.
/// </param>
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.WSMan.Management/ConfigProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5059,9 +5059,9 @@ private static ArrayList ProcessPluginSecurityLevel(ArrayList arrSecurity, XmlDo
/// <param name="ResourceURI">Resource URI for the XML.</param>
/// <param name="host">Name of the Host.</param>
/// <param name="Operation">Type of Operation.</param>
///<param name="resources">List of Resources.</param>
///<param name="securities">List of Securities</param>
///<param name="initParams">List of initialization parameters.</param>
/// <param name="resources">List of Resources.</param>
/// <param name="securities">List of Securities</param>
/// <param name="initParams">List of initialization parameters.</param>
/// <returns>An Configuration XML, ready to send to server.</returns>
private static string ConstructPluginXml(PSObject objinputparam, string ResourceURI, string host, string Operation, ArrayList resources, ArrayList securities, ArrayList initParams)
{
Expand Down
2 changes: 1 addition & 1 deletion src/System.Management.Automation/CoreCLR/CorePsStub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ internal static bool IsClassInApprovedList(Guid clsid)
/// </summary>
/// <param name="filePath">Script file path for policy check.</param>
/// <param name="fileStream">FileStream object to script file path.</param>
/// <retruns>Policy check result for script file.</returns>
/// <returns>Policy check result for script file.</returns>
public static SystemScriptFileEnforcement GetFilePolicyEnforcement(
string filePath,
System.IO.FileStream fileStream)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1601,8 +1601,8 @@ public static void LoadDefaultCimKeywords(Collection<Exception> errors)

/// <summary>
/// Load the default system CIM classes and create the corresponding keywords.
/// <param name="functionsToDefine">A dictionary to add the defined functions to, may be null.</param>
/// </summary>
/// <param name="functionsToDefine">A dictionary to add the defined functions to, may be null.</param>
public static void LoadDefaultCimKeywords(Dictionary<string, ScriptBlock> functionsToDefine)
{
LoadDefaultCimKeywords(functionsToDefine, null, null, false);
Expand Down
8 changes: 4 additions & 4 deletions src/System.Management.Automation/engine/CoreAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3920,11 +3920,11 @@ protected override ConsolidatedString GetInternedTypeNameHierarchy(object obj)
/// <summary>
/// Get the .NET member based on the given member name.
/// </summary>
/// <remark>
/// <remarks>
/// Dynamic members of an object that implements IDynamicMetaObjectProvider are not included because
/// 1. Dynamic members cannot be invoked via reflection;
/// 2. Access to dynamic members is handled by the DLR for free.
/// </remark>
/// </remarks>
/// <param name="obj">Object to retrieve the PSMemberInfo from.</param>
/// <param name="memberName">Name of the member to be retrieved.</param>
/// <returns>
Expand Down Expand Up @@ -3957,10 +3957,10 @@ protected override T GetFirstMemberOrDefault<T>(object obj, MemberNamePredicate
/// In the case of the DirectoryEntry adapter, this could be a cache of the objectClass
/// to the properties available in it.
/// </summary>
/// <remark>
/// <remarks>
/// Dynamic members of an object that implements IDynamicMetaObjectProvider are included because
/// we want to view the dynamic members via 'Get-Member' and be able to auto-complete those members.
/// </remark>
/// </remarks>
/// <param name="obj">Object to get all the member information from.</param>
/// <returns>All members in obj.</returns>
protected override PSMemberInfoInternalCollection<T> GetMembers<T>(object obj)
Expand Down
Loading