diff --git a/src/BUTR.NativeAOT.Shared/Common.cs b/src/BUTR.NativeAOT.Shared/Common.cs index 97cdb3d..cb7c798 100644 --- a/src/BUTR.NativeAOT.Shared/Common.cs +++ b/src/BUTR.NativeAOT.Shared/Common.cs @@ -88,7 +88,7 @@ public unsafe interface IReturnValueWithValueJson { static abstract TSelf* AsValue(TValue value, JsonTypeInfo jsonTypeInfo, bool isOwner) where TValue: class; } - public unsafe interface IReturnValueWithValueLength + public unsafe interface IReturnValueWithValueLength where TSelf : unmanaged, IReturnValueWithValueLength where TValue : unmanaged {