Version Used: Version 17.1.0 Preview 2.0 [31928.29.main]
Steps to Reproduce:
public static T EnsureInitialized<T>([NotNull] ref T? target, Func<T> valueFactory) where T : class
=> Volatile.Read(ref target!) ?? InterlockedStore(ref target!, valueFactory());
public static T EnsureInitialized<T, U>([NotNull] ref T? target, Func<U, T> valueFactory, U state)
where T : class
{
return Volatile.Read(ref target!) ?? InterlockedStore(ref target, valueFactory(state));
}

Expected Behavior:
target should be underlined in both methods.
Actual Behavior:
target is only underlined in the method which contains ref target (as opposed to ref target!.
Version Used: Version 17.1.0 Preview 2.0 [31928.29.main]
Steps to Reproduce:
Expected Behavior:
targetshould be underlined in both methods.Actual Behavior:
targetis only underlined in the method which containsref target(as opposed toref target!.