diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-08-08 21:38:14 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-08-09 17:23:42 +0300 |
commit | 15963fe836efb1dee1b581dc393300df7256e6df (patch) | |
tree | f8aa52e69f80a405609dc70e1416e8f626fc21e0 /netcore | |
parent | 4ce53c845bdd900aa90f46f8c3675e2b0010c692 (diff) |
Fix StyleCop warning SA1617 (void return XML comment)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore')
4 files changed, 0 insertions, 10 deletions
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs index bcd737ee9d6..daa59133264 100644 --- a/netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs +++ b/netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/TaskAwaiter.cs @@ -463,7 +463,6 @@ namespace System.Runtime.CompilerServices } /// <summary>Ends the await on the completed <see cref="System.Threading.Tasks.Task"/>.</summary> - /// <returns>The result of the completed <see cref="System.Threading.Tasks.Task{TResult}"/>.</returns> /// <exception cref="System.NullReferenceException">The awaiter was not properly initialized.</exception> /// <exception cref="System.Threading.Tasks.TaskCanceledException">The task was canceled.</exception> /// <exception cref="System.Exception">The task completed in a Faulted state.</exception> diff --git a/netcore/System.Private.CoreLib/shared/System/String.Manipulation.cs b/netcore/System.Private.CoreLib/shared/System/String.Manipulation.cs index 564fca0dcd9..4ccb37ebdb4 100644 --- a/netcore/System.Private.CoreLib/shared/System/String.Manipulation.cs +++ b/netcore/System.Private.CoreLib/shared/System/String.Manipulation.cs @@ -1499,7 +1499,6 @@ namespace System /// </summary> /// <param name="separators"><see cref="ReadOnlySpan{T}"/> of separator chars</param> /// <param name="sepListBuilder"><see cref="ValueListBuilder{T}"/> to store indexes</param> - /// <returns></returns> private void MakeSeparatorList(ReadOnlySpan<char> separators, ref ValueListBuilder<int> sepListBuilder) { char sep0, sep1, sep2; @@ -1582,7 +1581,6 @@ namespace System /// </summary> /// <param name="separator">separator string</param> /// <param name="sepListBuilder"><see cref="ValueListBuilder{T}"/> to store indexes</param> - /// <returns></returns> private void MakeSeparatorList(string separator, ref ValueListBuilder<int> sepListBuilder) { Debug.Assert(!IsNullOrEmpty(separator), "!string.IsNullOrEmpty(separator)"); diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs index 7792c116b49..b50ec8cd9ce 100644 --- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs +++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Task.cs @@ -4647,10 +4647,6 @@ namespace System.Threading.Tasks /// <summary> /// Waits for all of the provided <see cref="Task"/> objects to complete execution. /// </summary> - /// <returns> - /// true if all of the <see cref="Task"/> instances completed execution within the allotted time; - /// otherwise, false. - /// </returns> /// <param name="tasks"> /// An array of <see cref="Task"/> instances on which to wait. /// </param> diff --git a/netcore/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs b/netcore/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs index 925460637d7..db5d76be23f 100644 --- a/netcore/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs +++ b/netcore/System.Private.CoreLib/shared/System/TimeZoneInfo.Unix.cs @@ -1276,9 +1276,6 @@ namespace System /// <summary> /// Parses a string like Jn or n into month and day values. /// </summary> - /// <returns> - /// true if the parsing succeeded; otherwise, false. - /// </returns> private static void TZif_ParseJulianDay(ReadOnlySpan<char> date, out int month, out int day) { // Jn |