// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.Reflection; using Xunit; namespace Microsoft.TestCommon { public class ForceGCAttribute : BeforeAfterTestAttribute { public override void After(MethodInfo methodUnderTest) { GC.Collect(99); GC.Collect(99); GC.Collect(99); } } }