Author: mkrueger
Date: 2008-02-15 06:57:21 -0500 (Fri, 15 Feb 2008)
New Revision: 95737

Removed:
   
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractDomItem.cs
   
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IDomItem.cs
Modified:
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/Makefile.am
   
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractMember.cs
   
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/DomType.cs
   
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IMember.cs
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IType.cs
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
Log:
* MonoDevelop.Ide.Dom/IMember.cs, MonoDevelop.Ide.Dom/DomType.cs,
  MonoDevelop.Ide.Dom/IDomItem.cs,
  MonoDevelop.Ide.Dom/AbstractDomItem.cs,
  MonoDevelop.Ide.Dom/IType.cs,
  MonoDevelop.Ide.Dom/AbstractMember.cs: Refactored dom layer.

Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog   2008-02-15 
11:57:10 UTC (rev 95736)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog   2008-02-15 
11:57:21 UTC (rev 95737)
@@ -1,3 +1,10 @@
+2008-02-15  Mike Krüger <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Ide.Dom/IMember.cs, MonoDevelop.Ide.Dom/DomType.cs,
+         MonoDevelop.Ide.Dom/IDomItem.cs, 
MonoDevelop.Ide.Dom/AbstractDomItem.cs,
+         MonoDevelop.Ide.Dom/IType.cs, MonoDevelop.Ide.Dom/AbstractMember.cs:
+         Refactored dom layer.
+
 2008-02-15  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Ide.Commands/TextEditorCommands.cs, 
MonoDevelop.Ide.addin.xml:

Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/Makefile.am
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/Makefile.am 2008-02-15 
11:57:10 UTC (rev 95736)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/Makefile.am 2008-02-15 
11:57:21 UTC (rev 95737)
@@ -104,7 +104,6 @@
        MonoDevelop.Ide.Dom.Parser/IParser.cs \
        MonoDevelop.Ide.Dom.Parser/ProjectDom.cs \
        MonoDevelop.Ide.Dom.Parser/ProjectParserService.cs \
-       MonoDevelop.Ide.Dom/AbstractDomItem.cs \
        MonoDevelop.Ide.Dom/AbstractMember.cs \
        MonoDevelop.Ide.Dom/AttributeTarget.cs \
        MonoDevelop.Ide.Dom/ClassType.cs \
@@ -124,7 +123,6 @@
        MonoDevelop.Ide.Dom/Error.cs \
        MonoDevelop.Ide.Dom/IAttribute.cs \
        MonoDevelop.Ide.Dom/ICompilationUnit.cs \
-       MonoDevelop.Ide.Dom/IDomItem.cs \
        MonoDevelop.Ide.Dom/IDomVisitor.cs \
        MonoDevelop.Ide.Dom/IEvent.cs \
        MonoDevelop.Ide.Dom/IField.cs \

Deleted: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractDomItem.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractDomItem.cs
      2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractDomItem.cs
      2008-02-15 11:57:21 UTC (rev 95737)
