15 references to U2
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
458internal static partial int GetClassName(IntPtr hWnd, [Out, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U2)] char[] lpClassName, int nMaxCount);
Microsoft.Interop.SourceGeneration (2)
Marshalling\CharMarshallingGeneratorResolver.cs (1)
52case UnmanagedType.U2:
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
44or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_UInt16 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.U2, _) }
PresentationCore (3)
MS\Internal\TextFormatting\LineServices.cs (3)
707[MarshalAs(UnmanagedType.U2)] 710[MarshalAs(UnmanagedType.U2)] 1228[MarshalAs(UnmanagedType.U2)]
PresentationFramework (2)
System\Windows\Documents\NaturalLanguageHyphenator.cs (1)
222[In, MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U2, SizeParamIndex = 2)]
System\Windows\Standard\NativeMethods.cs (1)
1736[MarshalAs(UnmanagedType.U2)]
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComTypes\FORMATETC.cs (1)
11[MarshalAs(UnmanagedType.U2)]
UIAutomationTypes (6)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (5)
4326[MarshalAs(UnmanagedType.U2)] // leftover(offset=0, palVersion) 4329[MarshalAs(UnmanagedType.U2)] // leftover(offset=2, palNumEntries) 4341[MarshalAs(UnmanagedType.U2)/*leftover(offset=8, cAccel)*/] 5057[MarshalAs(UnmanagedType.U2)] 5059[MarshalAs(UnmanagedType.U2)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
1599[In, MarshalAs(UnmanagedType.U2)]