Skip to content

Commit 78b7045

Browse files
Fix brackets that got added somehow
1 parent e7c0d8c commit 78b7045

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CodeConverter/CSharp/ProjectMergedDeclarationExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ private static IEnumerable<string> GetAllLocaleResxFilePaths(string projDir, str
4848
private static bool IsStandaloneGeneratedResource(XElement t)
4949
{
5050
return t.Name.LocalName == "EmbeddedResource" &&
51-
(GetIncludeOrUpdateAttribute(t)?.Value).EndsWith(".resx", StringComparison.InvariantCulture) == true &&
52-
(t.Element(t.GetDefaultNamespace() + "Generator")?.Value).EndsWith("ResXFileCodeGenerator", StringComparison.InvariantCulture) == true;
51+
GetIncludeOrUpdateAttribute(t)?.Value.EndsWith(".resx", StringComparison.InvariantCulture) == true &&
52+
t.Element(t.GetDefaultNamespace() + "Generator")?.Value.EndsWith("ResXFileCodeGenerator", StringComparison.InvariantCulture) == true;
5353
}
5454

5555
private static XAttribute GetIncludeOrUpdateAttribute(XElement t)

0 commit comments

Comments
 (0)