1 type derived from Random
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\SynchronizedRandom.cs (1)
9class SynchronizedRandom : Random
34 instantiations of Random
mscorlib (2)
system\Collections\Concurrent\ConcurrentStack.cs (1)
682Random r = new Random(Environment.TickCount & Int32.MaxValue); // avoid the case where TickCount could return Int32.MinValue
system\threading\threadpool.cs (1)
876public readonly Random random = new Random(Thread.CurrentThread.ManagedThreadId);
System (2)
compmod\microsoft\win32\SystemEvents.cs (1)
49private static Random randomTimerId = new Random();
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
46private static readonly Random s_KeyGenerator = new Random();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\LoadRetryExponentialBackoffStrategy.cs (1)
17Random random = new Random(DateTime.Now.Millisecond);
System.AddIn (1)
System\Addin\Pipeline\ContractBase.cs (1)
112m_random = new Random();
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
419private static readonly Random _random = new Random(5101977); // Value obtained from Dave Driver
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
160Random random = new Random();
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (1)
215static Random rnd = new Random(1507);
System.IdentityModel (2)
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
41static Random rnd = new Random(); 1062rnd = new Random(unchecked((int)DateTime.Now.Ticks));
System.ServiceModel (6)
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
17static Random random = new Random();
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
51static Random randomGenerator = new Random();
System\ServiceModel\Channels\TcpChannelListener.cs (1)
185static Random randomPortGenerator = new Random(AppDomain.CurrentDomain.GetHashCode() | Environment.TickCount);
System\ServiceModel\Channels\UtilityExtension.cs (1)
45pruneInterval = TimeSpan.FromMilliseconds(PruneIntervalMilliseconds + new Random(Process.GetCurrentProcess().Id).Next(PruneIntervalMilliseconds));
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
431this.random = new Random(unchecked((int)DateTime.Now.Ticks));
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
467Random random = new Random();
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
165Random randomNumberGenerator = new Random(AppDomain.CurrentDomain.GetHashCode() | Environment.TickCount);
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (1)
52Random random = new Random();
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (1)
43this.random = new Random();
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (1)
68Random innerRandom = (random != null) ? random : new Random();
System.ServiceModel.Internals (1)
System\Runtime\BackoffTimeoutHelper.cs (1)
38this.random = new Random(GetHashCode());
System.Web (2)
Security\Membership.cs (1)
346Random rand = new Random();
UI\WebControls\AdRotator.cs (1)
493_random = new Random();
System.Web.DataVisualization (2)
Common\DataManager\DataSeries.cs (1)
1009 Random random2 = new Random(seed);
Common\General\AxisScaleSegments.cs (1)
602 Random rand = new Random(435657);
System.Web.Mobile (2)
UI\MobileControls\Adapters\ChtmlTextBoxAdapter.cs (1)
27private static Random _random = new Random();
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
75private static Random _random = new Random();
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListView.cs (2)
3245rnd = new Random((int)System.DateTime.Now.Ticks); 3247rnd = new Random(handle);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5399Random rnd = new Random(DateTime.Now.Millisecond);
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataSeries.cs (1)
1009 Random random2 = new Random(seed);
Common\General\AxisScaleSegments.cs (1)
602 Random rand = new Random(435657);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
886_random = new Random();
34 references to Random
mscorlib (2)
system\Collections\Concurrent\ConcurrentStack.cs (1)
682Random r = new Random(Environment.TickCount & Int32.MaxValue); // avoid the case where TickCount could return Int32.MinValue
system\threading\threadpool.cs (1)
876public readonly Random random = new Random(Thread.CurrentThread.ManagedThreadId);
System (2)
compmod\microsoft\win32\SystemEvents.cs (1)
49private static Random randomTimerId = new Random();
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
46private static readonly Random s_KeyGenerator = new Random();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\LoadRetryExponentialBackoffStrategy.cs (1)
17Random random = new Random(DateTime.Now.Millisecond);
System.AddIn (1)
System\Addin\Pipeline\ContractBase.cs (1)
37private Random m_random;
System.Data (2)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
419private static readonly Random _random = new Random(5101977); // Value obtained from Dave Driver
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
160Random random = new Random();
System.Data.Entity (1)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (1)
215static Random rnd = new Random(1507);
System.IdentityModel (1)
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
41static Random rnd = new Random();
System.ServiceModel (5)
System\ServiceModel\Channels\ConnectAlgorithms.cs (1)
17static Random random = new Random();
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
51static Random randomGenerator = new Random();
System\ServiceModel\Channels\TcpChannelListener.cs (1)
185static Random randomPortGenerator = new Random(AppDomain.CurrentDomain.GetHashCode() | Environment.TickCount);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
40Random random;
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
467Random random = new Random();
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
165Random randomNumberGenerator = new Random(AppDomain.CurrentDomain.GetHashCode() | Environment.TickCount);
System.ServiceModel.Discovery (6)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (1)
52Random random = new Random();
System\ServiceModel\Discovery\AnnouncementSendsAsyncResult.cs (1)
24Random random,
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (1)
16readonly Random random;
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (3)
46protected RandomDelaySendsAsyncResult(int numSends, TimeSpan maxDelay, ICommunicationObject channel, Random random, AsyncCallback callback, object state) 68Random innerRandom = (random != null) ? random : new Random(); 315public static long RandomDelay(Random randomGenerator, long maxTicks)
System.ServiceModel.Internals (1)
System\Runtime\BackoffTimeoutHelper.cs (1)
23Random random;
System.Web (2)
Security\Membership.cs (1)
346Random rand = new Random();
UI\WebControls\AdRotator.cs (1)
49private static Random _random;
System.Web.DataVisualization (2)
Common\DataManager\DataSeries.cs (1)
1009 Random random2 = new Random(seed);
Common\General\AxisScaleSegments.cs (1)
602 Random rand = new Random(435657);
System.Web.Mobile (2)
UI\MobileControls\Adapters\ChtmlTextBoxAdapter.cs (1)
27private static Random _random = new Random();
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (1)
75private static Random _random = new Random();
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ListView.cs (1)
3241Random rnd;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5399Random rnd = new Random(DateTime.Now.Millisecond);
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataSeries.cs (1)
1009 Random random2 = new Random(seed);
Common\General\AxisScaleSegments.cs (1)
602 Random rand = new Random(435657);
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (1)
902private Random _random;