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)
1024
var loader = new
TestTextLoader
("new text");
1046
var loader = new
TestTextLoader
("new text");
1068
var loader = new
TestTextLoader
("new text");
1677
var textLoaderA = new
TestTextLoader
("class A {}", SourceHashAlgorithm.Sha1);
2427
var loader = new
TestTextLoader
(checksumAlgorithm: SourceHashAlgorithm.Sha1);
5690
static (s, documentId) => s.WithDocumentTextLoader(documentId, new
TestTextLoader
(Guid.NewGuid().ToString()), PreservationMode.PreserveValue), documentId).GetReference();