From 8d817c2c0fdc112d004ed196c748922c6d37fe32 Mon Sep 17 00:00:00 2001 From: Thomas Trageser Date: Sun, 2 Sep 2012 19:59:57 +0100 Subject: [PATCH] Add AttributeUsage.Class to QualifierAttribute --- .../Objects/Factory/Attributes/QualifierAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spring/Spring.Core/Objects/Factory/Attributes/QualifierAttribute.cs b/src/Spring/Spring.Core/Objects/Factory/Attributes/QualifierAttribute.cs index c6ef6f43..3fdb1ffb 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Attributes/QualifierAttribute.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Attributes/QualifierAttribute.cs @@ -10,7 +10,7 @@ namespace Spring.Objects.Factory.Attributes /// candidate beans when autowiring. It may also be used to annotate other /// custom annotations that can then in turn be used as qualifiers. /// - [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)] + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)] public class QualifierAttribute : Attribute { private readonly string _value;