Skip to content

RS1035 error for Environment.NewLine #487

@chunliu

Description

@chunliu

This line of code triggers RS1035 when Scriban is used in a source generator and <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> is on to satisfy RS1036.

NewLine = Environment.NewLine;

Also see this issue for details: dotnet/roslyn-analyzers#6467

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions