19 references to Add
Microsoft.CodeAnalysis.UnitTests (4)
Collections\SegmentedArrayTests.cs (4)
157value = IntPtr.Add(value, 1); 167data[i] = IntPtr.Add(data[i], 1); 175((IList<IntPtr>)data)[i] = IntPtr.Add(data[i], 1); 183((IList)data)[i] = IntPtr.Add(data[i], 1);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Windows\Network\WindowsTcpStateInfo.cs (4)
159var rowPtr = IntPtr.Add(tcpTable, offset); 163rowPtr = IntPtr.Add(rowPtr, Marshal.SizeOf<MIB_TCPROW>()); 184var rowPtr = IntPtr.Add(tcpTable, offset); 188rowPtr = IntPtr.Add(rowPtr, Marshal.SizeOf<MIB_TCP6ROW>());
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (8)
Windows\Tcp6TableInfoTests.cs (4)
125var fakePtr = IntPtr.Add(pTcp6Table, offset); 130fakePtr = IntPtr.Add(fakePtr, Marshal.SizeOf<MIB_TCP6ROW>()); 217var fakePtr = IntPtr.Add(pTcp6Table, offset); 222fakePtr = IntPtr.Add(fakePtr, Marshal.SizeOf<MIB_TCP6ROW>());
Windows\TcpTableInfoTests.cs (4)
91var fakePtr = IntPtr.Add(pTcpTable, offset); 96fakePtr = IntPtr.Add(fakePtr, sizeof(MIB_TCPROW)); 160var fakePtr = IntPtr.Add(pTcpTable, offset); 165fakePtr = IntPtr.Add(fakePtr, sizeof(MIB_TCPROW));
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedLanguage.IVsContainedLanguageCodeSupport.cs (1)
247current = IntPtr.Add(current, IntPtr.Size);
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\Interop\LdapPal.Linux.cs (1)
227currentInteractPtr = IntPtr.Add(currentInteractPtr, Marshal.SizeOf<SaslInteractiveChallenge>());
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataObjectTests.cs (1)
2611char* text = (char*)IntPtr.Add((IntPtr)pDropFiles, (int)pDropFiles->pFiles);