Skip to content

Commit 98d500a

Browse files
committed
fix: reorder and restore XML documentation for assembly loading methods in IsolatedAssemblyLoadContext and Program classes
1 parent 2475aea commit 98d500a

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

src/DotNetApiDiff/AssemblyLoading/IsolatedAssemblyLoadContext.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public IsolatedAssemblyLoadContext(string assemblyPath, ILogger logger)
3939
_logger = logger;
4040
}
4141

42-
/// <summary>
43-
/// Loads an assembly with the given name
44-
/// </summary>
45-
/// <param name="assemblyName">The assembly name to load</param>
46-
/// <returns>The loaded assembly or null if not found</returns>
4742
/// <summary>
4843
/// Additional search paths for assemblies
4944
/// </summary>
@@ -62,6 +57,11 @@ public void AddSearchPath(string path)
6257
}
6358
}
6459

60+
/// <summary>
61+
/// Loads an assembly with the given name
62+
/// </summary>
63+
/// <param name="assemblyName">The assembly name to load</param>
64+
/// <returns>The loaded assembly or null if not found</returns>
6565
protected override System.Reflection.Assembly? Load(AssemblyName assemblyName)
6666
{
6767
try

src/DotNetApiDiff/Program.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@
55

66
namespace DotNetApiDiff;
77

8+
/// <summary>
9+
/// Main entry point for the DotNet API Diff tool
10+
/// </summary>
811
public class Program
912
{
13+
/// <summary>
14+
/// Application entry point
15+
/// </summary>
16+
/// <param name="args">Command line arguments</param>
17+
/// <returns>Exit code (0 for success, non-zero for failure)</returns>
1018
public static async Task<int> Main(string[] args)
1119
{
1220
// Set up dependency injection
@@ -40,6 +48,10 @@ public static async Task<int> Main(string[] args)
4048
}
4149
}
4250

51+
/// <summary>
52+
/// Configures dependency injection services
53+
/// </summary>
54+
/// <param name="services">Service collection to configure</param>
4355
private static void ConfigureServices(IServiceCollection services)
4456
{
4557
// Configure logging

0 commit comments

Comments
 (0)