Skip to content

Commit

Permalink
Merge branch 'main' into data-serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink authored Jan 2, 2025
2 parents 987325a + dd0ac32 commit b9fc0d6
Show file tree
Hide file tree
Showing 47 changed files with 625 additions and 533 deletions.
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<MicrosoftBuildVersion>17.11.4</MicrosoftBuildVersion>
<MicrosoftCodeAnalysisVersion>3.11.0</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisVersionForTests>4.10.0</MicrosoftCodeAnalysisVersionForTests>
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.11.0-beta1.24605.2</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.11.0-beta1.24629.2</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>$(MicrosoftCodeAnalysisPublicApiAnalyzersVersion)</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
<!-- UWP and WinUI dependencies -->
<MicrosoftNETCoreUniversalWindowsPlatformVersion>6.2.14</MicrosoftNETCoreUniversalWindowsPlatformVersion>
Expand All @@ -24,7 +24,7 @@
</PropertyGroup>
<PropertyGroup Label="Test dependencies">
<MicrosoftCodeAnalysisAnalyzerTestingVersion>1.1.3-beta1.24423.1</MicrosoftCodeAnalysisAnalyzerTestingVersion>
<MSTestVersion>3.8.0-preview.24623.10</MSTestVersion>
<MSTestVersion>3.8.0-preview.24631.6</MSTestVersion>
</PropertyGroup>
<ItemGroup Label="Analyzers">
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="$(MicrosoftCodeAnalysisBannedApiAnalyzersVersion)" />
Expand All @@ -46,7 +46,7 @@
<PackageVersion Include="Microsoft.TestPlatform.ObjectModel" Version="$(MicrosoftNETTestSdkVersion)" />
<PackageVersion Include="Microsoft.TestPlatform.TranslationLayer" Version="$(MicrosoftNETTestSdkVersion)" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageVersion Include="Polyfill" Version="7.5.0" />
<PackageVersion Include="Polyfill" Version="7.9.1" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
<!-- CVE-2019-0820 -->
<PackageVersion Include="System.Diagnostics.TextWriterTraceListener" Version="4.3.0" />
Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>45d845e04c05fbe5da9838c454bbc3af1df6be81</Sha>
</Dependency>
<Dependency Name="Microsoft.Testing.Extensions.CodeCoverage" Version="17.14.0-preview.24620.2">
<Dependency Name="Microsoft.Testing.Extensions.CodeCoverage" Version="17.14.0-preview.24630.1">
<Uri>https://dev.azure.com/devdiv/DevDiv/_git/vs-code-coverage</Uri>
<Sha>8ec298cce46b78be7e9ceb9e7403ad555b51f12b</Sha>
<Sha>d4a113f856a31bcdcbf6e08da8928961c98bb497</Sha>
</Dependency>
<Dependency Name="MSTest.Engine" Version="1.0.0-alpha.24628.3">
<Dependency Name="MSTest.Engine" Version="1.0.0-alpha.24630.3">
<Uri>https://github.com/microsoft/testanywhere</Uri>
<Sha>5475377201a11dba5ed12888525e88e2c86cf6f6</Sha>
<Sha>1b35871af094500bb7bf28aa23b61d7135e1fca2</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.diagnostics" Version="9.0.0-preview.24566.1">
Expand All @@ -34,9 +34,9 @@
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="10.0.561001">
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="10.0.563001">
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
<Sha>94798e07efab2663f2d1a71862780bc365d2e3ab</Sha>
<Sha>80f1e84b2077a7208943db050067d86c94ace837</Sha>
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
</Dependency>
<!-- Intermediate is necessary for source build. -->
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>
<PropertyGroup Label="MSTest prod dependencies - darc updated">
<MicrosoftDotNetBuildTasksTemplatingPackageVersion>10.0.0-beta.24604.4</MicrosoftDotNetBuildTasksTemplatingPackageVersion>
<MicrosoftTestingExtensionsCodeCoverageVersion>17.14.0-preview.24620.2</MicrosoftTestingExtensionsCodeCoverageVersion>
<MicrosoftTestingExtensionsCodeCoverageVersion>17.14.0-preview.24630.1</MicrosoftTestingExtensionsCodeCoverageVersion>
<!-- comment to facilitate merge conflicts -->
<MSTestEngineVersion>1.0.0-alpha.24628.3</MSTestEngineVersion>
<MSTestEngineVersion>1.0.0-alpha.24630.3</MSTestEngineVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ byl však přijat tento počet argumentů: {4} s typy {5}.</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Časový limit '{0}' testu vypršel po {1}ms.</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Chyba: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Testovací '{0}' se zrušila.</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ aber empfing {4} Argument(e) mit den Typen „{5}“.</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Timeout bei test '{0}' nach {1}ms.</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Fehler: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Test '{0}' wurde abgebrochen.</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pero recibió {4} argumento(s), con los tipos "{5}".</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Se agotó el tiempo de espera de la '{0}' de pruebas después de {1}ms</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Error: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Se canceló la '{0}' de pruebas</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mais a reçu {4} argument(s), avec les types « {5} ».</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Délai de '{0}' de test dépassé après {1}ms</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Erreur : {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Le test '{0}' a été annulé</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ma ha ricevuto {4} argomenti, con tipi "{5}".</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Timeout del '{0}' di test dopo {1}ms</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Errore: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Il '{0}' di test è stato annullato</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ but received {4} argument(s), with types '{5}'.</source>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">テスト '{0}' {1}ミリ秒後にタイムアウトしました</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -420,7 +420,7 @@ Error: {1}</source>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">テスト '{0}' が取り消されました</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ but received {4} argument(s), with types '{5}'.</source>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">테스트 '{0}' {1}밀리초 후에 시간 초과되었습니다.</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Error: {1}</source>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">테스트 '{0}' 취소되었습니다.</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ale liczba odebranych argumentów to {4} z typami „{5}”.</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Upłynął limit czasu '{0}' testu po {1}ms</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Błąd: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Anulowano '{0}' testowe</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ mas {4} argumentos recebidos, com tipos '{5}'.</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Tempo '{0}' tempo limite do teste após {1}ms</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Erro: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">O '{0}' teste foi cancelado</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ but received {4} argument(s), with types '{5}'.</source>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Время ожидания '{0}' истекло через {1}мс</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Error: {1}</source>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Проверка '{0}' отменена</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
4 changes: 2 additions & 2 deletions src/Adapter/MSTest.TestAdapter/Resources/xlf/Resource.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ancak, '{5}' türüyle {4} argüman aldı.</target>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">Test '{0}' ms sonra zaman aşımına {1}oldu</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Hata: {1}</target>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">Test '{0}' iptal edildi</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ but received {4} argument(s), with types '{5}'.</source>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">测试 '{0}' {1}毫秒后超时</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Error: {1}</source>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">测试 '{0}' 已取消</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ but received {4} argument(s), with types '{5}'.</source>
</trans-unit>
<trans-unit id="Execution_Test_Timeout">
<source>Test '{0}' timed out after {1}ms</source>
<target state="new">Test '{0}' timed out after {1}ms</target>
<target state="translated">測試 '{0}' {1}毫秒後逾時</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterCantBeInferred">
Expand Down Expand Up @@ -419,7 +419,7 @@ Error: {1}</source>
</trans-unit>
<trans-unit id="Execution_Test_Cancelled">
<source>Test '{0}' was canceled</source>
<target state="new">Test '{0}' was canceled</target>
<target state="translated">已取消測試 '{0}'</target>
<note />
</trans-unit>
<trans-unit id="InvalidClassCleanupLifecycleValue">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private static void AnalyzeSymbol(
{
var methodSymbol = (IMethodSymbol)context.Symbol;

if (!methodSymbol.IsAssemblyCleanupMethod(assemblyCleanupAttributeSymbol))
if (!methodSymbol.HasAttribute(assemblyCleanupAttributeSymbol))
{
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static void AnalyzeSymbol(SymbolAnalysisContext context, INamedTypeSymbo
{
var methodSymbol = (IMethodSymbol)context.Symbol;

if (methodSymbol.IsAssemblyInitializeMethod(assemblyInitializeAttributeSymbol)
if (methodSymbol.HasAttribute(assemblyInitializeAttributeSymbol)
&& !methodSymbol.HasValidFixtureMethodSignature(taskSymbol, valueTaskSymbol, canDiscoverInternals, shouldBeStatic: true,
allowGenericType: false, FixtureParameterMode.MustHaveTestContext, testContextSymbol, testClassAttributeSymbol, fixtureAllowInheritedTestClass: false, out bool isFixable))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static void AnalyzeSymbol(
{
var methodSymbol = (IMethodSymbol)context.Symbol;
bool isInheritanceModeSet = methodSymbol.IsInheritanceModeSet(inheritanceBehaviorSymbol, classCleanupAttributeSymbol);
if (methodSymbol.IsClassInitializeMethod(classCleanupAttributeSymbol)
if (methodSymbol.HasAttribute(classCleanupAttributeSymbol)
&& (!methodSymbol.HasValidFixtureMethodSignature(taskSymbol, valueTaskSymbol, canDiscoverInternals, shouldBeStatic: true,
allowGenericType: isInheritanceModeSet, FixtureParameterMode.OptionalTestContext, testContextSymbol,
testClassAttributeSymbol, fixtureAllowInheritedTestClass: true, out bool isFixable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static void AnalyzeSymbol(SymbolAnalysisContext context, INamedTypeSymbo
{
var methodSymbol = (IMethodSymbol)context.Symbol;
bool isInheritanceModeSet = methodSymbol.IsInheritanceModeSet(inheritanceBehaviorSymbol, classInitializeAttributeSymbol);
if (methodSymbol.IsClassInitializeMethod(classInitializeAttributeSymbol)
if (methodSymbol.HasAttribute(classInitializeAttributeSymbol)
&& ((!methodSymbol.HasValidFixtureMethodSignature(taskSymbol, valueTaskSymbol, canDiscoverInternals, shouldBeStatic: true,
allowGenericType: isInheritanceModeSet, FixtureParameterMode.MustHaveTestContext, testContextSymbol,
testClassAttributeSymbol, fixtureAllowInheritedTestClass: true, out bool isFixable))
Expand Down
18 changes: 0 additions & 18 deletions src/Analyzers/MSTest.Analyzers/Helpers/FixtureUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@ namespace MSTest.Analyzers.Helpers;

internal static class FixtureUtils
{
public static bool IsAssemblyInitializeMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol assemblyInitializeAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, assemblyInitializeAttributeSymbol));

public static bool IsAssemblyCleanupMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol assemblyCleanupAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, assemblyCleanupAttributeSymbol));

public static bool IsClassInitializeMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol classInitializeAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, classInitializeAttributeSymbol));

public static bool IsClassCleanupMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol classCleanupAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, classCleanupAttributeSymbol));

public static bool IsTestInitializeMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol testInitializeAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, testInitializeAttributeSymbol));

public static bool IsTestCleanupMethod(this IMethodSymbol methodSymbol, INamedTypeSymbol testCleanupAttributeSymbol)
=> methodSymbol.GetAttributes().Any(attr => SymbolEqualityComparer.Default.Equals(attr.AttributeClass, testCleanupAttributeSymbol));

public static bool HasValidFixtureMethodSignature(this IMethodSymbol methodSymbol, INamedTypeSymbol? taskSymbol,
INamedTypeSymbol? valueTaskSymbol, bool canDiscoverInternals, bool shouldBeStatic, bool allowGenericType,
FixtureParameterMode fixtureParameterMode,
Expand Down
Loading

0 comments on commit b9fc0d6

Please sign in to comment.