* Adjust for roslyn change on ref parameters
* Adjust for roslyn change on NotNullIfNotNull
if (!SetComObjectData(o, t, Wrapper))
{
// Another thead already cached the wrapper so use that one instead.
- Wrapper = GetComObjectData(o, t);
+ Wrapper = GetComObjectData(o, t)!;
}
}
return target!;
}
- return EnsureInitializedCore(ref target, ref initialized, ref syncLock);
+ return EnsureInitializedCore<T>(ref target, ref initialized, ref syncLock);
}
/// <summary>