Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit fc13481

Browse files
committed
Document exceptions thrown by AssemblyParserService.
1 parent cf8f7e8 commit fc13481

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Main/Base/Project/Parser/IAssemblyParserService.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public interface IAssemblyParserService
3939
/// <summary>
4040
/// Loads the specified assembly file from disk.
4141
/// </summary>
42+
/// <exception cref="IOException">Error loading the assembly</exception>
43+
/// <exception cref="BadImageFormatException">Invalid assembly file</exception>
4244
IUnresolvedAssembly GetAssembly(FileName fileName, bool includeInternalMembers = false, CancellationToken cancellationToken = default(CancellationToken));
4345

4446
/// <summary>
@@ -69,14 +71,14 @@ public interface IAssemblyParserService
6971
/// <summary>
7072
/// Creates an IAssemblyModel for the given assembly file.
7173
/// </summary>
74+
/// <exception cref="IOException">Error loading the assembly</exception>
75+
/// <exception cref="BadImageFormatException">Invalid assembly file</exception>
7276
IAssemblyModel GetAssemblyModel(FileName fileName, bool includeInternalMembers = false);
7377

7478
/// <summary>
7579
/// Creates an <see cref="ICSharpCode.SharpDevelop.Dom.IAssemblyModel"/> from a file name and catches
7680
/// errors by showing messages to user.
7781
/// </summary>
78-
/// <param name="modelFactory">Model factory.</param>
79-
/// <param name="fileName">Assembly file name.</param>
8082
/// <returns>
8183
/// Created <see cref="ICSharpCode.SharpDevelop.Dom.IAssemblyModel"/> or <b>null</b>,
8284
/// if model couldn't be created.

0 commit comments

Comments
 (0)