diff --git a/src/Tests/DIObjectGraphTypeTests/Graph.cs b/src/Tests/DIObjectGraphTypeTests/Graph.cs index b8cc273..0a18e04 100644 --- a/src/Tests/DIObjectGraphTypeTests/Graph.cs +++ b/src/Tests/DIObjectGraphTypeTests/Graph.cs @@ -31,7 +31,9 @@ public class CGraphDescription : DIObjectGraphBase { } [Fact] public void GraphObsolete() { +#pragma warning disable CS0618 // Member is obsolete Configure().DeprecationReason.ShouldBe("TestDeprecationReason"); +#pragma warning restore CS0618 // Member is obsolete } [Obsolete("TestDeprecationReason")]