10 references to TestTextLoader
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
MiscellaneousFiles\LspMiscellaneousFilesWorkspaceTests.cs (1)
32
loader: new
TestTextLoader
(content)));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestDynamicFileInfoProviderThatProducesFiles.cs (1)
35
new
TestTextLoader
(GetDynamicFileText(filePath)),
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
SolutionTests\DocumentInfoTests.cs (2)
33
var loader = new
TestTextLoader
("text");
111
SolutionTestHelpers.TestProperty(instance, (old, value) => old.WithTextLoader(value), opt => opt.TextLoader, (TextLoader)new
TestTextLoader
("text"));
SolutionTests\SolutionTests.cs (6)
1010
var loader = new
TestTextLoader
("new text");
1032
var loader = new
TestTextLoader
("new text");
1054
var loader = new
TestTextLoader
("new text");
1616
var textLoaderA = new
TestTextLoader
("class A {}", SourceHashAlgorithm.Sha1);
2366
var loader = new
TestTextLoader
(checksumAlgorithm: SourceHashAlgorithm.Sha1);
5523
static (s, documentId) => s.WithDocumentTextLoader(documentId, new
TestTextLoader
(Guid.NewGuid().ToString()), PreservationMode.PreserveValue), documentId).GetReference();