/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/Core/Portable/DocumentSpan.cs
19 строк
638 B
Peter Waldschmidt
Add back old DocumentSpan constructor (#80864)
23 окт 2025, 19:32
Не верифицирован
23 окт 2025, 19:32
8418ac3
Код
Авторство
О чём код?
// 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 Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis; /// <summary> /// Represents a <see cref="TextSpan"/> location in a <see cref="Document"/>. /// </summary> internal readonly record struct DocumentSpan( Document Document, TextSpan SourceSpan, bool IsGeneratedCode) { public DocumentSpan(Document document, TextSpan sourceSpan) : this(document, sourceSpan, IsGeneratedCode: false) { } }