Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.MSTest" Version="1.1.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="9.0.3" />
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="9.0.3" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.8.3" />
<PackageVersion Include="MSTest.TestFramework" Version="3.8.3" />
<PackageVersion Include="System.Linq.Async" Version="6.0.1" />
<PackageVersion Include="System.Reflection" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public void Main_WritePath()
//C:\Data\HomeDir\index.html";

IntelliTect.TestTools.Console.ConsoleAssert.Expect(view,
Program.Main);
PathEx.Main);
}
}
4 changes: 2 additions & 2 deletions src/Chapter05/Listing05.21.PassingAVariableParameterList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter05.Listing05_21;
using System;
using System.IO;

public class Program
public class PathEx
{
public static void Main()
{
Expand Down Expand Up @@ -48,7 +48,7 @@ static string Combine(params string[] paths)
#endregion HIGHLIGHT
{
string result = string.Empty;
foreach(string path in paths)
foreach (string path in paths)
{
result = Path.Combine(result, path);
}
Expand Down
Loading