diff --git a/Reactor/Utilities/Extensions/StreamExtensions.cs b/Reactor/Utilities/Extensions/StreamExtensions.cs
index 5595af9..2536fab 100644
--- a/Reactor/Utilities/Extensions/StreamExtensions.cs
+++ b/Reactor/Utilities/Extensions/StreamExtensions.cs
@@ -21,6 +21,12 @@ public static class StreamExtensions
{
private readonly Stream _stream;
+ ///
+ public StreamWrapper(IntPtr pointer) : base(pointer)
+ {
+ throw new NotSupportedException("This shouldn't ever be called because StreamWrapper is injected from managed side");
+ }
+
///
public StreamWrapper(Stream stream) : base(ClassInjector.DerivedConstructorPointer())
{