Skip to content

Commit

Permalink
Merge pull request #16 from dassjosh/develop
Browse files Browse the repository at this point in the history
Add support for File Scoped Namespace
  • Loading branch information
dassjosh authored Jan 17, 2024
2 parents 93160c2 + 5c380d6 commit 775cc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PluginMerge/Merge/FileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private Task ProcessUsings(PlatformSettings settings, CompilationUnitSyntax root
private Task ProcessNamespace(CompilationUnitSyntax root)
{
_logger.LogDebug("Start processing namespace file at path: {Path}", RegionName);
foreach (NamespaceDeclarationSyntax @namespace in root.ChildNodes().OfType<NamespaceDeclarationSyntax>())
foreach (BaseNamespaceDeclarationSyntax @namespace in root.ChildNodes().OfType<BaseNamespaceDeclarationSyntax>())
{
foreach (BaseTypeDeclarationSyntax node in @namespace.ChildNodes().OfType<BaseTypeDeclarationSyntax>())
{
Expand Down

0 comments on commit 775cc46

Please sign in to comment.