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)
203Assert.ThrowsAny<Exception>(() => loader.LoadFromPath(path)); 214Assembly alpha = loader.LoadFromPath(testFixture.Alpha); 233Assembly alpha = loader.LoadFromPath(testFixture.Alpha); 238Assembly 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)"/> 270var assembly = loader.LoadFromPath(delta1Copy); 289Assert.Throws<InvalidOperationException>(() => loader.LoadFromPath(testFixture.Beta)); 303Assembly beta = loader.LoadFromPath(testFixture.Beta); 431Assembly gamma = loader.LoadFromPath(testFixture.Gamma); 462Assembly gamma = loader.LoadFromPath(gammaFile); 503Assembly gamma = loader.LoadFromPath(gammaFile); 553Assembly gamma = loader.LoadFromPath(gammaFile); 614Assembly gamma = loader.LoadFromPath(testFixture.Gamma); 618Assembly epsilon = loader.LoadFromPath(testFixture.Epsilon); 670Assembly epsilon = loader.LoadFromPath(testFixture.Epsilon); 729Assembly epsilon = loader.LoadFromPath(testFixture.Epsilon); 778Assembly delta2 = loader.LoadFromPath(testFixture.Delta2); 779Assembly delta2B = loader.LoadFromPath(testFixture.Delta2B); 813Assembly epsilon = loader.LoadFromPath(testFixture.Epsilon); 873Assembly epsilon = loader.LoadFromPath(epsilonFile); 927Assembly gamma = loader1.LoadFromPath(testFixture.Gamma); 931Assembly epsilon = loader2.LoadFromPath(testFixture.Epsilon); 987Assembly gamma = loader.LoadFromPath(testFixture.Gamma); 991Assembly epsilon = loader.LoadFromPath(testFixture.Epsilon); 1021var gamma = loader.LoadFromPath(testFixture.GammaReferencingPublicSigned); 1025var epsilon = loader.LoadFromPath(testFixture.EpsilonReferencingPublicSigned); 1051var delta1Assembly = loader.LoadFromPath(testFixture.DeltaPublicSigned1); 1055var delta2Assembly = loader.LoadFromPath(testFixture.DeltaPublicSigned2); 1080Assembly analyzerAssembly = loader.LoadFromPath(testFixture.AnalyzerReferencesSystemCollectionsImmutable1); 1107Assembly analyzerAssembly = loader.LoadFromPath(testFixture.AnalyzerReferencesSystemCollectionsImmutable2); 1129var copiedAssembly = loader.LoadFromPath(destFile); 1144Assembly analyzerAssembly = loader.LoadFromPath(testFixture.AnalyzerWithNativeDependency); 1162_ = loader.LoadFromPath(deltaCopy); 1187Assembly? delta = loader.LoadFromPath(deltaCopy); 1227Assembly gamma = loader.LoadFromPath(gammaFile); 1254var expected = loader.LoadFromPath(path); 1259var actual = loader.LoadFromPath(path); 1278var expected = loader.LoadFromPath(path); 1287var actual = loader.LoadFromPath(path); 1324Assembly analyzerAssembly = loader.LoadFromPath(testFixture.AnalyzerReferencesSystemCollectionsImmutable1);