4 writes to _obj
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (4)
510
_obj
= null;
525
_obj
= task;
543
_obj
= source;
558
_obj
= obj;
24 references to _obj
System.Private.CoreLib (24)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs (3)
159
object? obj = _value.
_obj
;
181
object? obj = _value.
_obj
;
201
object? obj = _value.
_obj
;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs (3)
131
object? obj = _value.
_obj
;
151
object? obj = _value.
_obj
;
170
object? obj = _value.
_obj
;
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (18)
440
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.");
442
return new ValueTask(valueTask.
_obj
, valueTask._token, valueTask._continueOnCapturedContext);
567
_obj
!= null ?
_obj
.GetHashCode() :
578
_obj
!= null || other.
_obj
!= null ?
579
_obj
== other.
_obj
&& _token == other._token :
599
object? obj =
_obj
;
617
object? obj =
_obj
;
640
public ValueTask<TResult> Preserve() =>
_obj
== null ? this : new ValueTask<TResult>(AsTask());
644
/// The <see cref="IValueTaskSource{TResult}"/> is passed in rather than reading and casting <see cref="
_obj
"/>
755
object? obj =
_obj
;
778
object? obj =
_obj
;
800
object? obj =
_obj
;
827
object? obj =
_obj
;
851
object? obj =
_obj
;
880
new ConfiguredValueTaskAwaitable<TResult>(new ValueTask<TResult>(
_obj
, _result, _token, continueOnCapturedContext));