@@ -1,230 +0,0 @@
-//
-// AbstractDomItem.cs
-//
-// Author:
-//   Mike Krüger <[EMAIL PROTECTED]>
-//
-// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Ide.Dom
-{
-       public abstract class AbstractDomItem : IDomItem
-       {
-               protected string name;
-               protected string namesp;
-               protected IType  declaringType;
-               protected DomRegion region;
-               protected DomRegion bodyRegion;
-               protected Modifiers modifiers;
-               protected List<IAttribute> attributes = new List<IAttribute> ();
-               
-               public string FullName {
-                       get {
-                               return !String.IsNullOrEmpty (namesp) ? namesp 
+ "." + name : name;
-                       }
-               }
-               
-               public IType DeclaringType {
-                       get {
-                               return declaringType;
-                       }
-               }
-               
-               public string Name {
-                       get {
-                               return name;
-                       }
-               }
-
-               public string Namespace {
-                       get {
-                               return namesp;
-                       }
-               }
-               
-               public DomRegion Region {
-                       get {
-                               return region;
-                       }
-               }
-
-               public DomRegion BodyRegion {
-                       get {
-                               return bodyRegion;
-                       }
-               }
-               
-               public Modifiers Modifiers {
-                       get {
-                               return modifiers;
-                       }
-               }
-               
-               public System.Collections.Generic.IEnumerable<IAttribute> 
Attributes {
-                       get {
-                               return attributes;
-                       }
-               }
-               
-               public virtual int CompareTo (object obj)
-               {
-                       return 0;
-               }
-               
-               #region ModifierAccessors
-               public bool IsPrivate { 
-                       get {
-                               return (this.Modifiers & Modifiers.Private) == 
Modifiers.Private;
-                       }
-               }
-               public bool IsInternal { 
-                       get {
-                               return (this.Modifiers & Modifiers.Internal) == 
Modifiers.Internal;
-                       }
-               }
-               public bool IsProtected { 
-                       get {
-                               return (this.Modifiers & Modifiers.Protected) 
== Modifiers.Protected;
-                       }
-               }
-               public bool IsPublic { 
-                       get {
-                               return (this.Modifiers & Modifiers.Public) == 
Modifiers.Public;
-                       }
-               }
-               public bool IsProtectedAndInternal { 
-                       get {
-                               return (this.Modifiers & 
Modifiers.ProtectedAndInternal) == Modifiers.ProtectedAndInternal;
-                       }
-               }
-               public bool IsProtectedOrInternal { 
-                       get {
-                               return (this.Modifiers & 
Modifiers.ProtectedOrInternal) == Modifiers.ProtectedOrInternal;
-                       }
-               }
-               
-               public bool IsAbstract { 
-                       get {
-                               return (this.Modifiers & Modifiers.Abstract) == 
Modifiers.Abstract;
-                       }
-               }
-               public bool IsVirtual { 
-                       get {
-                               return (this.Modifiers & Modifiers.Virtual) == 
Modifiers.Virtual;
-                       }
-               }
-               public bool IsSealed { 
-                       get {
-                               return (this.Modifiers & Modifiers.Sealed) == 
Modifiers.Sealed;
-                       }
-               }
-               public bool IsStatic { 
-                       get {
-                               return (this.Modifiers & Modifiers.Static) == 
Modifiers.Static;
-                       }
-               }
-               public bool IsOverride { 
-                       get {
-                               return (this.Modifiers & Modifiers.Override) == 
Modifiers.Override;
-                       }
-               }
-               public bool IsReadonly { 
-                       get {
-                               return (this.Modifiers & Modifiers.Readonly) == 
Modifiers.Readonly;
-                       }
-               }
-               public bool IsConst { 
-                       get {
-                               return (this.Modifiers & Modifiers.Const) == 
Modifiers.Const;
-                       }
-               }
-               public bool IsNew { 
-                       get {
-                               return (this.Modifiers & Modifiers.New) == 
Modifiers.New;
-                       }
-               }
-               public bool IsPartial { 
-                       get {
-                               return (this.Modifiers & Modifiers.Partial) == 
Modifiers.Partial;
-                       }
-               }
-               
-               public bool IsExtern { 
-                       get {
-                               return (this.Modifiers & Modifiers.Extern) == 
Modifiers.Extern;
-                       }
-               }
-               public bool IsVolatile { 
-                       get {
-                               return (this.Modifiers & Modifiers.Volatile) == 
Modifiers.Volatile;
-                       }
-               }
-               public bool IsUnsafe { 
-                       get {
-                               return (this.Modifiers & Modifiers.Unsafe) == 
Modifiers.Unsafe;
-                       }
-               }
-               public bool IsOverloads { 
-                       get {
-                               return (this.Modifiers & Modifiers.Overloads) 
== Modifiers.Overloads;
-                       }
-               }
-               public bool IsWithEvents { 
-                       get {
-                               return (this.Modifiers & Modifiers.WithEvents) 
== Modifiers.WithEvents;
-                       }
-               }
-               public bool IsDefault { 
-                       get {
-                               return (this.Modifiers & Modifiers.Default) == 
Modifiers.Default;
-                       }
-               }
-               public bool IsFixed { 
-                       get {
-                               return (this.Modifiers & Modifiers.Fixed) == 
Modifiers.Fixed;
-                       }
-               }
-               
-               public bool IsSpecialName { 
-                       get {
-                               return (this.Modifiers & Modifiers.SpecialName) 
== Modifiers.SpecialName;
-                       }
-               }
-               public bool IsFinal { 
-                       get {
-                               return (this.Modifiers & Modifiers.Final) == 
Modifiers.Final;
-                       }
-               }
-               public bool IsLiteral { 
-                       get {
-                               return (this.Modifiers & Modifiers.Literal) == 
Modifiers.Literal;
-                       }
-               }
-               #endregion
-               
-               public abstract object AcceptVisitior (IDomVisitor visitor, 
object data);
-       }
-}

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractMember.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractMember.cs
       2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/AbstractMember.cs
       2008-02-15 11:57:21 UTC (rev 95737)
