mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-09 18:00:56 +08:00
- 修复 System.MemoryExtensions.Contains 解析问题;#1993
This commit is contained in:
@@ -112,7 +112,10 @@ namespace FreeSql.Dameng
|
||||
if (objType?.FullName == "System.Byte[]") return null;
|
||||
|
||||
var argIndex = 0;
|
||||
if (objType == null && callExp.Method.DeclaringType == typeof(Enumerable))
|
||||
if (objType == null && (
|
||||
callExp.Method.DeclaringType == typeof(Enumerable) ||
|
||||
callExp.Method.DeclaringType.FullName == "System.MemoryExtensions"
|
||||
))
|
||||
{
|
||||
objExp = callExp.Arguments.FirstOrDefault();
|
||||
objType = objExp?.Type;
|
||||
|
||||
Reference in New Issue
Block a user