bitblack / moq

Automatically exported from code.google.com/p/moq
Other
0 stars 0 forks source link

Properties attributes missing for mock object #385

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a class with a property. The property has a custom attribute assigned 
to it.
2. Create a mock object from the class.
3. Using reflection, try to look for attributes of the property in the mock 
object. You will not found any.

What is the expected output? What do you see instead?
Expected: Attributes assigned to property of a class are found in mock object.
Actual: Attributes aren't found

What version of the product are you using? On what operating system?
It is not working in version: 4.2.1507.118 (current version)

Please provide any additional information below.
It was working in version: 4.2.1402.2112 (attributes were found)

Original issue reported on code.google.com by kesik....@gmail.com on 31 Jul 2015 at 2:11