76 references to U2
mscorlib (13)
microsoft\win32\win32native.cs (8)
232[MarshalAs(UnmanagedType.U2)] 234[MarshalAs(UnmanagedType.U2)] 236[MarshalAs(UnmanagedType.U2)] 238[MarshalAs(UnmanagedType.U2)] 240[MarshalAs(UnmanagedType.U2)] 242[MarshalAs(UnmanagedType.U2)] 244[MarshalAs(UnmanagedType.U2)] 246[MarshalAs(UnmanagedType.U2)]
system\deployment\isolationinterop.cs (5)
2209[MarshalAs(UnmanagedType.U2)] public UInt16 Revision; 2210[MarshalAs(UnmanagedType.U2)] public UInt16 Build; 2211[MarshalAs(UnmanagedType.U2)] public UInt16 Minor; 2212[MarshalAs(UnmanagedType.U2)] public UInt16 Major; 2709[MarshalAs(UnmanagedType.U2)] public UInt16 ProcArch;
PresentationCore (3)
Core\CSharp\MS\Internal\TextFormatting\LineServices.cs (3)
761[MarshalAs(UnmanagedType.U2)] 764[MarshalAs(UnmanagedType.U2)] 1439[MarshalAs(UnmanagedType.U2)]
PresentationFramework (2)
src\Framework\System\Windows\Documents\NaturalLanguageHyphenator.cs (1)
257[In, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U2, SizeParamIndex = 2)]
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
1831[MarshalAs(UnmanagedType.U2)]
System (1)
compmod\System\Runtime\InteropServices\ComTypes\FORMATETC.cs (1)
15[MarshalAs(UnmanagedType.U2)]
System.Core (8)
Microsoft\Win32\UnsafeNativeMethods.cs (8)
713[MarshalAs(UnmanagedType.U2)] 715[MarshalAs(UnmanagedType.U2)] 717[MarshalAs(UnmanagedType.U2)] 719[MarshalAs(UnmanagedType.U2)] 721[MarshalAs(UnmanagedType.U2)] 723[MarshalAs(UnmanagedType.U2)] 725[MarshalAs(UnmanagedType.U2)] 727[MarshalAs(UnmanagedType.U2)]
System.Data.SqlXml (8)
System\Xml\Xsl\Runtime\XsltFunctions.cs (8)
308[MarshalAs(UnmanagedType.U2)] public ushort Year; 309[MarshalAs(UnmanagedType.U2)] public ushort Month; 310[MarshalAs(UnmanagedType.U2)] public ushort DayOfWeek; 311[MarshalAs(UnmanagedType.U2)] public ushort Day; 312[MarshalAs(UnmanagedType.U2)] public ushort Hour; 313[MarshalAs(UnmanagedType.U2)] public ushort Minute; 314[MarshalAs(UnmanagedType.U2)] public ushort Second; 315[MarshalAs(UnmanagedType.U2)] public ushort Milliseconds;
System.Web.Mobile (3)
UI\MobileControls\Design\NativeMethods.cs (3)
195[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U2)] 197[MarshalAs(System.Runtime.InteropServices.UnmanagedType.U2)] 2521[In, MarshalAs(UnmanagedType.U2)]
System.Windows.Forms (32)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (5)
2225[MarshalAs(UnmanagedType.U2)] public UInt16 Revision; 2226[MarshalAs(UnmanagedType.U2)] public UInt16 Build; 2227[MarshalAs(UnmanagedType.U2)] public UInt16 Minor; 2228[MarshalAs(UnmanagedType.U2)] public UInt16 Major; 2725[MarshalAs(UnmanagedType.U2)] public UInt16 ProcArch;
winforms\Managed\System\WinForms\NativeMethods.cs (25)
3596[MarshalAs(UnmanagedType.U2)] 3599[MarshalAs(UnmanagedType.U2)] 4223[MarshalAs(UnmanagedType.U2)/*leftover(offset=0, palVersion)*/] 4226[MarshalAs(UnmanagedType.U2)/*leftover(offset=2, palNumEntries)*/] 4239[MarshalAs(UnmanagedType.U2)/*leftover(offset=8, cAccel)*/] 4790[MarshalAs(UnmanagedType.U2)] 4792[MarshalAs(UnmanagedType.U2)] 4794[MarshalAs(UnmanagedType.U2)] 4796[MarshalAs(UnmanagedType.U2)] 4926[MarshalAs(UnmanagedType.U2)] 4928[MarshalAs(UnmanagedType.U2)] 4985[MarshalAs(UnmanagedType.U2)] 4995[MarshalAs(UnmanagedType.U2)] 6119[MarshalAs(UnmanagedType.U2)] 6270[MarshalAs(UnmanagedType.U2)] 6272[MarshalAs(UnmanagedType.U2)] 6274[MarshalAs(UnmanagedType.U2)] 6276[MarshalAs(UnmanagedType.U2)] 6278[MarshalAs(UnmanagedType.U2)] 6280[MarshalAs(UnmanagedType.U2)] 6282[MarshalAs(UnmanagedType.U2)] 6284[MarshalAs(UnmanagedType.U2)] 6292[MarshalAs(UnmanagedType.U2)] 6299[MarshalAs(UnmanagedType.U2)] 6350[MarshalAs(UnmanagedType.U2)]
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
2102[In, MarshalAs(UnmanagedType.U2)] 7171[In, MarshalAs(UnmanagedType.U2)]
WindowsBase (6)
Shared\MS\Win32\NativeMethodsCLR.cs (5)
4495[MarshalAs(UnmanagedType.U2)] // leftover(offset=0, palVersion) 4498[MarshalAs(UnmanagedType.U2)] // leftover(offset=2, palNumEntries) 4510[MarshalAs(UnmanagedType.U2)/*leftover(offset=8, cAccel)*/] 5274[MarshalAs(UnmanagedType.U2)] 5276[MarshalAs(UnmanagedType.U2)]
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
2501[In, MarshalAs(UnmanagedType.U2)]