更新了代码生成器的生成逻辑。

修复了Emit对于集合类型创建委托时,类型指定Bug。
This commit is contained in:
fengjiayi
2025-07-29 14:51:14 +08:00
parent 77160feaeb
commit b6ed0b69dc
6 changed files with 62 additions and 41 deletions

View File

@@ -69,16 +69,18 @@ namespace Serein.Library
/// 是否禁止参数进行修改(初始化后不能再通过 Setter 修改)
/// </summary>
public bool IsProtection = false;
/*
/// <summary>
/// 自定义代码(属性变更前)
/// </summary>
[Obsolete("此属性已经过时,可能在下一个版本中移除", false)]
public string CustomCodeAtStart = null;
/// <summary>
/// 自定义代码(属性变更后)
/// </summary>
public string CustomCodeAtEnd = null;
[Obsolete("此属性已经过时,可能在下一个版本中移除", false)]
public string CustomCodeAtEnd = null;*/
}