Skip to content

Commit 00217e0

Browse files
committed
chore: Fix build errors
1 parent 0cb6e62 commit 00217e0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/SourceGenerators/Uno.UI.SourceGenerators.Tests/Verifiers/CSGenerator.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ namespace Uno.UI.SourceGenerators.Tests.Verifiers
1212
public static partial class CSharpSourceGeneratorVerifier<TSourceGenerator>
1313
where TSourceGenerator : ISourceGenerator, new()
1414
{
15-
#pragma warning disable CS0618 // Type or member is obsolete
16-
public class Test : CSharpSourceGeneratorTest<TSourceGenerator>
17-
#pragma warning restore CS0618 // Type or member is obsolete
15+
public class Test : CSharpSourceGeneratorTest<TSourceGenerator, DefaultVerifier>
1816
{
1917
public LanguageVersion LanguageVersion { get; set; } = LanguageVersion.Default;
2018
public bool IgnoreAccessibility { get; set; }

src/Uno.Analyzers.Tests/Verifiers/CSCodeFix+Test.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using Microsoft.CodeAnalysis.CSharp;
66
using Microsoft.CodeAnalysis.CSharp.Testing;
77
using Microsoft.CodeAnalysis.Diagnostics;
8+
using Microsoft.CodeAnalysis.Testing;
89

910
namespace Uno.Analyzers.Tests.Verifiers
1011
{
@@ -13,7 +14,7 @@ public static partial class CSharpCodeFixVerifier<TAnalyzer, TCodeFix>
1314
where TAnalyzer : DiagnosticAnalyzer, new()
1415
where TCodeFix : CodeFixProvider, new()
1516
{
16-
public class Test : CSharpCodeFixTest<TAnalyzer, TCodeFix>
17+
public class Test : CSharpCodeFixTest<TAnalyzer, TCodeFix, DefaultVerifier>
1718
{
1819
public Test()
1920
{

0 commit comments

Comments
 (0)