/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/Errors/CSharpDiagnosticFormatter.cs
20 строк
704 B
Jan Jones
Include diagnostic help URL in output (#67836)
21 апр 2023, 12:23
Не верифицирован
21 апр 2023, 12:23
db5cc8e
Код
Авторство
О чём код?
// 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. namespace Microsoft.CodeAnalysis.CSharp { public class CSharpDiagnosticFormatter : DiagnosticFormatter { internal CSharpDiagnosticFormatter() { } public static new CSharpDiagnosticFormatter Instance { get; } = new CSharpDiagnosticFormatter(); internal override bool HasDefaultHelpLinkUri(Diagnostic diagnostic) { return diagnostic.Descriptor.HelpLinkUri == ErrorFacts.GetHelpLink((ErrorCode)diagnostic.Code); } } }