/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Test/Core/ModuleInitializer.cs
24 строки
677 B
dotnet-maestro[bot]
[main] Update dependencies from dotnet/arcade (#60523)
19 апр 2022, 04:06
Не верифицирован
19 апр 2022, 04:06
3c00d86
Код
Авторство
О чём код?
// 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; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using Microsoft.CodeAnalysis; namespace Roslyn.Test.Utilities { internal static class ModuleInitializer { #pragma warning disable CA2255 [ModuleInitializer] #pragma warning restore CA2255 internal static void Initialize() { Trace.Listeners.Clear(); Trace.Listeners.Add(new ThrowingTraceListener()); } } }