[MonoDevelop] monodoc patch

Lluis Sanchez lluis at ximian.com
Thu Jun 2 15:40:55 EDT 2005


> > 
> 
> Well, I don't see how it would help letting LocalLookupVariable
> implement an ILocalVariable interface which again implements
> ISourceCodeElement since there still needs to be a reference from the
> ICSharpCode.SharpRefactory assembly.
> 
> Do you mean that I should make a LocalVariable class in the MD
> assembly which wraps the LocalLookupVariable in the
> ICSharpCode.SharpRefactory and then have LocalVariable implement
> ILocalVariable which implements ISourceCodeElement?

Yeah, that's what I mean. 

> 
> > > - System.Array is returned when the type currently looked at has a
> > > positive ArrayDimensions. There is no real object at hand to use which
> > > could implement ISourceCodeElement...
> > 
> > So we are back to the original problem. The problem is that there is no
> > interface that represents a Type: a type can be a class, an array or
> > whatever a CLR Type can be. So the solution is to create this new IType
> > interface (or rename/extend IClass to include the missing
> > functionality). However, this will require a lot of refactoring, since
> > it will probably replace IReturnType.
> 
> Yes, it certainly will. I will leave that be for the moment and get
> back to it later.
> 
> /Jacob



More information about the Monodevelop-list mailing list