/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/CSharp/Portable/ConvertToRawString/CanConvertParams.cs
19 строк
835 B
Cyrus Najmabadi
When converting to raw strings, do not change \r\n sequences if not explicitly requested by the user
27 ноя 2024, 22:52
27 ноя 2024, 22:52
6fdddf6
Код
Авторство
О чём код?
// 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.CodeActions; namespace Microsoft.CodeAnalysis.CSharp.ConvertToRawString; internal readonly struct CanConvertParams( CodeActionPriority priority, bool canBeSingleLine, bool canBeMultiLineWithoutLeadingWhiteSpaces, bool containsEscapedEndOfLineCharacter) { public CodeActionPriority Priority { get; } = priority; public bool CanBeSingleLine { get; } = canBeSingleLine; public bool CanBeMultiLineWithoutLeadingWhiteSpaces { get; } = canBeMultiLineWithoutLeadingWhiteSpaces; public bool ContainsEscapedEndOfLineCharacter { get; } = containsEscapedEndOfLineCharacter; }