/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Core/Portable/DocumentationMode.cs
40 строк
1 KB
Jared Parsons
generated move
28 сен 2020, 19:36
28 сен 2020, 19:36
1cca63b
Код
Авторство
О чём код?
// 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> /// Specifies the different documentation comment processing modes. /// </summary> /// <remarks> /// Order matters: least processing to most processing. /// </remarks> public enum DocumentationMode : byte { /// <summary> /// Treats documentation comments as regular comments. /// </summary> None = 0, /// <summary> /// Parses documentation comments as structured trivia, but do not report any diagnostics. /// </summary> Parse = 1, /// <summary> /// Parses documentation comments as structured trivia and report diagnostics. /// </summary> Diagnose = 2, } internal static partial class DocumentationModeEnumBounds { internal static bool IsValid(this DocumentationMode value) { return value >= DocumentationMode.None && value <= DocumentationMode.Diagnose; } } }