// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// This file is compiled 3(!) times in the codebase
// - as the internal implementation of printf '%A' formatting
// defines: FSHARP_CORE
// - as the internal implementation of structured formatting in FSharp.Compiler.Service.dll
// - as the internal implementation of printf '%A' formatting in FSharp.Core
// - as the internal implementation of structured formatting in the compiler and F# Interactive
// defines: COMPILER
// NOTE: this implementation is used by fsi.exe. This is very important.
//
// The one implementation file is used because we very much want to keep the implementations of
// structured formatting the same for fsi.exe and '%A' printing. However fsi.exe may have
...
...
@@ -17,17 +15,10 @@
#nowarn"52"// The value has been copied to ensure the original is not mutated by this operation
// Use F# Interactive. This only works for FSharp.Compiler.Service.dll which has a public API
// Use F# Interactive. This only works for FSharp.Compiler.Service.Internal.dll which has a public API
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Use F# Interactive. This only works for FSharp.Compiler.Service.dll which has a public API
// Use F# Interactive. This only works for FSharp.Compiler.Service.Internal.dll which has a public API
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.