Pchp.CodeAnalysis.Emit.PEModuleBuilder.NormalizeDebugDocumentPath C# (CSharp) Méthode

NormalizeDebugDocumentPath() private méthode

private NormalizeDebugDocumentPath ( string path, string basePath ) : string
path string
basePath string
Résultat string
        private string NormalizeDebugDocumentPath(string path, string basePath)
        {
            //var resolver = _compilation.Options.SourceReferenceResolver;
            //if (resolver == null)
            //{
            //    return path;
            //}

            //var key = ValueTuple.Create(path, basePath);
            //string normalizedPath;
            //if (!_normalizedPathsCache.TryGetValue(key, out normalizedPath))
            //{
            //    normalizedPath = resolver.NormalizePath(path, basePath) ?? path;
            //    _normalizedPathsCache.TryAdd(key, normalizedPath);
            //}

            //return normalizedPath;

            return path;
        }