|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981,SYSLIB1092
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace Networking.WinSock
{
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.269+368685089b.RR")]
internal partial struct SCOPE_ID
{
internal _Anonymous_e__Union Anonymous;
[StructLayout(LayoutKind.Explicit)]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.269+368685089b.RR")]
internal partial struct _Anonymous_e__Union
{
[FieldOffset(0)]
internal _Anonymous_e__Struct Anonymous;
[FieldOffset(0)]
internal uint Value;
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.269+368685089b.RR")]
internal partial struct _Anonymous_e__Struct
{
internal uint _bitfield;
/// <summary>Gets or sets bits 0-27 in the <see cref="_bitfield" /> field. Allowed values are [0..268435455].</summary>
internal uint Zone
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
readonly get => (uint)((this._bitfield >> 0) & 0x0FFFFFFF);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
set
{
global::System.Diagnostics.Debug.Assert(value is <= (uint)268435455L);
this._bitfield = (uint)((this._bitfield & unchecked((uint)~0x0FFFFFFF)) | ((uint)(value & 0x0FFFFFFF) << 0));
}
}
/// <summary>Gets or sets bits 28-31 in the <see cref="_bitfield" /> field. Allowed values are [0..15].</summary>
internal byte Level
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
readonly get => (byte)((this._bitfield >> 28) & 0x0000000F);
[MethodImpl(MethodImplOptions.AggressiveInlining)]
set
{
global::System.Diagnostics.Debug.Assert(value is <= (byte)15L);
this._bitfield = (uint)((this._bitfield & unchecked((uint)~0xF0000000)) | ((uint)(value & 0x0000000F) << 28));
}
}
}
}
}
}
}
|