Skip to content

Commit

Permalink
chore(deps): Update Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
furesoft committed Dec 22, 2024
1 parent 2235316 commit aed1e8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ public class QualifiedTypeName : TypeName
public QualifiedTypeName(SimpleTypeName name)
{
Children.Add(name);

foreach (var child in name.Children)
{
child.RemoveFromParent();
Children.Add(child);
child.MoveTo(this);
}
}

public string Namespace => string.Join('.', Children.Take(Children.Count - 1));
public string Namespace => string.Join('.', Children[..^1].Take(Children.Count - 1));
public TypeName Type => (TypeName)Children.Last;

public override string ToString() => $"{Namespace}.{Type}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ItemGroup>
<PackageReference Include="DistIL.Core" Version="0.11.1-preview" />
<PackageReference Include="Loyc.Syntax" Version="30.1.3"/>
<PackageReference Include="MrKWatkins.Ast" Version="0.9.127" />
<PackageReference Include="MrKWatkins.Ast" Version="0.9.128" />
<PackageReference Include="System.Resources.ResourceManager" Version="4.3.0"/>
</ItemGroup>

Expand Down

0 comments on commit aed1e8e

Please sign in to comment.