remove sealed from class and forgot to add props, ooops

This commit is contained in:
2018-07-24 14:25:38 +02:00
parent 26344c42f6
commit 1d75d8553b
@@ -57,7 +57,7 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool
{
IsClass = true,
IsPartial = true,
TypeAttributes = TypeAttributes.Sealed | (classAccessibility ?? TypeAttributes.Public),
TypeAttributes = (classAccessibility ?? TypeAttributes.Public),
Attributes = MemberAttributes.Public | MemberAttributes.Static | MemberAttributes.Final
};
@@ -153,7 +153,6 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool
Name = name,
Attributes = MemberAttributes.Public,
HasGet = true,
HasSet = true,
Type = new CodeTypeReference(typeof (string))
};
@@ -166,6 +165,8 @@ namespace ChristianHelle.DeveloperTools.CodeGenerators.Resw.VSPackage.CustomTool
new CodeFieldReferenceExpression(null, "resourceLoader"),
"GetString",
new CodePrimitiveExpression(key))));
targetClass.Members.Add(property);
}
codeNamespace.Types.Add(targetClass);