* ILTokenizer.cs: Handle comments first, handle whitespace in hex
[mono.git] / mcs / mcs / delegate.cs
index 895a70709548ef2fb08b81765faedff9810aacad..a829c61e27532494fbdbdf9f075a3ac0dc8a4ced 100644 (file)
@@ -627,6 +627,15 @@ namespace Mono.CSharp {
                                return AttributeTargets.Delegate | AttributeTargets.ReturnValue;
                        }
                }
+
+               protected override void VerifyObsoleteAttribute()
+               {
+                       CheckUsageOfObsoleteAttribute (ret_type);
+
+                       foreach (Type type in param_types) {
+                               CheckUsageOfObsoleteAttribute (type);
+                       }
+               }
        }
 
        //