Immutable classes should hide default ctor analyzer
Open
API Analyzer
Client
EngSys
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 144
Description
public class ConflictProperties {
public ConflictProperties();
public string Id { get; }
public OperationKind OperationKind { get; }
}
These are immutable yet have a public default ctor.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the analyzer that handles immutable classes and reproduce the issue with the ConflictProperties declaration; done means the analyzer correctly handles its public default constructor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100