We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcdecd5 commit b48e420Copy full SHA for b48e420
Generator/Generator/Program.cs
@@ -81,7 +81,7 @@ static async Task GenCode(string srcPath, string genPath)
81
fileContent = fileContent.Replace("[CLASSNAME]", pt.className);
82
fileContent = fileContent.Replace("[NAMESPACE]", data.ns);
83
var markTypeName = pt.GetMarkTypeName();
84
- var fields = $"public {Field.FieldTypeValue[markTypeName]} __tag__ " + "{ get;private set;}\n\n\t";
+ var fields = $"private {Field.FieldTypeValue[markTypeName]} __tag__;" + "\n\n\t";
85
var setter = "";
86
var hasFields = "";
87
0 commit comments