<PackageReference Include="System.Reactive" Version="6.0.0-preview.16" />
    
    
	
	
		
		
		
	 
	
	
        
                
                OnErrorResumeNext<TSource>
                
                
                
                
using System.
Collections.
Generic;
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 OnErrorResumeNext<[
System.
Runtime.
CompilerServices.
Nullable(
2)] 
TSource> : 
Producer<
TSource, 
OnErrorResumeNext<
TSource>.
_>
    {
        [
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
            
0,
            
1
        })]
        
internal sealed class _ : 
TailRecursiveSink<
TSource>
        {
            
public _(
IObserver<
TSource> 
observer)
                : 
base(
observer)
            {
            }
            [
return: 
System.
Runtime.
CompilerServices.
Nullable(
new byte[] {
                
2,
                
1,
                
1
            })]
            
protected override IEnumerable<
IObservable<
TSource>> (
IObservable<
TSource> 
source)
            {
                
return (
source as OnErrorResumeNext<
TSource>)?.
_sources;
            }
            
public override void OnError(
Exception error)
            {
                
Recurse();
            }
            
public override void OnCompleted()
            {
                
Recurse();
            }
            
protected override bool Fail(
Exception error)
            {
                
OnError(
error);
                
return true;
            }
        }
        
private readonly IEnumerable<
IObservable<
TSource>> 
_sources;
        
public OnErrorResumeNext(
IEnumerable<
IObservable<
TSource>> 
sources)
        {
            
_sources = 
sources;
        }
        [
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(
_sources);
        }
    }
}