diff --git a/src/TypeNameInterpretation/Delimiters.cs b/src/TypeNameInterpretation/Delimiters.cs index 24d0030..6728703 100644 --- a/src/TypeNameInterpretation/Delimiters.cs +++ b/src/TypeNameInterpretation/Delimiters.cs @@ -1,6 +1,9 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using System; + +#if NET using System.Buffers; +#endif namespace TypeNameInterpretation; diff --git a/src/TypeNameInterpretation/FrameworkExtensions/ConvertShims.cs b/src/TypeNameInterpretation/FrameworkExtensions/ConvertShims.cs index d1ece6b..aa54972 100644 --- a/src/TypeNameInterpretation/FrameworkExtensions/ConvertShims.cs +++ b/src/TypeNameInterpretation/FrameworkExtensions/ConvertShims.cs @@ -4,7 +4,10 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; + +#if !NET using TypeNameInterpretation; +#endif namespace System; diff --git a/src/TypeNameInterpretation/InsFormatter.cs b/src/TypeNameInterpretation/InsFormatter.cs index 67d8525..786fd20 100644 --- a/src/TypeNameInterpretation/InsFormatter.cs +++ b/src/TypeNameInterpretation/InsFormatter.cs @@ -1,8 +1,11 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using System; -using System.Buffers; using System.Text; +#if NET +using System.Buffers; +#endif + namespace TypeNameInterpretation; public static class InsFormatter diff --git a/src/TypeNameInterpretation/InsParser.cs b/src/TypeNameInterpretation/InsParser.cs index ff17049..7f616bf 100644 --- a/src/TypeNameInterpretation/InsParser.cs +++ b/src/TypeNameInterpretation/InsParser.cs @@ -1,9 +1,12 @@ // Copyright (c) Brian Reichle. All Rights Reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using System; -using System.Buffers; using System.Collections.Immutable; using System.Text; +#if NET +using System.Buffers; +#endif + namespace TypeNameInterpretation; static class InsParser