Skip to content

Commit

Permalink
fix: Adjust full path property in netcore tests
Browse files Browse the repository at this point in the history
AnalyzerReference.FullPath is now used by Roslyn 4.5.
  • Loading branch information
jeromelaban committed Apr 14, 2023
1 parent 535de8d commit 22873d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,12 @@ internal MyGeneratorReference(ImmutableArray<ISourceGenerator> generators)

public override string FullPath
{
get { throw new NotImplementedException(); }
get => "";
}

public override object Id
{
get { throw new NotImplementedException(); }
get => nameof(MyGeneratorReference);
}

public override ImmutableArray<DiagnosticAnalyzer> GetAnalyzers(string language)
Expand Down

0 comments on commit 22873d2

Please sign in to comment.