Fix lua project with analyzer change
This commit is contained in:
parent
05f8747321
commit
8a46af0b25
|
@ -52,7 +52,7 @@ namespace NLua
|
|||
if (paramType.IsByRef)
|
||||
paramType = paramType.GetElementType();
|
||||
|
||||
return _extractValues.ContainsKey(paramType) ? _extractValues[paramType] : _extractNetObject;
|
||||
return _extractValues.TryGetValue(paramType, out ExtractValue value) ? value : _extractNetObject;
|
||||
}
|
||||
|
||||
internal ExtractValue CheckLuaType(LuaState luaState, int stackPos, Type paramType)
|
||||
|
|
Loading…
Reference in New Issue