Fixed net35/net40 build

This commit is contained in:
Yoshi Askharoun
2022-06-12 21:40:52 -05:00
parent a41ef575ba
commit b0e9352ff2
@@ -66,7 +66,8 @@ namespace Microsoft.Iris.Markup
if (mapping.Source != null) if (mapping.Source != null)
{ {
string xmlElemAttribute = $"{indent}[XmlElement(\"{mapping.Source[1..]}\")]{newline}"; string source = mapping.Source.Substring(1);
string xmlElemAttribute = $"{indent}[XmlElement(\"{source}\")]{newline}";
properyDeclaration = xmlElemAttribute + properyDeclaration; properyDeclaration = xmlElemAttribute + properyDeclaration;
} }