Incorrect logic in GetCustomAttributes breaks IOperationBehavior #315
Closed
Description
System\ServiceModel\Description\ServiceReflector.GetCustomAttributes expects that all CustomAttributes it gets derive from Attribute. This is incorrect as CustomAttributes can also derive from interfaces such as IOperationBehavior.
The logic needs to be changed to get all CustomAttributes on the Operation and add to the collection any that match the Type being looked for.