Implemented interface member:
method
LoadFromPath
Microsoft.CodeAnalysis.IAnalyzerAssemblyLoader.LoadFromPath(System.String)
41 references to LoadFromPath
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
21
/// This type generally assumes that files on disk aren't changing, since it ensure that two calls to <see cref="
LoadFromPath
(string)"/>
Microsoft.CodeAnalysis.UnitTests (40)
AnalyzerAssemblyLoaderTests.cs (40)
203
Assert.ThrowsAny<Exception>(() => loader.
LoadFromPath
(path));
214
Assembly alpha = loader.
LoadFromPath
(testFixture.Alpha);
233
Assembly alpha = loader.
LoadFromPath
(testFixture.Alpha);
238
Assembly beta = loader.
LoadFromPath
(testFixture.Beta);
254
/// The loaders should not actually look at the contents of the disk until a <see cref="AnalyzerAssemblyLoader.
LoadFromPath
(string)"/>
270
var assembly = loader.
LoadFromPath
(delta1Copy);
289
Assert.Throws<InvalidOperationException>(() => loader.
LoadFromPath
(testFixture.Beta));
303
Assembly beta = loader.
LoadFromPath
(testFixture.Beta);
431
Assembly gamma = loader.
LoadFromPath
(testFixture.Gamma);
462
Assembly gamma = loader.
LoadFromPath
(gammaFile);
503
Assembly gamma = loader.
LoadFromPath
(gammaFile);
553
Assembly gamma = loader.
LoadFromPath
(gammaFile);
614
Assembly gamma = loader.
LoadFromPath
(testFixture.Gamma);
618
Assembly epsilon = loader.
LoadFromPath
(testFixture.Epsilon);
670
Assembly epsilon = loader.
LoadFromPath
(testFixture.Epsilon);
729
Assembly epsilon = loader.
LoadFromPath
(testFixture.Epsilon);
778
Assembly delta2 = loader.
LoadFromPath
(testFixture.Delta2);
779
Assembly delta2B = loader.
LoadFromPath
(testFixture.Delta2B);
813
Assembly epsilon = loader.
LoadFromPath
(testFixture.Epsilon);
873
Assembly epsilon = loader.
LoadFromPath
(epsilonFile);
927
Assembly gamma = loader1.
LoadFromPath
(testFixture.Gamma);
931
Assembly epsilon = loader2.
LoadFromPath
(testFixture.Epsilon);
987
Assembly gamma = loader.
LoadFromPath
(testFixture.Gamma);
991
Assembly epsilon = loader.
LoadFromPath
(testFixture.Epsilon);
1021
var gamma = loader.
LoadFromPath
(testFixture.GammaReferencingPublicSigned);
1025
var epsilon = loader.
LoadFromPath
(testFixture.EpsilonReferencingPublicSigned);
1051
var delta1Assembly = loader.
LoadFromPath
(testFixture.DeltaPublicSigned1);
1055
var delta2Assembly = loader.
LoadFromPath
(testFixture.DeltaPublicSigned2);
1080
Assembly analyzerAssembly = loader.
LoadFromPath
(testFixture.AnalyzerReferencesSystemCollectionsImmutable1);
1107
Assembly analyzerAssembly = loader.
LoadFromPath
(testFixture.AnalyzerReferencesSystemCollectionsImmutable2);
1129
var copiedAssembly = loader.
LoadFromPath
(destFile);
1144
Assembly analyzerAssembly = loader.
LoadFromPath
(testFixture.AnalyzerWithNativeDependency);
1162
_ = loader.
LoadFromPath
(deltaCopy);
1187
Assembly? delta = loader.
LoadFromPath
(deltaCopy);
1227
Assembly gamma = loader.
LoadFromPath
(gammaFile);
1254
var expected = loader.
LoadFromPath
(path);
1259
var actual = loader.
LoadFromPath
(path);
1278
var expected = loader.
LoadFromPath
(path);
1287
var actual = loader.
LoadFromPath
(path);
1324
Assembly analyzerAssembly = loader.
LoadFromPath
(testFixture.AnalyzerReferencesSystemCollectionsImmutable1);