// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Reflection;
namespaceMicrosoft.CodeAnalysis
...
...
@@ -29,11 +30,15 @@ public interface IAnalyzerAssemblyLoader
/// Multiple calls with the same path should return the same
/// <see cref="Assembly"/> instance.
/// </remarks>
/// <exception cref="ArgumentNullException"><paramref name="fullPath" /> is null.</exception>
/// <exception cref="ArgumentException"><paramref name="fullPath" /> is not a full path.</exception>
AssemblyLoadFromPath(stringfullPath);
/// <summary>
/// Adds a file to consider when loading an analyzer or its dependencies.
/// </summary>
/// <exception cref="ArgumentNullException"><paramref name="fullPath" /> is null.</exception>
/// <exception cref="ArgumentException"><paramref name="fullPath" /> is not a full path.</exception>
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Reflection;
usingSystem.Threading;
namespaceMicrosoft.CodeAnalysis
{
/// <summary>
/// Loads analyzer assemblies from their original locations in the file system.
/// Assemblies will only be loaded from the locations specified when the loader
/// is instantiated.
/// </summary>
/// <remarks>
/// This type is meant to be used in scenarios where it is OK for the analyzer
/// assemblies to be locked on disk for the lifetime of the host; for example,
/// csc.exe and vbc.exe. In scenarios where support for updating or deleting
/// the analyzer on disk is required a different loader should be used.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.