28 references to ReadRequiredString
Microsoft.CodeAnalysis.Workspaces (28)
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (4)
204var name = reader.ReadRequiredString(); 240var typeName = reader.ReadRequiredString(); 245var containerName = reader.ReadRequiredString(); 246var name = reader.ReadRequiredString();
FindSymbols\SyntaxTree\SyntaxTreeIndex_Persistence.cs (2)
76reader.ReadRequiredString(), 77reader.ReadRequiredString(),
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (3)
193var name = reader.ReadRequiredString(); 196var fullyQualifiedContainerName = reader.ReadRequiredString(); 201var inheritanceNames = reader.ReadArray(static r => r.ReadRequiredString());
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex.ExtensionMethodInfo.cs (1)
65receiverTypeNameToExtensionMethodMapBuilder[reader.ReadRequiredString()] = reader.ReadArray(static r => r.ReadInt32());
Serialization\SerializerService.cs (2)
213var language = reader.ReadRequiredString(); 224var value = reader.ReadRequiredString();
Serialization\SerializerService_Asset.cs (2)
40var language = reader.ReadRequiredString(); 61var language = reader.ReadRequiredString();
Serialization\SerializerService_Reference.cs (2)
164return new AnalyzerFileReference(reader.ReadRequiredString(), _analyzerLoaderProvider.SharedShadowCopyLoader); 315var aliases = reader.ReadArray(static r => r.ReadRequiredString());
Shared\Extensions\SourceTextExtensions.cs (1)
251return new StringReader(reader.ReadRequiredString());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (1)
228return Encoding.GetEncoding(ReadRequiredString());
Workspace\Solution\DocumentInfo.cs (2)
248var name = reader.ReadRequiredString(); 249var folders = reader.ReadArray(static r => r.ReadRequiredString());
Workspace\Solution\ProjectInfo.cs (3)
634var name = reader.ReadRequiredString(); 635var assemblyName = reader.ReadRequiredString(); 636var language = reader.ReadRequiredString();
Workspace\Solution\SourceGeneratedDocumentIdentity.cs (5)
91var hintName = reader.ReadRequiredString(); 92var generatorAssemblyName = reader.ReadRequiredString(); 94var generatorAssemblyVersion = Version.Parse(reader.ReadRequiredString()); 95var generatorTypeName = reader.ReadRequiredString(); 96var filePath = reader.ReadRequiredString();