System.Diagnostics.Tests.ProcessThreadTests.TestStartAddressProperty C# (CSharp) Method

TestStartAddressProperty() private method

private TestStartAddressProperty ( ) : void
return void
        public void TestStartAddressProperty()
        {
            using (Process p = Process.GetCurrentProcess())
            {
                ProcessThreadCollection threads = p.Threads;
                Assert.NotNull(threads);
                Assert.NotEmpty(threads);

                IntPtr startAddress = threads[0].StartAddress; 

                // There's nothing we can really validate about StartAddress, other than that we can get its value
                // without throwing.  All values (even zero) are valid on all platforms.
            }
        }