Search Issue Tracker

Active

Under Consideration for 2021.3.X

Votes

0

Found in

2021.3.29f1

2023.2.0a6

2023.3.0a3

6000.0.0b11

Issue ID

UUM-31086

Regression

No

[Code Coverage] ExcludeFromCoverage attribute cannot be put on properties

--

-

Steps to reproduce:
# Create a project
# Create a class and define a property 
{noformat}
public int a { get; set; }{noformat}

# Try to add ExcludeFromCoverage attribute to it

Notice that you cannot as it's only allowed on Assembly, Class, Constructor, Method or Struct.

 

Reproduced with 2023.2.0a6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.