@@ -36,6 +36,20 @@
                protected IReturnType returnType;
                protected List<IReturnType> explicitInterfaces = new 
List<IReturnType> ();
                
+               protected IType  declaringType;
+               public IType DeclaringType {
+                       get {
+                               return declaringType;
+                       }
+               }
+               
+               public virtual string FullName {
+                       get {
+                               return DeclaringType != null ? 
DeclaringType.FullName + "." + Name : Name;
+                       }
+               }
+               
+               
                public IReturnType ReturnType {
                        get {
                                return returnType;
@@ -47,5 +61,177 @@
                                return explicitInterfaces;
                        }
                }
+               protected string name;
+               protected DomRegion region;
+               protected DomRegion bodyRegion;
+               protected Modifiers modifiers;
+               protected List<IAttribute> attributes = new List<IAttribute> ();
+               
+               public string Name {
+                       get {
+                               return name;
+                       }
+               }
+               
+               public DomRegion Region {
+                       get {
+                               return region;
+                       }
+               }
+
+               public DomRegion BodyRegion {
+                       get {
+                               return bodyRegion;
+                       }
+               }
+               
+               public Modifiers Modifiers {
+                       get {
+                               return modifiers;
+                       }
+               }
+               
+               public System.Collections.Generic.IEnumerable<IAttribute> 
Attributes {
+                       get {
+                               return attributes;
+                       }
+               }
+               
+               public virtual int CompareTo (object obj)
+               {
+                       return 0;
+               }
+               
+               #region ModifierAccessors
+               public bool IsPrivate { 
+                       get {
+                               return (this.Modifiers & Modifiers.Private) == 
Modifiers.Private;
+                       }
+               }
+               public bool IsInternal { 
+                       get {
+                               return (this.Modifiers & Modifiers.Internal) == 
Modifiers.Internal;
+                       }
+               }
+               public bool IsProtected { 
+                       get {
+                               return (this.Modifiers & Modifiers.Protected) 
== Modifiers.Protected;
+                       }
+               }
+               public bool IsPublic { 
+                       get {
+                               return (this.Modifiers & Modifiers.Public) == 
Modifiers.Public;
+                       }
+               }
+               public bool IsProtectedAndInternal { 
+                       get {
+                               return (this.Modifiers & 
Modifiers.ProtectedAndInternal) == Modifiers.ProtectedAndInternal;
+                       }
+               }
+               public bool IsProtectedOrInternal { 
+                       get {
+                               return (this.Modifiers & 
Modifiers.ProtectedOrInternal) == Modifiers.ProtectedOrInternal;
+                       }
+               }
+               
+               public bool IsAbstract { 
+                       get {
+                               return (this.Modifiers & Modifiers.Abstract) == 
Modifiers.Abstract;
+                       }
+               }
+               public bool IsVirtual { 
+                       get {
+                               return (this.Modifiers & Modifiers.Virtual) == 
Modifiers.Virtual;
+                       }
+               }
+               public bool IsSealed { 
+                       get {
+                               return (this.Modifiers & Modifiers.Sealed) == 
Modifiers.Sealed;
+                       }
+               }
+               public bool IsStatic { 
+                       get {
+                               return (this.Modifiers & Modifiers.Static) == 
Modifiers.Static;
+                       }
+               }
+               public bool IsOverride { 
+                       get {
+                               return (this.Modifiers & Modifiers.Override) == 
Modifiers.Override;
+                       }
+               }
+               public bool IsReadonly { 
+                       get {
+                               return (this.Modifiers & Modifiers.Readonly) == 
Modifiers.Readonly;
+                       }
+               }
+               public bool IsConst { 
+                       get {
+                               return (this.Modifiers & Modifiers.Const) == 
Modifiers.Const;
+                       }
+               }
+               public bool IsNew { 
+                       get {
+                               return (this.Modifiers & Modifiers.New) == 
Modifiers.New;
+                       }
+               }
+               public bool IsPartial { 
+                       get {
+                               return (this.Modifiers & Modifiers.Partial) == 
Modifiers.Partial;
+                       }
+               }
+               
+               public bool IsExtern { 
+                       get {
+                               return (this.Modifiers & Modifiers.Extern) == 
Modifiers.Extern;
+                       }
+               }
+               public bool IsVolatile { 
+                       get {
+                               return (this.Modifiers & Modifiers.Volatile) == 
Modifiers.Volatile;
+                       }
+               }
+               public bool IsUnsafe { 
+                       get {
+                               return (this.Modifiers & Modifiers.Unsafe) == 
Modifiers.Unsafe;
+                       }
+               }
+               public bool IsOverloads { 
+                       get {
+                               return (this.Modifiers & Modifiers.Overloads) 
== Modifiers.Overloads;
+                       }
+               }
+               public bool IsWithEvents { 
+                       get {
+                               return (this.Modifiers & Modifiers.WithEvents) 
== Modifiers.WithEvents;
+                       }
+               }
+               public bool IsDefault { 
+                       get {
+                               return (this.Modifiers & Modifiers.Default) == 
Modifiers.Default;
+                       }
+               }
+               public bool IsFixed { 
+                       get {
+                               return (this.Modifiers & Modifiers.Fixed) == 
Modifiers.Fixed;
+                       }
+               }
+               
+               public bool IsSpecialName { 
+                       get {
+                               return (this.Modifiers & Modifiers.SpecialName) 
== Modifiers.SpecialName;
+                       }
+               }
+               public bool IsFinal { 
+                       get {
+                               return (this.Modifiers & Modifiers.Final) == 
Modifiers.Final;
+                       }
+               }
+               public bool IsLiteral { 
+                       get {
+                               return (this.Modifiers & Modifiers.Literal) == 
Modifiers.Literal;
+                       }
+               }
+               #endregion
+               
        }
 }

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/DomType.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/DomType.cs  
    2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/DomType.cs  
    2008-02-15 11:57:21 UTC (rev 95737)
