Skip to content

Commit 70e4691

Browse files
committed
Remove leftover analyzer test code
1 parent 028a065 commit 70e4691

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/CommunityToolkit.Mvvm.SourceGenerators.UnitTests/Helpers/CSharpAnalyzerWithLanguageVersionTest{TAnalyzer}.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ public static Task VerifyAnalyzerAsync(string source, LanguageVersion languageVe
6363
#endif
6464
test.TestState.AdditionalReferences.Add(MetadataReference.CreateFromFile(typeof(ObservableObject).Assembly.Location));
6565

66-
test.SolutionTransforms.Add((solution, projectId) =>
67-
solution.AddAnalyzerConfigDocument(DocumentId.CreateNewId(projectId),
68-
"UseMarshalType.editorconfig",
69-
SourceText.From("""
70-
is_global = true
71-
build_property.LibraryImportGenerator_UseMarshalType = true
72-
""",
73-
Encoding.UTF8),
74-
filePath: "/UseMarshalType.editorconfig"));
75-
7666
test.ExpectedDiagnostics.AddRange(expected);
7767

7868
return test.RunAsync(CancellationToken.None);

0 commit comments

Comments
 (0)