From deb7c22317e9e5e2f0c67b4924dbb92ac2c2e374 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 10 Oct 2025 10:25:17 +0200 Subject: [PATCH] [src] Fix build breakage due to #define being used too late in a few source files --- src/FSKit/FSKitFunctions.cs | 8 ++++---- src/fskit.cs | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/FSKit/FSKitFunctions.cs b/src/FSKit/FSKitFunctions.cs index acb1f83c3ec..ec26837b537 100644 --- a/src/FSKit/FSKitFunctions.cs +++ b/src/FSKit/FSKitFunctions.cs @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -using System.Diagnostics.CodeAnalysis; - -#nullable enable - // Let's hope that by .NET 11 we've ironed out all the bugs in the API. // This can of course be adjusted as needed (until we've released as stable). #if NET11_0_OR_GREATER #define STABLE_FSKIT #endif +using System.Diagnostics.CodeAnalysis; + +#nullable enable + namespace FSKit { #if !STABLE_FSKIT [Experimental ("APL0002")] diff --git a/src/fskit.cs b/src/fskit.cs index abae7b8211e..1dfb67794ac 100644 --- a/src/fskit.cs +++ b/src/fskit.cs @@ -1,18 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -using System.ComponentModel; -using System.Diagnostics.CodeAnalysis; - -using CoreFoundation; -using Darwin; - // Let's hope that by .NET 11 we've ironed out all the bugs in the API. // This can of course be adjusted as needed (until we've released as stable). #if NET11_0_OR_GREATER #define STABLE_FSKIT #endif +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; + +using CoreFoundation; +using Darwin; + using FSDirectoryCookie = System.UInt64; using FSDirectoryVerifier = System.UInt64; using FSOperationId = System.UIntPtr; // typedef NSUInteger FSOperationID