Workspaces\WorkspaceTests_EditorFeatures.cs (51)
159var document = new EditorTestHostDocument(
186var document = new EditorTestHostDocument(
214var document1 = new EditorTestHostDocument("var x = 1;", displayName: "Sub1", sourceCodeKind: SourceCodeKind.Script);
217var document2 = new EditorTestHostDocument("var x = 2;", displayName: "Sub2", sourceCodeKind: SourceCodeKind.Script, filePath: "a.csx");
354var document = new EditorTestHostDocument(string.Empty);
371var document = new EditorTestHostDocument(string.Empty);
386var document = new EditorTestHostDocument(string.Empty);
405var document = new EditorTestHostDocument(@"class C { }");
424var document1 = new EditorTestHostDocument(@"public class C { }");
427var document2 = new EditorTestHostDocument(@"class D : C { }");
448var document1 = new EditorTestHostDocument(@"public class C { }");
451var document2 = new EditorTestHostDocument("""
481var document1 = new EditorTestHostDocument(@"public class C { }");
484var document2 = new EditorTestHostDocument("""
535var document1 = new EditorTestHostDocument(@"public class C { }");
538var document2 = new EditorTestHostDocument("""
603var document1 = new EditorTestHostDocument(@"public class C { }");
606var document2 = new EditorTestHostDocument("""
695var document = new EditorTestHostDocument(string.Empty);
721var document = new EditorTestHostDocument(startText);
754var document = new EditorTestHostDocument(doc1Text);
775var document = new EditorTestHostDocument(doc1Text);
795var document = new EditorTestHostDocument(doc1Text);
862var document = workspace.Documents.Single();
925var document = new EditorTestHostDocument();
986var document = new EditorTestHostDocument();
1047var document = new EditorTestHostDocument("public class C { }");
1048var additionalDoc = new EditorTestHostDocument("some text");
1071var document = new EditorTestHostDocument("public class C { }");
1072var analyzerConfigDoc = new EditorTestHostDocument("root = true");
1101var document = new EditorTestHostDocument("public class C { }");
1102var additionalDoc = new EditorTestHostDocument(startText);
1133var document = new EditorTestHostDocument("public class C { }");
1135var analyzerConfigDoc = new EditorTestHostDocument(startText, filePath: analyzerConfigPath);
1167var document = new EditorTestHostDocument("public class C { }");
1168var additionalDoc = new EditorTestHostDocument(startText);
1196var document = new EditorTestHostDocument("public class C { }");
1197var analyzerConfigDoc = new EditorTestHostDocument(startText);
1227var document = new EditorTestHostDocument("public class C { }");
1228var additionalDoc = new EditorTestHostDocument(startText, "original.config");
1263var document = new EditorTestHostDocument("public class C { }");
1264var analyzerConfigDoc = new EditorTestHostDocument(startText, "original.config");
1301var document = new EditorTestHostDocument("public class C { }");
1302var additionalDoc = new EditorTestHostDocument(startText, "original.config");
1329var document = new EditorTestHostDocument("public class C { }");
1330var analyzerConfigDoc = new EditorTestHostDocument(startText, "original.config");
1357var document = new EditorTestHostDocument("public class C { }", filePath: docFilePath);
1358var additionalDoc = new EditorTestHostDocument("""
1378var document = new EditorTestHostDocument("public class C { }", filePath: docFilePath);
1380var analyzerConfigDoc = new EditorTestHostDocument(@"root = true", filePath: analyzerConfigDocFilePath);
1493var document = new EditorTestHostDocument("class C { }");