2 instantiations of ObjectReader
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (2)
83return new ObjectReader(stream, leaveOpen); 103var reader = new ObjectReader(stream, leaveOpen);
23 references to ObjectReader
Microsoft.CodeAnalysis.CodeStyle (23)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (4)
24public static ImmutableArray<T> ReadArray<T>(this ObjectReader reader, Func<ObjectReader, T> read) 27public static ImmutableArray<T> ReadArray<T, TArg>(this ObjectReader reader, Func<ObjectReader, TArg, T> read, TArg arg)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (1)
491public static NamingStyle ReadFrom(ObjectReader reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
59public static SerializableNamingRule ReadFrom(ObjectReader reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (3)
236public static SymbolSpecification ReadFrom(ObjectReader reader) 417public static SymbolKindOrTypeKind ReadFrom(ObjectReader reader) 546public static ModifierKind ReadFrom(ObjectReader reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (8)
17/// An <see cref="ObjectReader"/> that deserializes objects from a byte stream. 37/// Creates a new instance of a <see cref="ObjectReader"/>. 52/// Attempts to create a <see cref="ObjectReader"/> from the provided <paramref name="stream"/>. 56public static ObjectReader? TryGetReader(Stream? stream, bool leaveOpen = false) 87/// Creates an <see cref="ObjectReader"/> from the provided <paramref name="stream"/>. Unlike <see 92public static ObjectReader GetReader(Stream stream, bool leaveOpen) 101public static ObjectReader GetReader(Stream stream, bool leaveOpen, bool checkValidationBytes) 103var reader = new ObjectReader(stream, leaveOpen);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.cs (3)
101/// <see cref="ObjectReader"/> to be able to easily detect if it is being improperly used, or if the stream is 106WriteByte(ObjectReader.VersionByte1); 107WriteByte(ObjectReader.VersionByte2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Edge.cs (1)
24internal static Edge ReadFrom(ObjectReader reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Node.cs (1)
35internal static Node ReadFrom(ObjectReader reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Serialization.cs (1)
19internal static BKTree? ReadFrom(ObjectReader reader)