/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Dependencies/CodeAnalysis.Debugging/CustomDebugInfoConstants.cs
27 строк
1 KB
Tomáš Matoušek
Source package fixes (#78534)
09 май 2025, 23:25
Не верифицирован
09 май 2025, 23:25
0899e12
Код
Авторство
О чём код?
// 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. #nullable enable namespace Microsoft.CodeAnalysis.Debugging { /// <summary> /// Constants for producing and consuming streams of binary custom debug info. /// </summary> internal static class CustomDebugInfoConstants { // The version number of the custom debug info binary format. // CDIVERSION in Dev10 internal const byte Version = 4; // The number of bytes at the beginning of the byte array that contain global header information. // start after header (version byte + size byte + dword padding) internal const int GlobalHeaderSize = 4; // The number of bytes at the beginning of each custom debug info record that contain header information // common to all record types (i.e. byte, kind, size). // version byte + kind byte + two bytes padding + size dword internal const int RecordHeaderSize = 8; } }