mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Nullable
This commit is contained in:
@ -5,6 +5,8 @@ using System.Text;
|
||||
|
||||
namespace Esiur.Resource.Template;
|
||||
|
||||
#nullable enable
|
||||
|
||||
public class MemberData
|
||||
{
|
||||
public MemberInfo Info;
|
||||
@ -15,6 +17,13 @@ public class MemberData
|
||||
public MemberData? Child;
|
||||
public byte Index;
|
||||
|
||||
public MemberData(string name, MemberInfo info, int order)
|
||||
{
|
||||
this.Name = name;
|
||||
this.Info = info;
|
||||
this.Order = order;
|
||||
}
|
||||
|
||||
public MemberInfo GetMemberInfo()
|
||||
{
|
||||
var rt = Info;
|
||||
@ -29,7 +38,7 @@ public class MemberData
|
||||
|
||||
public string? GetAnnotation()
|
||||
{
|
||||
string rt = null;
|
||||
string? rt = null;
|
||||
var md = this;
|
||||
while (md != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user