/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/Harness/EqualException/ExceptionBeforeTestAttribute.cs
18 строк
517 B
David Barbet
Shorten file paths to prevent long path issues opening the slnx
10 дек 2025, 22:44
10 дек 2025, 22:44
7830fcf
Код
Авторство
О чём код?
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for more information. namespace EqualExceptionLegacy { using System; using System.Reflection; using Xunit; using Xunit.Sdk; public class ExceptionBeforeTestAttribute : BeforeAfterTestAttribute { public override void Before(MethodInfo methodUnderTest) { throw new InvalidOperationException("Unexpected exception before test"); } } }