From c848a05fb08f069251afdfb2b357e3fe611e6ad9 Mon Sep 17 00:00:00 2001 From: walon Date: Wed, 6 Mar 2024 13:52:30 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E4=B8=BA=E5=80=BC?= =?UTF-8?q?=E7=B1=BB=E5=9E=8Bbean=E7=9A=84=E5=8F=AF=E7=A9=BA=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AD=97=E6=AE=B5=E7=94=9F=E6=88=90c#=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=97=B6=E6=9C=AA=E5=8C=85=E5=90=AB=3F=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.CSharp/TypeVisitors/IsRawNullableTypeVisitor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Luban.CSharp/TypeVisitors/IsRawNullableTypeVisitor.cs b/src/Luban.CSharp/TypeVisitors/IsRawNullableTypeVisitor.cs index 6316baed..b909247d 100644 --- a/src/Luban.CSharp/TypeVisitors/IsRawNullableTypeVisitor.cs +++ b/src/Luban.CSharp/TypeVisitors/IsRawNullableTypeVisitor.cs @@ -34,6 +34,6 @@ public override bool Accept(TMap type) public override bool Accept(TBean type) { - return true; + return !type.DefBean.IsValueType; } }