Skip to content

Commit 3246fed

Browse files
committed
build fix.
1 parent 8de7c1b commit 3246fed

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Diagram.Core/VirtualPropertyRegistry.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,14 @@ public static class VirtualPropertyRegistry
1111
static VirtualPropertyRegistry()
1212
{
1313
AddProperty(new("SpreadMiddle", "SpreadMiddle", LocalizedStrings.SpreadMiddle, typeof(decimal?), null), (IOrderBookMessage b) => b.GetSpreadMiddle(default));
14-
1514
AddProperty(new("BestBid", "BestBid", LocalizedStrings.BestBidDesc, typeof(QuoteChange?), null), (IOrderBookMessage b) => b.GetBestBid());
16-
1715
AddProperty(new("BestAsk", "BestAsk", LocalizedStrings.BestAskDesc, typeof(QuoteChange?), null), (IOrderBookMessage b) => b.GetBestAsk());
1816

1917
static void AddInterface<T1, T2>()
2018
where T1 : T2
2119
=> _interfaces.Add(typeof(T1), typeof(T2));
2220

2321
AddInterface<QuoteChangeMessage, IOrderBookMessage>();
24-
#pragma warning disable CS0618 // Type or member is obsolete
25-
AddInterface<MarketDepth, IOrderBookMessage>();
26-
#pragma warning restore CS0618 // Type or member is obsolete
2722
}
2823

2924
/// <summary>

0 commit comments

Comments
 (0)