CodeActions\PreviewExceptionTests.cs (8)
29using var workspace = CreateWorkspaceFromOptions("class D {}", new TestParameters());
42using var workspace = CreateWorkspaceFromOptions("class D {}", new TestParameters());
55using var workspace = CreateWorkspaceFromOptions("class D {}", new TestParameters());
67private static async Task GetPreview(EditorTestWorkspace workspace, CodeRefactoringProvider provider)
75private static void DisplayText(EditorTestWorkspace workspace, CodeRefactoringProvider provider)
83private static async Task ActionSets(EditorTestWorkspace workspace, CodeRefactoringProvider provider)
91private static CodeRefactoringSuggestedAction CreateRefactoringSuggestedAction(EditorTestWorkspace workspace, CodeRefactoringProvider provider, out EditorLayerExtensionManager.ExtensionManager extensionManager)
103EditorTestWorkspace workspace, CodeRefactoringProvider provider, List<CodeAction> codeActions,
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (20)
56using var workspace = EditorTestWorkspace.CreateCSharp(source, TestOptions.Regular, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);
87using (var ideEngineWorkspace = EditorTestWorkspace.CreateCSharp(source, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService))
104using var compilerEngineWorkspace = EditorTestWorkspace.CreateCSharp(source, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);
123using var workspace = EditorTestWorkspace.CreateCSharp(source, TestOptions.Regular, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);
162using var workspace = EditorTestWorkspace.CreateCSharp(TestResource.AllInOneCSharpCode, TestOptions.Regular, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);
198using var workspace = EditorTestWorkspace.CreateCSharp(source, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);
255using (var ideEngineWorkspace = EditorTestWorkspace.CreateCSharp(source, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService))
277using (var compilerEngineWorkspace = EditorTestWorkspace.CreateCSharp(source, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService))
337using var compilerEngineWorkspace = EditorTestWorkspace.CreateCSharp(source);
777using var workspace = EditorTestWorkspace.CreateCSharp("class Class { }", TestOptions.Regular, composition: s_compositionWithMockDiagnosticUpdateSourceRegistrationService);