4 writes to _obj
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (4)
494
_obj
= null;
510
_obj
= task;
528
_obj
= source;
543
_obj
= obj;
26 references to _obj
System.Private.CoreLib (26)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.CoreCLR.cs (1)
545
object? obj = valueTask.
_obj
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.cs (2)
171
object? obj = task.
_obj
;
362
object? obj = task.
_obj
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs (3)
167
object? obj = _value.
_obj
;
189
object? obj = _value.
_obj
;
209
object? obj = _value.
_obj
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs (3)
139
object? obj = _value.
_obj
;
159
object? obj = _value.
_obj
;
178
object? obj = _value.
_obj
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (17)
423
Debug.Assert(valueTask.
_obj
is null or Task or IValueTaskSource, "If the ValueTask<>'s backing object is an IValueTaskSource<TResult>, it must also be IValueTaskSource.");
425
return new ValueTask(valueTask.
_obj
, valueTask._token, valueTask._continueOnCapturedContext);
552
_obj
!= null ?
_obj
.GetHashCode() :
563
_obj
!= null || other.
_obj
!= null ?
564
_obj
== other.
_obj
&& _token == other._token :
585
object? obj =
_obj
;
602
public ValueTask<TResult> Preserve() =>
_obj
== null ? this : new ValueTask<TResult>(AsTask());
606
/// The <see cref="IValueTaskSource{TResult}"/> is passed in rather than reading and casting <see cref="
_obj
"/>
717
object? obj =
_obj
;
740
object? obj =
_obj
;
762
object? obj =
_obj
;
789
object? obj =
_obj
;
813
object? obj =
_obj
;
842
new ConfiguredValueTaskAwaitable<TResult>(new ValueTask<TResult>(
_obj
, _result, _token, continueOnCapturedContext));