4 writes to Documents
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Workspaces\TestHostProject`1.cs (4)
113this.Documents = documents; 148this.Documents = documents ?? SpecializedCollections.EmptyEnumerable<TDocument>(); 207this.Documents = this.Documents.Concat(new TDocument[] { document }); 212=> this.Documents = this.Documents.Where(d => d != document);
12 references to Documents
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
MoveToNamespace\MoveToNamespaceTests.cs (1)
1445var testDocument = workspace.Projects.Single(p => p.Name == "Proj1").Documents.Single();
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1425AssertEx.SetEqual(workspace.Projects.SelectMany(p => p.Documents).Select(d => d.Id), eventArgs.Select(e => e.DocumentId));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
SpellCheck\AbstractSpellCheckSpanTests.cs (1)
26var annotations = workspace.Projects.Single().Documents.Single().AnnotatedSpans;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (9)
Workspaces\TestHostProject`1.cs (5)
186if (this.Documents != null) 188foreach (var doc in this.Documents) 207this.Documents = this.Documents.Concat(new TDocument[] { document }); 212=> this.Documents = this.Documents.Where(d => d != document); 265documents: Documents.Where(d => !d.IsSourceGenerated).Select(d => d.ToDocumentInfo()),
Workspaces\TestWorkspace`1.cs (4)
257foreach (var doc in project.Documents) 662foreach (var document in project.Documents) 675Documents.Add(submission.Documents.Single()); 718foreach (var document in project.Documents)