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
Copy file name to clipboardExpand all lines: dotnet/records.go
+7-12Lines changed: 7 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ type MemberPrimitiveTypedRecord struct {
24
24
typeBinaryArrayRecordstruct {
25
25
ObjectIDint
26
26
BinaryArrayTypeEnumint// 1byte
27
-
Rankint// >=0
27
+
Rankint
28
28
Lengths []int
29
29
LowerBounds []int
30
30
TypeEnumint// 1byte
@@ -138,19 +138,19 @@ func (serializationHeaderRecord SerializationHeaderRecord) GetRecordType() int {
138
138
}
139
139
140
140
func (binaryLibraryRecordBinaryLibraryRecord) GetRecordType() int {
141
-
returnRecordTypeEnumMap["BinaryLibrary"]// must be 12 for binaryLibraryRecord
141
+
returnRecordTypeEnumMap["BinaryLibrary"]
142
142
}
143
143
144
144
func (memberReferenceRecordMemberReferenceRecord) GetRecordType() int {
145
-
returnRecordTypeEnumMap["MemberReference"]// must be 12 for binaryLibraryRecord
145
+
returnRecordTypeEnumMap["MemberReference"]
146
146
}
147
147
148
148
func (memberPrimitiveTypedRecordMemberPrimitiveTypedRecord) GetRecordType() int {
149
-
returnRecordTypeEnumMap["MemberPrimitiveTyped"]// must be 12 for binaryLibraryRecord
149
+
returnRecordTypeEnumMap["MemberPrimitiveTyped"]
150
150
}
151
151
152
152
func (objectNullRecordObjectNullRecord) GetRecordType() int {
153
-
returnRecordTypeEnumMap["ObjectNull"]// must be 12 for binaryLibraryRecord
153
+
returnRecordTypeEnumMap["ObjectNull"]
154
154
}
155
155
156
156
// This one is different from the other recordbecause it usually is not processed within the 'context' of the member values, and needs to be called with information that is not present.
0 commit comments