Skip to content

Commit 9175048

Browse files
authored
Add module initializer for Verify.SourceGenerators (dotnet#60547)
1 parent e01e85f commit 9175048

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using System.Runtime.CompilerServices;
5+
6+
public static class ModuleInitializer
7+
{
8+
[ModuleInitializer]
9+
public static void Init() =>
10+
VerifySourceGenerators.Initialize();
11+
}

src/Http/Http.Extensions/test/ValidationsGenerator/snapshots/ValidationsGeneratorTests.CanValidateParameters.verified.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)