19 references to UIntPtr
mscorlib (14)
system\runtime\interopservices\marshal.cs (7)
1187numBytes = new UIntPtr(unchecked((uint)cb.ToInt32())); 1248UIntPtr len = new UIntPtr((uint)nb); 1279UIntPtr len = new UIntPtr((uint)nb); 1856IntPtr pNewMem = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)cb)); 1879IntPtr hglobal = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)nb)); 1918IntPtr hglobal = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)nb)); 1943IntPtr pNewMem = Win32Native.CoTaskMemRealloc(pv, new UIntPtr((uint)cb));
system\security\principal\windowsidentity.cs (4)
952UIntPtr ptrLength = new UIntPtr(dwLength); 985UIntPtr ptrLength = new UIntPtr((uint)(sourceName.Length + 1)); 1037ptrLength = new UIntPtr((uint)arrayPackageName.Length); 1074using (SafeLocalAllocHandle logonInfoBuffer = Win32Native.LocalAlloc(Win32Native.LPTR, new UIntPtr(logonInfoSize))) {
system\uintptr.cs (3)
127return new UIntPtr(value); 194return new UIntPtr(pointer.ToUInt32() + (uint)offset); 208return new UIntPtr(pointer.ToUInt32() - (uint)offset);
System.Drawing (1)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
4182return IntGlobalAlloc(uFlags, new UIntPtr(dwBytes));
System.Web (1)
Util\altserialization.cs (1)
261value = new UIntPtr(reader.ReadUInt32());
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
54SetHandle(Misc.VirtualAllocEx(_processHandle, IntPtr.Zero, new UIntPtr((uint)cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE));
MS\Internal\AutomationProxies\Misc.cs (2)
595memAddr = VirtualAlloc(IntPtr.Zero, new UIntPtr(cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE); 598VirtualAlloc(new IntPtr((byte *)memAddr.ToPointer() + cbSize - pageSize), new UIntPtr(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);