Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FalsePositive for calculated property in DTO #54

Open
inyutin-maxim opened this issue Jun 25, 2020 · 1 comment
Open

FalsePositive for calculated property in DTO #54

inyutin-maxim opened this issue Jun 25, 2020 · 1 comment
Assignees
Labels
bug Something isn't working False Positive Erroneously detected code snippet
Milestone

Comments

@inyutin-maxim
Copy link
Collaborator

I think the analyzer should ignore the calculated property in DTO. For Example:

public class View
{
	public string Name { get; set; }
	public string Format => Path.GetExtension(Name);
}
@inyutin-maxim inyutin-maxim added the False Positive Erroneously detected code snippet label Jun 25, 2020
@inyutin-maxim inyutin-maxim added this to the v6.0.32 milestone Jun 25, 2020
@inyutin-maxim inyutin-maxim self-assigned this Jun 25, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.59. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jun 25, 2020
@inyutin-maxim inyutin-maxim modified the milestones: v12.2.7, v12.2.8 Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working False Positive Erroneously detected code snippet
Projects
None yet
Development

No branches or pull requests

1 participant