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 @@ -943,7 +943,7 @@ public CimResponseType PromptUser(string message, CimPromptType prompt)

/// <summary>
/// <para>
/// Handle async event triggered by <see cref="CimResultObserver<T>"/>
/// Handle async event triggered by <see cref="CimResultObserver{T}"/>
/// </para>
/// </summary>
/// <param name="observer">Object triggered the event.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1387,9 +1387,9 @@ private void StopDependentService(Process process)

/// <summary>
/// Stops the given process throws non terminating error if can't.
/// <param name="process" >Process to be stopped.</param>
/// <returns>True if process stopped successfully else false.</returns>
/// </summary>
/// <param name="process">Process to be stopped.</param>
/// <returns>True if process stopped successfully else false.</returns>
private void StopProcess(Process process)
{
Exception exception = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public CircularBuffer(int capacity)
/// <param name="zeroBasedIndex">The index to wrap.</param>
/// <exception cref="ArgumentOutOfRangeException">If <paramref name="zeroBasedIndex" /> is out of range.</exception>
/// <returns>
/// The actual index that <param ref="zeroBasedIndex" />
/// The actual index that <paramref name="zeroBasedIndex" />
/// maps to.
/// </returns>
private int WrapIndex(int zeroBasedIndex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ protected override void ProcessRecord()
/// Analyze an object on a property-by-property basis instead
/// of as a simple value.
/// Side effects: Updates statistics.
/// <param name="inObj">The object to analyze.</param>
/// </summary>
/// <param name="inObj">The object to analyze.</param>
private void AnalyzeObjectProperties(PSObject inObj)
{
// Keep track of which properties are counted for an
Expand Down Expand Up @@ -556,9 +556,9 @@ private void AnalyzeObjectProperties(PSObject inObj)
/// <summary>
/// Analyze a value for generic/text statistics.
/// Side effects: Updates statistics. May set nonNumericError.
/// </summary>
/// <param name="propertyName">The property this value corresponds to.</param>
/// <param name="objValue">The value to analyze.</param>
/// </summary>
private void AnalyzeValue(string propertyName, object objValue)
{
if (propertyName == null)
Expand Down Expand Up @@ -746,9 +746,9 @@ internal static int CountLine(string inStr)

/// <summary>
/// Update text statistics.
/// </summary>
/// <param name="strValue">The text to analyze.</param>
/// <param name="stat">The Statistics object to update.</param>
/// </summary>
private void AnalyzeString(string strValue, Statistics stat)
{
if (_measureCharacters)
Expand All @@ -761,9 +761,9 @@ private void AnalyzeString(string strValue, Statistics stat)

/// <summary>
/// Update number statistics.
/// </summary>
/// <param name="numValue">The number to analyze.</param>
/// <param name="stat">The Statistics object to update.</param>
/// </summary>
private void AnalyzeNumber(double numValue, Statistics stat)
{
if (_measureSum || _measureAverage || _measureStandardDeviation)
Expand Down Expand Up @@ -852,10 +852,10 @@ protected override void EndProcessing()

/// <summary>
/// Create a MeasureInfo object for generic stats.
/// <param name="stat">The statistics to use.</param>
/// <returns>A new GenericMeasureInfo object.</returns>
/// </summary>
/// <param name="stat">The statistics to use.</param>
/// <param name="shouldUseGenericMeasureInfo"></param>
/// <returns>A new GenericMeasureInfo object.</returns>
private MeasureInfo CreateGenericMeasureInfo(Statistics stat, bool shouldUseGenericMeasureInfo)
{
double? sum = null;
Expand Down Expand Up @@ -940,9 +940,9 @@ private MeasureInfo CreateGenericMeasureInfo(Statistics stat, bool shouldUseGene

/// <summary>
/// Create a MeasureInfo object for text stats.
/// </summary>
/// <param name="stat">The statistics to use.</param>
/// <returns>A new TextMeasureInfo object.</returns>
/// </summary>
private TextMeasureInfo CreateTextMeasureInfo(Statistics stat)
{
TextMeasureInfo tmi = new TextMeasureInfo();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,7 @@ private void AddMultipartContent(object fieldName, object fieldValue, MultipartF
}

/// <summary>
/// Gets a <see cref="StringContent" /> from the supplied field name and field value. Uses <see cref="ConvertTo<T>(object)" /> to convert the objects to strings.
/// Gets a <see cref="StringContent" /> from the supplied field name and field value. Uses <see cref="LanguagePrimitives.ConvertTo{T}(object)" /> to convert the objects to strings.
/// </summary>
/// <param name="fieldName">The Field Name to use for the <see cref="StringContent" /></param>
/// <param name="fieldValue">The Field Value to use for the <see cref="StringContent" /></param>
Expand All @@ -1929,7 +1929,7 @@ private StringContent GetMultipartStringContent(object fieldName, object fieldVa
}

/// <summary>
/// Gets a <see cref="StreamContent" /> from the supplied field name and <see cref="Stream" />. Uses <see cref="ConvertTo<T>(object)" /> to convert the fieldname to a string.
/// Gets a <see cref="StreamContent" /> from the supplied field name and <see cref="Stream" />. Uses <see cref="LanguagePrimitives.ConvertTo{T}(object)" /> to convert the fieldname to a string.
/// </summary>
/// <param name="fieldName">The Field Name to use for the <see cref="StreamContent" /></param>
/// <param name="stream">The <see cref="Stream" /> to use for the <see cref="StreamContent" /></param>
Expand Down
8 changes: 4 additions & 4 deletions src/System.Management.Automation/engine/hostifaces/History.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1897,10 +1897,10 @@ private void ClearHistoryByCmdLine()

/// <summary>
/// Clears the session history based on the input parameter
/// <param name="id" >Id of the entry to be cleared.</param>
/// <param name="count" >Count of entries to be cleared.</param>
/// <param name="cmdline" >Cmdline string to be cleared.</param>
/// <param name="newest" >Order of the entries.</param>
/// <param name="id">Id of the entry to be cleared.</param>
/// <param name="count">Count of entries to be cleared.</param>
/// <param name="cmdline">Cmdline string to be cleared.</param>
/// <param name="newest">Order of the entries.</param>
/// <returns>Nothing.</returns>
/// </summary>
private void ClearHistoryEntries(long id, int count, string cmdline, SwitchParameter newest)
Expand Down