[MonoDevelop] Re: PATCH: Generic support in MonoDevelop.Projects.Parser

Matej Urbas matej.urbas at gmail.com
Sun Jun 11 06:41:30 EDT 2006


Alejandro Serrano wrote:
> Matej Urbas escribió:
>> Hi
>>
>> I've done a minor change in the MonoDevelop.Projects.Parser namespace 
>> to add some generic support. I hope the patch is alright.
>>
>> Index: MonoDevelop.Projects.Parser/IParameter.cs
>> ===================================================================
>> --- MonoDevelop.Projects.Parser/IParameter.cs    (revision 61617)
>> +++ MonoDevelop.Projects.Parser/IParameter.cs    (working copy)
>> @@ -6,6 +6,7 @@
>>  // </file>
>>  using System;
>>  using System.Reflection;
>> +using System.Collections.Specialized;
>>  
>>  namespace MonoDevelop.Projects.Parser
>>  {
>> @@ -39,5 +40,14 @@
>>          IMember DeclaringMember {
>>              get;
>>          }
>> +       
>> +        /// <summary>
>> +        /// Contains values (types) of actual parameters (arguments) 
>> to a
>> +        /// generic type.
>> +        /// <p>This collection contains fully qualified names.</p>
>> +        /// </summary>
>> +        StringCollection GenericArguments {
>> +            get;
>> +        }
>>      }
>>  }
>>   
> What is the GenericParameters collection in IParameter supposed to be? 
> I can't see any use for it: the type of the parameter is in IReturnType.
Damn, I overlooked it. Here's the updated patch.

---
Matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoDevelop.Projects.Parser-generic_support.patch
Type: text/x-patch
Size: 7808 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060611/d49341a4/MonoDevelop.Projects.Parser-generic_support-0001.bin


More information about the Monodevelop-list mailing list