14 references to TryGetReader
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Utilities\BloomFilterTests.cs (2)
123using var reader = ObjectReader.TryGetReader(stream); 141using var reader = ObjectReader.TryGetReader(stream);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
272using var reader = ObjectReader.TryGetReader(stream, cancellationToken: cancellationToken);
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
72using var reader = ObjectReader.TryGetReader(gzipStream, cancellationToken: cancellationToken);
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (1)
100using var reader = ObjectReader.TryGetReader(stream, cancellationToken: cancellationToken);
ObjectReader.cs (1)
129/// Unlike <see cref="TryGetReader(Stream, bool, CancellationToken)"/>, it requires the version
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
FindAllDeclarationsTests.cs (1)
680using var reader = ObjectReader.TryGetReader(readerStream);
SerializationTests.cs (1)
59using var reader = ObjectReader.TryGetReader(readerStream);
UtilityTest\SourceTextSerializationTests.cs (1)
43using var reader = ObjectReader.TryGetReader(stream);
Roslyn.VisualStudio.Next.UnitTests (5)
Remote\SerializationValidator.cs (1)
93using var reader = ObjectReader.TryGetReader(stream);
Remote\SnapshotSerializationTests.cs (4)
617using var objectReader = ObjectReader.TryGetReader(stream); 636using var objectReader = ObjectReader.TryGetReader(stream); 666using var objectReader = ObjectReader.TryGetReader(stream); 687using var reader = ObjectReader.TryGetReader(stream);