Skip to content

RCS1246 suggestion for Last() is not usable in .NET Framework 4.8 #1450

@KavenBreton-eaton

Description

@KavenBreton-eaton

Product and Version Used: Roslynator 4.12.1 and .NET Framework 4.8

Steps to Reproduce:
Use the Last() method of a List object for instance.

Actual Behavior:
Suggestion is to use [^1] but this is not usable in .NET Framework 4.8. We did not want to suppress the issue since other suggestions are of use for us.

Expected Behavior:
Having either a suggestion for .NET Framework 4.8 or don't raise it for this version.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions