9 references to MaxGeneration
Microsoft.CodeAnalysis.Test.Utilities (1)
ObjectReference.cs (1)
141GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true, compacting: true);
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\ForceLowMemoryMode.cs (1)
149GC.Collect(GC.MaxGeneration);
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\RuntimeMetrics.cs (1)
163for (int gen = GC.MaxGeneration; gen >= 0; --gen)
System.Private.CoreLib (2)
src\System\GC.CoreCLR.cs (2)
192bool aggressive = generation == MaxGeneration && mode == GCCollectionMode.Aggressive; 215if (generation != MaxGeneration)
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
1611GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true); 1631GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true);
System\Windows\Forms\ControlTests.Internals.cs (1)
407GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true);
System\Windows\Forms\LayoutEventArgsTests.cs (1)
49GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced, blocking: true);