<PackageReference Include="System.Reactive" Version="6.0.0-preview.9" />
    
	
	
		
		
		
	 
	
	
        
                
                AsObservable<TSource>
                
                
                
                
using System.
Runtime.
CompilerServices;
namespace System.
Reactive.
Linq.
ObservableImpl
{
    [
System.
Runtime.
CompilerServices.
NullableContext(
1)]
    [
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
        
0,
        
1,
        
1,
        
1
    })]
    
internal sealed class AsObservable<[
System.
Runtime.
CompilerServices.
Nullable(
2)] 
TSource> : 
Producer<
TSource, 
AsObservable<
TSource>.
_>, 
IEvaluatableObservable<
TSource>
    {
        [
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
            
0,
            
1
        })]
        
internal sealed class _ : 
IdentitySink<
TSource>
        {
            
public _(
IObserver<
TSource> 
observer)
                : 
base(
observer)
            {
            }
        }
        
private readonly IObservable<
TSource> 
_source;
        
public AsObservable(
IObservable<
TSource> 
source)
        {
            
_source = 
source;
        }
        
public IObservable<
TSource> 
Eval()
        {
            
return _source;
        }
        [
return: 
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
            
1,
            
0
        })]
        
protected override _ CreateSink(
IObserver<
TSource> 
observer)
        {
            
return new _(
observer);
        }
        
protected override void Run([
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
            
1,
            
0
        })] 
_ sink)
        {
            
sink.
Run(
_source);
        }
    }
}