2 writes to FilePath
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestHostDocument.cs (2)
109FilePath = filePath; 146FilePath = filePath;
12 references to FilePath
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Interactive\NavigateTo\InteractiveNavigateToTests.cs (1)
624assertDescription("File:", w.Documents.Single().FilePath);
NavigateTo\NavigateToTests.cs (1)
1038assertDescription("File:", w.Documents.Single().FilePath);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Squiggles\TestDiagnosticTagProducer.cs (2)
28Contract.ThrowIfNull(document.FilePath); 43location: new DiagnosticDataLocation(new FileLinePositionSpan(document.FilePath, linePosSpan), document.Id),
Workspaces\EditorTestHostDocument.cs (2)
153_textBuffer = workspace!.GetOrCreateBufferForPath(FilePath, contentType, LanguageServiceProvider.Language, InitialText); 160foreach (var linkedId in workspace.CurrentSolution.GetDocumentIdsWithFilePath(FilePath).Concat(this.Id))
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (5)
Workspaces\TestHostDocument.cs (4)
45_id = sourceGeneratedDocuments.Single(d => d.FilePath == this.FilePath).Id; 187=> _hostDocument.FilePath; 190=> Task.FromResult(TextAndVersion.Create(SourceText.From(_text, encoding: Encoding.UTF8, options.ChecksumAlgorithm), VersionStamp.Create(), _hostDocument.FilePath)); 206return DocumentInfo.Create(Id, Name, Folders, SourceCodeKind, Loader, FilePath, isGenerated: false)
Workspaces\TestWorkspace`1.cs (1)
637Assert.True(document.IsLinkFile || documentFilePaths.Add(document.FilePath!));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
65=> _workspace.Documents.Single().FilePath!;