Handles loading analyzer assemblies and their dependencies.
Before an analyzer assembly is loaded with LoadFromPath(String)
its location and the location of all of its dependencies must first be specified
by calls to AddDependencyLocation(String)
Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public interface IAnalyzerAssemblyLoader
Public Interface IAnalyzerAssemblyLoader
The IAnalyzerAssemblyLoader type exposes the following members.
Adds a file to consider when loading an analyzer or its dependencies.
Given the full path to an assembly on disk, loads and returns the
To the extent possible, implementations should remain consistent in the face
of exceptions and allow the caller to handle them. This allows the caller to
decide how to surface issues to the user and whether or not they are fatal. For
example, if asked to load an a non-existent or inaccessible file a command line
tool may wish to exit immediately, while an IDE may wish to keep going and give
the user a chance to correct the issue.