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)
545object? obj = valueTask._obj;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.cs (2)
171object? obj = task._obj; 362object? obj = task._obj;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConfiguredValueTaskAwaitable.cs (3)
167object? obj = _value._obj; 189object? obj = _value._obj; 209object? obj = _value._obj;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ValueTaskAwaiter.cs (3)
139object? obj = _value._obj; 159object? obj = _value._obj; 178object? obj = _value._obj;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (17)
423Debug.Assert(valueTask._obj is null or Task or IValueTaskSource, "If the ValueTask<>'s backing object is an IValueTaskSource<TResult>, it must also be IValueTaskSource."); 425return 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 : 585object? obj = _obj; 602public 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"/> 717object? obj = _obj; 740object? obj = _obj; 762object? obj = _obj; 789object? obj = _obj; 813object? obj = _obj; 842new ConfiguredValueTaskAwaitable<TResult>(new ValueTask<TResult>(_obj, _result, _token, continueOnCapturedContext));