dotnet / dotnet/roslyn

EnC: Adding static constructor is not reported as no-effect edit

Open
#79,017 0 comments 0 reactions 1 assignee Claimed by @tmat View on GitHub
Area-IDE
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

Constructor analysis is deferred.
Consider reporting the warning in `ReportUnsupportedOperations`.
Add test that has static constructor with lambda and updates lambda body.

Update tests:
`Constructor_Static_Insert`,
`Constructor_Static_Delete`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.