Skip to content

Commit 88be1fc

Browse files
authored
[CS0618] GraphInterpreterSpecKit (#6697)
1 parent 1345e58 commit 88be1fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/core/Akka.Streams.Tests/Implementation/Fusing/GraphInterpreterSpecKit.cs

+8
Original file line numberDiff line numberDiff line change
@@ -980,13 +980,17 @@ public OneBoundedSetup(ActorSystem system, params IGraphStageWithMaterializedVal
980980
}
981981
}
982982

983+
#pragma warning disable CS0618 // Type or member is obsolete
983984
public PushPullGraphStage<TIn, TOut> ToGraphStage<TIn, TOut>(IStage<TIn, TOut> stage)
985+
#pragma warning restore CS0618 // Type or member is obsolete
984986
{
985987
var s = stage;
986988
return new PushPullGraphStage<TIn, TOut>(_ => s, Attributes.None);
987989
}
988990

991+
#pragma warning disable CS0618 // Type or member is obsolete
989992
public IGraphStageWithMaterializedValue<Shape, object>[] ToGraphStage<TIn, TOut>(IStage<TIn, TOut>[] stages)
993+
#pragma warning restore CS0618 // Type or member is obsolete
990994
{
991995
return stages.Select(ToGraphStage).Cast<IGraphStageWithMaterializedValue<Shape, object>>().ToArray();
992996
}
@@ -1015,15 +1019,19 @@ public void WithTestSetup(
10151019
spec(setup, setup.Builder, setup.LastEvents);
10161020
}
10171021

1022+
#pragma warning disable CS0618 // Type or member is obsolete
10181023
public void WithOneBoundedSetup<T>(IStage<T, T> op,
1024+
#pragma warning restore CS0618 // Type or member is obsolete
10191025
Action
10201026
<Func<ISet<OneBoundedSetup.ITestEvent>>, OneBoundedSetup.UpstreamOneBoundedProbe<T>,
10211027
OneBoundedSetup.DownstreamOneBoundedPortProbe<T>> spec)
10221028
{
10231029
WithOneBoundedSetup<T>(ToGraphStage(op), spec);
10241030
}
10251031

1032+
#pragma warning disable CS0618 // Type or member is obsolete
10261033
public void WithOneBoundedSetup<T>(IStage<T, T>[] ops,
1034+
#pragma warning restore CS0618 // Type or member is obsolete
10271035
Action
10281036
<Func<ISet<OneBoundedSetup.ITestEvent>>, OneBoundedSetup.UpstreamOneBoundedProbe<T>,
10291037
OneBoundedSetup.DownstreamOneBoundedPortProbe<T>> spec)

0 commit comments

Comments
 (0)