// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingRoslyn.Utilities;
usingSystem;
usingSystem.Collections.Concurrent;
namespaceMicrosoft.CodeAnalysis.Emit
{
internalsealedclassDebugDocumentsBuilder
{
// This is a map from the document "name" to the document.
// Document "name" is typically a file path like "C:\Abc\Def.cs". However, that is not guaranteed.
// For compatibility reasons the names are treated as case-sensitive in C# and case-insensitive in VB.
// Neither language trims the names, so they are both sensitive to the leading and trailing whitespaces.
// NOTE: We are not considering how filesystem or debuggers do the comparisons, but how native implementations did.
// Deviating from that may result in unexpected warnings or different behavior (possibly without warnings).