49 references to AnalyzerTestKind
Microsoft.CodeAnalysis.UnitTests (49)
AnalyzerAssemblyLoaderTests.cs (45)
103AnalyzerTestKind kind, 115AnalyzerTestKind kind, 129AnalyzerTestKind kind, 143AnalyzerTestKind kind, 238public void LoadWithDependency(AnalyzerTestKind kind) 263public void AddDependencyLocationThrowsOnNull(AnalyzerTestKind kind) 274public void ThrowsForMissingFile(AnalyzerTestKind kind) 285public void BasicLoad(AnalyzerTestKind kind) 298public void AssemblyLoading_Multiple(AnalyzerTestKind kind) 337public void AssemblyLoading_OverwriteBeforeLoad(AnalyzerTestKind kind) 359public void AssemblyLoading_AssemblyLocationNotAdded(AnalyzerTestKind kind) 371public void AssemblyLoading_DependencyLocationNotAdded(AnalyzerTestKind kind) 530public void AssemblyLoading_Simple(AnalyzerTestKind kind) 558public void AssemblyLoading_DependencyInDifferentDirectory(AnalyzerTestKind kind) 668public void AssemblyLoading_DependencyInDifferentDirectory2(AnalyzerTestKind kind) 723public void AssemblyLoading_DependencyInDifferentDirectory3(AnalyzerTestKind kind) 756public void AssemblyLoading_DependencyInDifferentDirectory4(AnalyzerTestKind kind) 786public void AssemblyLoading_MultipleVersions(AnalyzerTestKind kind) 843public void AssemblyLoading_MultipleVersions_NoExactMatch(AnalyzerTestKind kind) 902public void AssemblyLoading_MultipleVersions_MultipleEqualMatches(AnalyzerTestKind kind) 952public void AssemblyLoading_MultipleVersions_MultipleVersionsOfSameAnalyzerItself(AnalyzerTestKind kind) 989public void AssemblyLoading_MultipleVersions_ExactAndGreaterMatch(AnalyzerTestKind kind) 1041public void AssemblyLoading_MultipleVersions_WorseMatchInSameDirectory(AnalyzerTestKind kind) 1100public void AssemblyLoading_MultipleVersions_MultipleLoaders(AnalyzerTestKind kind) 1163public void AssemblyLoading_MultipleVersions_MissingVersion(AnalyzerTestKind kind) 1196public void AssemblyLoading_MultipleVersions_AnalyzerDependency(AnalyzerTestKind kind, bool normalOrder) 1337public void AssemblyLoading_UnifyToHighest(AnalyzerTestKind kind) 1372public void AssemblyLoading_CanLoadDifferentVersionsDirectly(AnalyzerTestKind kind) 1402public void AssemblyLoading_AnalyzerReferencesSystemCollectionsImmutable_01(AnalyzerTestKind kind) 1429public void AssemblyLoading_AnalyzerReferencesSystemCollectionsImmutable_02(AnalyzerTestKind kind) 1447public void AssemblyLoading_CompilerDependencyDuplicated(AnalyzerTestKind kind) 1468public void AssemblyLoading_NativeDependency(AnalyzerTestKind kind) 1485public void AssemblyLoading_DeleteAfterLoad1(AnalyzerTestKind kind) 1508public void AssemblyLoading_DeleteAfterLoad2(AnalyzerTestKind kind) 1539public void AssemblyLoading_DeleteAfterLoad3(AnalyzerTestKind kind) 1579public void AssemblyLoading_RepeatedLoads1(AnalyzerTestKind kind) 1600public void AssemblyLoading_RepeatedLoads2(AnalyzerTestKind kind) 1635public void AssemblyLoading_Resources(AnalyzerTestKind kind) 1658public void AssemblyLoading_ResourcesInParent(AnalyzerTestKind kind) 1683public void AssemblyLoadingInNonDefaultContext_AnalyzerReferencesSystemCollectionsImmutable(AnalyzerTestKind kind) 1712public void ExternalResolver_CanIntercept_ReturningNull(AnalyzerTestKind kind) 1728public void ExternalResolver_CanIntercept_ReturningAssembly(AnalyzerTestKind kind) 1746public void ExternalResolver_CanIntercept_ReturningAssembly_Or_Null(AnalyzerTestKind kind) 1772public void ExternalResolver_MultipleResolvers_CanIntercept_ReturningNull(AnalyzerTestKind kind) 1790public void ExternalResolver_MultipleResolvers_ResolutionStops_AfterFirstResolve(AnalyzerTestKind kind)
InvokeUtil.cs (4)
38internal void Exec(ITestOutputHelper testOutputHelper, AssemblyLoadContext compilerContext, AssemblyLoadTestFixture fixture, AnalyzerTestKind kind, string typeName, string methodName, IAnalyzerAssemblyResolver[] externalResolvers, object? state = null) 51AnalyzerTestKind.LoadDirect => new DefaultAnalyzerAssemblyLoader(compilerContext, AnalyzerLoadOption.LoadFromDisk, externalResolvers.ToImmutableArray()), 52AnalyzerTestKind.LoadStream => new DefaultAnalyzerAssemblyLoader(compilerContext, AnalyzerLoadOption.LoadFromStream, externalResolvers.ToImmutableArray()), 53AnalyzerTestKind.ShadowLoad => new ShadowCopyAnalyzerAssemblyLoader(compilerContext, tempRoot.CreateDirectory().Path, externalResolvers.ToImmutableArray()),