Skip to content

Incorrect logic in GetCustomAttributes breaks IOperationBehavior #315

Closed
@StephenBonikowsky

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.

Metadata

Labels

bugThis is a product bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions