4 writes to _obj
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (4)
486
_obj
= null;
501
_obj
= task;
519
_obj
= source;
534
_obj
= obj;
23 references to _obj
System.Private.CoreLib (23)
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 (17)
416
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.");
418
return new ValueTask(valueTask.
_obj
, valueTask._token, valueTask._continueOnCapturedContext);
543
_obj
!= null ?
_obj
.GetHashCode() :
554
_obj
!= null || other.
_obj
!= null ?
555
_obj
== other.
_obj
&& _token == other._token :
575
object? obj =
_obj
;
592
public ValueTask<TResult> Preserve() =>
_obj
== null ? this : new ValueTask<TResult>(AsTask());
596
/// The <see cref="IValueTaskSource{TResult}"/> is passed in rather than reading and casting <see cref="
_obj
"/>
707
object? obj =
_obj
;
730
object? obj =
_obj
;
752
object? obj =
_obj
;
779
object? obj =
_obj
;
803
object? obj =
_obj
;
832
new ConfiguredValueTaskAwaitable<TResult>(new ValueTask<TResult>(
_obj
, _result, _token, continueOnCapturedContext));