object item3 = ((IDataRecord)this)[num8];
if (item3 is DBNull)
{
}
else
{
string str1 = item3 as string;
str = str1;
if (str1 == null)
{
pluginType = (PluginType)Convert.ToByte(item3);
}
else
{
pluginType = (PluginType)Enum.Parse(typeof(PluginType), str, true);
}
pluginModel1.set_Type(pluginType);
}
这是反编译后的代码段,复制到代码里调试没问题,不报错。可为什么通过Dapper的emit生成的代码转换时就报“操作可能会破坏运行时稳定性。“?有没有人遇到过这个问题,期望答案和解决方案