@@ -31,7 +31,7 @@
 
 namespace MonoDevelop.Ide.Dom
 {
-       public class DomType : AbstractDomItem, IType
+       public class DomType : AbstractMember, IType
        {
                protected object sourceProject;
                protected List<ICompilationUnit> compilationUnits = new 
List<ICompilationUnit> ();
@@ -40,8 +40,20 @@
                protected List<IDomItem> members = new List<IDomItem> ();
                protected List<IReturnType> implementedInterfaces = new 
List<IReturnType> ();
                protected ClassType classType = ClassType.Unknown;
+               protected string namesp;
                
+               public override string FullName {
+                       get {
+                               return !String.IsNullOrEmpty (namesp) ? namesp 
+ "." + name : name;
+                       }
+               }
                
+               public string Namespace {
+                       get {
+                               return namesp;
+                       }
+               }
+               
                public object SourceProject {
                        get {
                                return sourceProject;

Deleted: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IDomItem.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IDomItem.cs 
    2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IDomItem.cs 
    2008-02-15 11:57:21 UTC (rev 95737)
@@ -1,96 +0,0 @@
-//
-// IDomItem.cs
-//
-// Author:
-//   Mike Krüger <[EMAIL PROTECTED]>
-//
-// Copyright (C) 2008 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-using System;
-using System.Collections.Generic;
-
-namespace MonoDevelop.Ide.Dom
-{
-       public interface IDomItem : IComparable, IDomVisitable
-       {
-               string FullName {
-                       get;
-               }
-               string Name {
-                       get;
-               }
-               string Namespace {
-                       get;
-               }
-               
-               IType DeclaringType {
-                       get;
-               }
-                               
-               DomRegion Region {
-                       get;
-               }
-               DomRegion BodyRegion {
-                       get;
-               }
-               
-               Modifiers Modifiers {
-                       get;
-               }
-               
-               IEnumerable<IAttribute> Attributes {
-                       get;
-               }
-               
-               #region ModifierAccessors
-               bool IsPrivate   { get; }
-               bool IsInternal  { get; }
-               bool IsProtected { get; }
-               bool IsPublic    { get; }
-               bool IsProtectedAndInternal { get; }
-               bool IsProtectedOrInternal { get; }
-               
-               bool IsAbstract  { get; }
-               bool IsVirtual   { get; }
-               bool IsSealed    { get; }
-               bool IsStatic    { get; }
-               bool IsOverride  { get; }
-               bool IsReadonly  { get; }
-               bool IsConst     { get; }
-               bool IsNew       { get; }
-               bool IsPartial   { get; }
-               
-               bool IsExtern    { get; }
-               bool IsVolatile  { get; }
-               bool IsUnsafe    { get; }
-               bool IsOverloads  { get; }
-               bool IsWithEvents { get; }
-               bool IsDefault    { get; }
-               bool IsFixed      { get; }
-               
-               bool IsSpecialName { get; }
-               bool IsFinal       { get; }
-               bool IsLiteral     { get; }
-               #endregion
-       }
-}

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IMember.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IMember.cs  
    2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IMember.cs  
    2008-02-15 11:57:21 UTC (rev 95737)
@@ -31,14 +31,73 @@
 
 namespace MonoDevelop.Ide.Dom
 {
-       public interface IMember : IDomItem
+       public interface IMember : IComparable, IDomVisitable
        {
+               string FullName {
+                       get;
+               }
+               
                IReturnType ReturnType {
                        get;
                }
                
+               IType DeclaringType {
+                       get;
+               }
+               
                IEnumerable<IReturnType> ExplicitInterfaces {
                        get;
                }
+               
+               string Name {
+                       get;
+               }
+               
+               DomRegion Region {
+                       get;
+               }
+               
+               DomRegion BodyRegion {
+                       get;
+               }
+               
+               Modifiers Modifiers {
+                       get;
+               }
+               
+               IEnumerable<IAttribute> Attributes {
+                       get;
+               }
+               
+               #region ModifierAccessors
+               bool IsPrivate   { get; }
+               bool IsInternal  { get; }
+               bool IsProtected { get; }
+               bool IsPublic    { get; }
+               bool IsProtectedAndInternal { get; }
+               bool IsProtectedOrInternal { get; }
+               
+               bool IsAbstract  { get; }
+               bool IsVirtual   { get; }
+               bool IsSealed    { get; }
+               bool IsStatic    { get; }
+               bool IsOverride  { get; }
+               bool IsReadonly  { get; }
+               bool IsConst     { get; }
+               bool IsNew       { get; }
+               bool IsPartial   { get; }
+               
+               bool IsExtern    { get; }
+               bool IsVolatile  { get; }
+               bool IsUnsafe    { get; }
+               bool IsOverloads  { get; }
+               bool IsWithEvents { get; }
+               bool IsDefault    { get; }
+               bool IsFixed      { get; }
+               
+               bool IsSpecialName { get; }
+               bool IsFinal       { get; }
+               bool IsLiteral     { get; }
+               #endregion              
        }
 }

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IType.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IType.cs    
    2008-02-15 11:57:10 UTC (rev 95736)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Dom/IType.cs    
    2008-02-15 11:57:21 UTC (rev 95737)
@@ -31,8 +31,12 @@
 
 namespace MonoDevelop.Ide.Dom
 {
-       public interface IType : IDomItem
+       public interface IType : IMember
        {
+               string Namespace {
+                       get;
+               }
+               
                object SourceProject {
                        get;
                }

Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp 
2008-02-15 11:57:10 UTC (rev 95736)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp 
2008-02-15 11:57:21 UTC (rev 95737)
@@ -342,7 +342,6 @@
     <File name="MonoDevelop.Ide.Dom.Parser/IParser.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom.Parser/ProjectDom.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom.Parser/ProjectParserService.cs" 
subtype="Code" buildaction="Compile" />
-    <File name="MonoDevelop.Ide.Dom/AbstractDomItem.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/AbstractMember.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/AttributeTarget.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/ClassType.cs" subtype="Code" 
buildaction="Compile" />
@@ -361,7 +360,6 @@
     <File name="MonoDevelop.Ide.Dom/Error.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/IAttribute.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/ICompilationUnit.cs" subtype="Code" 
buildaction="Compile" />
-    <File name="MonoDevelop.Ide.Dom/IDomItem.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/IDomVisitor.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/IEvent.cs" subtype="Code" 
buildaction="Compile" />
     <File name="MonoDevelop.Ide.Dom/IField.cs" subtype="Code" 
buildaction="Compile" />

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to