/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Core/Rebuild/Records.cs
33 строки
1022 B
Jared Parsons
Factor out interface for source and references (#52511)
13 апр 2021, 00:26
Не верифицирован
13 апр 2021, 00:26
f4eabcf
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Text; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.Rebuild { public sealed record EmbeddedSourceTextInfo( SourceTextInfo SourceTextInfo, SourceText SourceText, ImmutableArray<byte> CompressedHash); public sealed record SourceTextInfo( string OriginalSourceFilePath, SourceHashAlgorithm HashAlgorithm, ImmutableArray<byte> Hash, Encoding SourceTextEncoding); public sealed record MetadataReferenceInfo( string FileName, Guid ModuleVersionId, string? ExternAlias, MetadataImageKind ImageKind, bool EmbedInteropTypes, int Timestamp, int ImageSize); }