You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NRBF] Comments and bug fixes from internal code review (dotnet#107735)
* copy comments and asserts from Levis internal code review
* apply Levis suggestion: don't store Array.MaxLength as a const, as it may change in the future
* add missing and fix some of the existing comments
* first bug fix: SerializationRecord.TypeNameMatches should throw ArgumentNullException for null Type argument
* second bug fix: SerializationRecord.TypeNameMatches should know the difference between SZArray and single-dimension, non-zero offset arrays (example: int[] and int[*])
* third bug fix: don't cast bytes to booleans
* fourth bug fix: don't cast bytes to DateTimes
* add one test case that I've forgot in previous PR
Copy file name to clipboardexpand all lines: src/libraries/System.Formats.Nrbf/src/System/Formats/Nrbf/ClassTypeInfo.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
namespaceSystem.Formats.Nrbf;
10
10
11
11
/// <summary>
12
-
/// Identifies a class by it's name and library id.
12
+
/// Identifies a class by its name and library id.
13
13
/// </summary>
14
14
/// <remarks>
15
15
/// ClassTypeInfo structures are described in <see href="https://learn.microsoft.com/openspecs/windows_protocols/ms-nrbf/844b24dd-9f82-426e-9b98-05334307a239">[MS-NRBF] 2.1.1.8</see>.
0 commit comments