Skip to content

Commit 39bf16a

Browse files
committed
Removed redundant optimization hint
1 parent 3cfea13 commit 39bf16a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/DotNext.Threading/Threading/Tasks/ValueTaskCompletionSource.T.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public ValueTaskCompletionSource(bool runContinuationsAsynchronously = true)
3939
/// </summary>
4040
/// <param name="value">The value to be returned to the consumer.</param>
4141
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
42-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
4342
public bool TrySetResult(T value)
4443
=> TrySetResult(null, value);
4544

src/DotNext.Threading/Threading/Tasks/ValueTaskCompletionSource.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public bool TrySetException(object? completionData, short completionToken, Excep
140140
/// Attempts to complete the task successfully.
141141
/// </summary>
142142
/// <returns><see langword="true"/> if the result is completed successfully; <see langword="false"/> if the task has been canceled or timed out.</returns>
143-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
144143
public bool TrySetResult()
145144
=> TrySetResult(null);
146145

0 commit comments

Comments
 (0)