From 5da1ba4529094514f954688c9a55d29cae39d232 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 27 Sep 2024 15:24:01 +1000 Subject: [PATCH] cleanup --- src/Polyfill/Nullability/NullabilityInfo.cs | 8 -------- src/Polyfill/Nullability/NullabilityInfoContext.cs | 7 ------- 2 files changed, 15 deletions(-) diff --git a/src/Polyfill/Nullability/NullabilityInfo.cs b/src/Polyfill/Nullability/NullabilityInfo.cs index bb9a6887..331c8ed5 100644 --- a/src/Polyfill/Nullability/NullabilityInfo.cs +++ b/src/Polyfill/Nullability/NullabilityInfo.cs @@ -5,20 +5,12 @@ #nullable enable -using System.Linq; -using System.Diagnostics.CodeAnalysis; - // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using System.Collections.ObjectModel; - namespace System.Reflection; -using System.Linq; using System.Diagnostics.CodeAnalysis; -using System.Collections.Generic; -using System.Collections.ObjectModel; using System.Diagnostics; using Link = System.ComponentModel.DescriptionAttribute; diff --git a/src/Polyfill/Nullability/NullabilityInfoContext.cs b/src/Polyfill/Nullability/NullabilityInfoContext.cs index f9efdc85..4c3a6b78 100644 --- a/src/Polyfill/Nullability/NullabilityInfoContext.cs +++ b/src/Polyfill/Nullability/NullabilityInfoContext.cs @@ -5,10 +5,7 @@ #nullable enable - namespace System.Reflection; -using System.Linq; -using System.Diagnostics.CodeAnalysis; // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. @@ -16,11 +13,7 @@ namespace System.Reflection; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; -using System.Linq; using System.Diagnostics.CodeAnalysis; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Diagnostics; /// /// Provides APIs for populating nullability information/context from reflection members: