/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/RoslynAnalyzers/Test.Utilities/VisualBasicSecurityCodeFixVerifier`2+Test.cs
31 строка
1 KB
Joey Robichaud
Fix file headers
15 мар 2025, 02:53
15 мар 2025, 02:53
e56be3a
Код
Авторство
О чём код?
// 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 System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; namespace Test.Utilities { public static partial class VisualBasicSecurityCodeFixVerifier<TAnalyzer, TCodeFix> where TAnalyzer : DiagnosticAnalyzer, new() where TCodeFix : CodeFixProvider, new() { public class Test : VisualBasicCodeFixVerifier<TAnalyzer, TCodeFix>.Test { public Test() { } protected override ParseOptions CreateParseOptions() { var parseOptions = base.CreateParseOptions(); return parseOptions.WithFeatures(parseOptions.Features.Concat( new[] { new KeyValuePair<string, string>("flow-analysis", "true") })); } } } }