Skip to content

Replace SourceGenerator with IIncrementalGenerator #21228

@adityapatwardhan

Description

@adityapatwardhan

Prerequisites

Steps to reproduce

RS1035 warning is disabled in PSVersionSourceGenerator.cs. It uses SourceGenerator. It is deprecated and needs to be replaced with IIncrementalGenerator

More info: https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md

Expected behavior

IIncrementalGenerator needs to be implemented

Actual behavior

Remove SourceGenerator

Error details

No response

Environment data

Latest source

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIndicates that a PR is out for the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions