From 453370ac9f1b666db8c469388c38b9f22101b8b0 Mon Sep 17 00:00:00 2001
From: Neil <49037171+neilr81@users.noreply.github.com>
Date: Wed, 17 Jan 2024 16:57:56 +0000
Subject: [PATCH] Delete src/Abstractions/NetStandardCompatability.cs
---
src/Abstractions/NetStandardCompatability.cs | 37 --------------------
1 file changed, 37 deletions(-)
delete mode 100644 src/Abstractions/NetStandardCompatability.cs
diff --git a/src/Abstractions/NetStandardCompatability.cs b/src/Abstractions/NetStandardCompatability.cs
deleted file mode 100644
index 94c2eec2..00000000
--- a/src/Abstractions/NetStandardCompatability.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT license.
-
-#if NETSTANDARD2_0 || NETFRAMEWORK // This marker attribute only available starting from netstandard 2.1, so we need a replacement to build for full framework
-namespace System.Diagnostics.CodeAnalysis
-{
- ///
- /// Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
- ///
- [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
- public sealed class NotNullWhenAttribute : Attribute
- {
- ///
- /// Initializes the attribute with the specified return value condition
- ///
- ///
- /// The return value condition. If the method returns this value, the associated parameter will not be null
- ///
- public NotNullWhenAttribute(bool returnValue) => ReturnValue = returnValue;
-
- ///
- /// Gets the return value condition
- ///
- public bool ReturnValue { get; }
- }
-}
-#endif
-
-#if !NET5_0_OR_GREATER
-namespace System.Runtime.CompilerServices
-{
- ///
- /// Stub to allow using record and init properties when building for older targets
- ///
- public static class IsExternalInit { }
-}
-#endif