48 references to OnDisk
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (48)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (3)
145
if (sourceLocation == Location.
OnDisk
)
280
else if (sourceLocation == Location.
OnDisk
)
299
else if (pdbLocation == Location.
OnDisk
)
PdbSourceDocument\PdbFileLocatorServiceTests.cs (6)
32
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
63
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"), windowsPdb: true);
92
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
PdbSourceDocument\PdbSourceDocumentLoaderServiceTests.cs (4)
36
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
71
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
PdbSourceDocument\PdbSourceDocumentTests.cs (35)
386
await TestAsync(Location.
OnDisk
, Location.
OnDisk
, source, c => c.GetMember("C.E"), buildReferenceAssembly: true, expectNullResult: true);
410
var (project, symbol) = await CompileAndFindSymbolAsync(Path.Combine(path, "ref"), Location.Embedded, Location.
OnDisk
, sourceText, c => c.GetMember("C.E"), buildReferenceAssembly: true);
575
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
580
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
598
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
603
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
620
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
625
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
642
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"), windowsPdb: true);
645
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
663
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
668
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
686
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
693
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source, expectedSpan, expectNullResult: true);
718
var (project, symbol) = await CompileAndFindSymbolAsync(path, Location.
OnDisk
, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
725
CompileTestSource(path, SourceText.From(source2, Encoding.UTF8), project, Location.
OnDisk
, Location.
OnDisk
, buildReferenceAssembly: false, windowsPdb: false);
731
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, source1, expectedSpan, expectNullResult: true);
756
var (project, symbol) = await CompileAndFindSymbolAsync(path, pdbLocation, Location.
OnDisk
, metadataSource, c => c.GetMember("C.E"));
760
await GenerateFileAndVerifyAsync(project, symbol, Location.
OnDisk
, metadataSource, expectedSpan, expectNullResult: true);
772
[InlineData(Location.
OnDisk
, "utf-16")]
773
[InlineData(Location.
OnDisk
, "utf-16BE")]
774
[InlineData(Location.
OnDisk
, "utf-32")]
775
[InlineData(Location.
OnDisk
, "utf-32BE")]
776
[InlineData(Location.
OnDisk
, "us-ascii")]
777
[InlineData(Location.
OnDisk
, "iso-8859-1")]
778
[InlineData(Location.
OnDisk
, "utf-8")]