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
refvarresultClone=refUnsafe.As<Guid,GuidDoppleganger>(refresult);// Deviation from BLC: Reinterpret Guid as our own type so that we can manipulate its private fields
/// Used to manipulate the private fields of a <see cref="Guid"/> like its internal methods do, by treating a <see cref="Guid"/> as a <see cref="GuidDoppleganger"/>.
85
-
/// </summary>
86
-
[StructLayout(LayoutKind.Sequential)]
87
-
internalreadonlystructGuidDoppleganger
88
-
{
89
-
#pragma warning disable IDE1006// Naming Styles -- Avoid further changes to code borrowed from BCL when working with the current type
90
-
internalreadonlyint_a;// Do not rename (binary serialization)
91
-
internalreadonlyshort_b;// Do not rename (binary serialization)
92
-
internalreadonlyshort_c;// Do not rename (binary serialization)
93
-
internalreadonlybyte_d;// Do not rename (binary serialization)
94
-
internalreadonlybyte_e;// Do not rename (binary serialization)
95
-
internalreadonlybyte_f;// Do not rename (binary serialization)
96
-
internalreadonlybyte_g;// Do not rename (binary serialization)
97
-
internalreadonlybyte_h;// Do not rename (binary serialization)
98
-
internalreadonlybyte_i;// Do not rename (binary serialization)
99
-
internalreadonlybyte_j;// Do not rename (binary serialization)
100
-
internalreadonlybyte_k;// Do not rename (binary serialization)
101
-
#pragma warning restore IDE1006// Naming Styles
102
-
}
103
-
104
-
#pragma warning restore IDE0007// Use implicit type
0 commit comments