2 writes to FilePath
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestHostDocument.cs (2)
108FilePath = filePath; 145FilePath = filePath;
11 references to FilePath
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Squiggles\TestDiagnosticTagProducer.cs (2)
29Contract.ThrowIfNull(document.FilePath); 44location: new DiagnosticDataLocation(new FileLinePositionSpan(document.FilePath, linePosSpan), document.Id),
Workspaces\EditorTestHostDocument.cs (2)
151_textBuffer = workspace!.GetOrCreateBufferForPath(FilePath, contentType, LanguageServiceProvider.Language, InitialText); 158foreach (var linkedId in workspace.CurrentSolution.GetDocumentIdsWithFilePath(FilePath).Concat(this.Id))
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
310var testDocument = Workspace.Documents.Single(d => d.FilePath == "SourceDocument");
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (5)
Workspaces\TestHostDocument.cs (4)
44_id = sourceGeneratedDocuments.Single(d => d.FilePath == this.FilePath).Id; 186=> _hostDocument.FilePath; 189=> Task.FromResult(TextAndVersion.Create(SourceText.From(_text, encoding: null, options.ChecksumAlgorithm), VersionStamp.Create(), _hostDocument.FilePath)); 205return DocumentInfo.Create(Id, Name, Folders, SourceCodeKind, Loader, FilePath, isGenerated: false)
Workspaces\TestWorkspace`1.cs (1)
664Assert.True(document.IsLinkFile || documentFilePaths.Add(document.FilePath!));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
66=> PathRoot + _workspace.Documents.Single().FilePath!;