7 types derived from BinaryReader
Microsoft.Build (1)
Microsoft.Build.Tasks.Core (1)
MSBuild (1)
MSBuildTaskHost (1)
PresentationFramework (2)
System.Private.Xml (1)
139 instantiations of BinaryReader
BinaryFormatTests (1)
csc (2)
GenerateDocumentationAndConfigFiles (1)
illink (2)
Metrics (1)
Metrics.Legacy (1)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.Build (2)
Microsoft.Build.Engine.UnitTests (9)
Microsoft.Build.Framework.UnitTests (12)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (3)
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.SignCheckLibrary (8)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.SignTool.Tests (2)
Microsoft.DotNet.StrongName (3)
Microsoft.Maui.Graphics (1)
Microsoft.ML.Core (3)
Microsoft.ML.Data (6)
Microsoft.ML.FastTree (1)
Microsoft.Private.Windows.Polyfills.Tests (5)
Microsoft.VisualBasic.Core (1)
PresentationCore (7)
PresentationFramework (10)
Replay (2)
Roslyn.Diagnostics.Analyzers (1)
System.ComponentModel.TypeConverter (1)
System.Formats.Nrbf (1)
System.Private.CoreLib (4)
System.Reflection.Metadata (1)
System.Resources.Extensions (2)
System.Security.Cryptography (3)
System.Transactions.Local (1)
System.Windows.Forms (1)
Test.Utilities (1)
Text.Analyzers (1)
vbc (2)
VBCSCompiler (2)
610 references to BinaryReader
BinaryFormatTests (2)
csc (8)
GenerateDocumentationAndConfigFiles (2)
illink (2)
Metrics (2)
Metrics.Legacy (2)
Microsoft.AspNetCore.Authentication (11)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Identity (3)
Microsoft.Build (24)
Microsoft.Build.Engine.UnitTests (11)
Microsoft.Build.Framework (56)
Microsoft.Build.Framework.UnitTests (12)
Microsoft.Build.Tasks.CodeAnalysis (16)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (16)
Microsoft.Build.Tasks.Core (10)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (8)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.SignCheckLibrary (14)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.SignTool.Tests (2)
Microsoft.DotNet.StrongName (4)
Microsoft.Maui.Graphics (1)
Microsoft.ML.Core (37)
Data\ModelHeader.cs (3)
321public static void BeginRead(out long fpMin, out ModelHeader header, out string[] strings, out string loaderAssemblyName, BinaryReader reader)
340public static void EndRead(long fpMin, ref ModelHeader header, BinaryReader reader)
466public static bool TryValidate(ref ModelHeader header, BinaryReader reader, long fpMin, out string[] strings, out string loaderAssemblyName, out Exception ex)
Data\ModelLoading.cs (5)
194using (var reader = new BinaryReader(stream, Encoding.UTF8, leaveOpen: true))
213public static bool TryLoadModel<TRes, TSig>(IHostEnvironment env, out TRes result, BinaryReader reader, params object[] extra)
228public static void LoadModel<TRes, TSig>(IHostEnvironment env, out TRes result, BinaryReader reader, params object[] extra)
326public bool TryLoadBinaryStream(string name, Action<BinaryReader> action)
337using (var reader = new BinaryReader(ent.Stream, Encoding.UTF8, leaveOpen: true))
Utilities\Stream.cs (26)
445public static long FpCur(this BinaryReader reader)
450public static void Seek(this BinaryReader reader, long fp)
455public static bool ReadBoolByte(this BinaryReader reader)
462public static float ReadFloat(this BinaryReader reader)
467public static float[] ReadFloatArray(this BinaryReader reader)
476public static float[] ReadFloatArray(this BinaryReader reader, int size)
490public static void ReadFloatArray(this BinaryReader reader, float[] array, int start, int count)
500public static float[] ReadSingleArray(this BinaryReader reader)
505public static float[] ReadSingleArray(this BinaryReader reader, int size)
510public static double[] ReadDoubleArray(this BinaryReader reader)
519public static double[] ReadDoubleArray(this BinaryReader reader, int size)
532public static int[] ReadIntArray(this BinaryReader reader)
541public static int[] ReadIntArray(this BinaryReader reader, int size)
555public static uint[] ReadUIntArray(this BinaryReader reader)
564public static uint[] ReadUIntArray(this BinaryReader reader, int size)
578public static long[] ReadLongArray(this BinaryReader reader)
587public static long[] ReadLongArray(this BinaryReader reader, int size)
601public static bool[] ReadBoolArray(this BinaryReader reader)
610public static bool[] ReadBoolArray(this BinaryReader reader, int size)
626public static char[] ReadCharArray(this BinaryReader reader)
635public static char[] ReadCharArray(this BinaryReader reader, int size)
649public static byte[] ReadByteArray(this BinaryReader reader)
658public static byte[] ReadByteArray(this BinaryReader reader, int size)
670public static BitArray ReadBitArray(this BinaryReader reader)
683private static unsafe void ReadBinaryDataIntoSpan<T>(BinaryReader reader, Span<T> destination) where T : unmanaged
770public static ulong ReadLeb128Int(this BinaryReader reader)
Microsoft.ML.Data (31)
Microsoft.ML.FastTree (3)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.TimeSeries (10)
Microsoft.Private.Windows.Core (5)
Microsoft.Private.Windows.Polyfills.Tests (5)
Microsoft.VisualBasic.Core (1)
MSBuild (4)
MSBuildTaskHost (9)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlSerializer.cs (1)
109BinaryReader reader)
PresentationCore (30)
MS\Internal\Media\ParserStreamGeometryContext.cs (13)
305internal static void Deserialize(BinaryReader br, StreamGeometryContext sc, StreamGeometry geometry)
373private static void DeserializeFillRule(BinaryReader br, Byte firstByte, StreamGeometry geometry)
386private static void DeserializeBeginFigure(BinaryReader br, Byte firstByte, StreamGeometryContext sc)
397private static void DeserializeLineTo(BinaryReader br, Byte firstByte, StreamGeometryContext sc)
408private static void DeserializeQuadraticBezierTo(BinaryReader br, byte firstByte, StreamGeometryContext sc)
423private static void DeserializeBezierTo(BinaryReader br, byte firstByte, StreamGeometryContext sc)
443private static void DeserializePolyLineTo(BinaryReader br, Byte firstByte, StreamGeometryContext sc)
454private static void DeserializePolyQuadraticBezierTo(BinaryReader br, Byte firstByte, StreamGeometryContext sc)
465private static void DeserializePolyBezierTo(BinaryReader br, Byte firstByte, StreamGeometryContext sc)
477private static void DeserializeArcTo(BinaryReader br, byte firstByte, StreamGeometryContext sc)
531private static IList<Point> DeserializeListOfPointsAndTwoBools(BinaryReader br, Byte firstByte, out bool bool1, out bool bool2)
556private static void DeserializePointAndTwoBools(BinaryReader br, Byte firstByte, out Point point, out bool bool1, out bool bool2)
567private static Double DeserializeDouble(BinaryReader br, bool isScaledInt)
PresentationFramework (68)
Replay (8)
Roslyn.Diagnostics.Analyzers (2)
System.ComponentModel.TypeConverter (1)
System.Formats.Nrbf (42)
System.IO (1)
System.IO.Compression.Brotli (1)
System.Private.CoreLib (4)
System.Private.Windows.Core (4)
System.Private.Xml (6)
System.Reflection.Metadata (1)
System.Resources.Extensions (6)
System.Runtime (1)
System.Runtime.Extensions (1)
System.Security.Claims (27)
System.Security.Cryptography (6)
System.Transactions.Local (1)
System.Windows.Forms (1)
Test.Utilities (2)
Text.Analyzers (2)
vbc (8)
VBCSCompiler (8)