2 instantiations of ObjectReader
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.cs (2)
83
return new
ObjectReader
(stream, leaveOpen);
103
var reader = new
ObjectReader
(stream, leaveOpen);
23 references to ObjectReader
Microsoft.CodeAnalysis.CodeStyle (23)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (4)
24
public static ImmutableArray<T> ReadArray<T>(this
ObjectReader
reader, Func<
ObjectReader
, T> read)
27
public 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)
491
public static NamingStyle ReadFrom(
ObjectReader
reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SerializableNamingRule.cs (1)
59
public static SerializableNamingRule ReadFrom(
ObjectReader
reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (3)
236
public static SymbolSpecification ReadFrom(
ObjectReader
reader)
417
public static SymbolKindOrTypeKind ReadFrom(
ObjectReader
reader)
546
public 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"/>.
56
public static
ObjectReader
? TryGetReader(Stream? stream, bool leaveOpen = false)
87
/// Creates an <see cref="
ObjectReader
"/> from the provided <paramref name="stream"/>. Unlike <see
92
public static
ObjectReader
GetReader(Stream stream, bool leaveOpen)
101
public static
ObjectReader
GetReader(Stream stream, bool leaveOpen, bool checkValidationBytes)
103
var
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
106
WriteByte(
ObjectReader
.VersionByte1);
107
WriteByte(
ObjectReader
.VersionByte2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Edge.cs (1)
24
internal static Edge ReadFrom(
ObjectReader
reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Node.cs (1)
35
internal static Node ReadFrom(
ObjectReader
reader)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Serialization.cs (1)
19
internal static BKTree? ReadFrom(
ObjectReader
reader)