diff --git a/src/Avalonia.Base/Data/Core/Plugins/ObservableStreamPlugin.cs b/src/Avalonia.Base/Data/Core/Plugins/ObservableStreamPlugin.cs
index 14ca8ee79e..c41097c274 100644
--- a/src/Avalonia.Base/Data/Core/Plugins/ObservableStreamPlugin.cs
+++ b/src/Avalonia.Base/Data/Core/Plugins/ObservableStreamPlugin.cs
@@ -2,6 +2,9 @@
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
+using System.Linq;
+using System.Reactive.Linq;
+using System.Reflection;
namespace Avalonia.Data.Core.Plugins
{
@@ -10,12 +13,19 @@ namespace Avalonia.Data.Core.Plugins
///
public class ObservableStreamPlugin : IStreamPlugin
{
+ static MethodInfo observableSelect;
+
///
/// Checks whether this plugin handles the specified value.
///
/// A weak reference to the value.
/// True if the plugin can handle the value; otherwise false.
- public virtual bool Match(WeakReference reference) => reference.Target is IObservable