diff --git a/Rx.NET/Source/src/System.Reactive/Disposables/SingleAssignmentDisposableValue.cs b/Rx.NET/Source/src/System.Reactive/Disposables/SingleAssignmentDisposableValue.cs
index ff0dbc4ef2..be834e3cfa 100644
--- a/Rx.NET/Source/src/System.Reactive/Disposables/SingleAssignmentDisposableValue.cs
+++ b/Rx.NET/Source/src/System.Reactive/Disposables/SingleAssignmentDisposableValue.cs
@@ -10,7 +10,7 @@ namespace System.Reactive.Disposables
/// Represents a disposable resource which only allows a single assignment of its underlying disposable resource.
/// If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an .
///
- internal struct SingleAssignmentDisposableValue
+ public struct SingleAssignmentDisposableValue
{
private IDisposable? _current;
diff --git a/Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Api/ApiApprovalTests.Core.verified.cs b/Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Api/ApiApprovalTests.Core.verified.cs
index 0cb5836964..557e89f7cd 100644
--- a/Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Api/ApiApprovalTests.Core.verified.cs
+++ b/Rx.NET/Source/tests/Tests.System.Reactive.ApiApprovals/Api/ApiApprovalTests.Core.verified.cs
@@ -635,6 +635,12 @@ public SingleAssignmentDisposable() { }
public bool IsDisposed { get; }
public void Dispose() { }
}
+ public struct SingleAssignmentDisposableValue
+ {
+ public System.IDisposable? Disposable { get; set; }
+ public bool IsDisposed { get; }
+ public void Dispose() { }
+ }
public abstract class StableCompositeDisposable : System.IDisposable, System.Reactive.Disposables.ICancelable
{
protected StableCompositeDisposable() { }
@@ -3152,4 +3158,4 @@ public void Start(ref TStateMachine stateMachine)
where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
public static System.Runtime.CompilerServices.TaskObservableMethodBuilder Create() { }
}
-}
\ No newline at end of file
+}