|
|
@ -20,54 +20,44 @@ using System; |
|
|
|
|
|
|
|
|
|
|
|
namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
namespace ICSharpCode.NRefactory.TypeSystem |
|
|
|
{ |
|
|
|
{ |
|
|
|
public enum SymbolKind : byte |
|
|
|
[Obsolete("Use SymbolKind instead")] |
|
|
|
|
|
|
|
public enum EntityType : byte |
|
|
|
{ |
|
|
|
{ |
|
|
|
None, |
|
|
|
None = SymbolKind.None, |
|
|
|
/// <seealso cref="ITypeDefinition"/>
|
|
|
|
/// <seealso cref="ITypeDefinition"/>
|
|
|
|
TypeDefinition, |
|
|
|
TypeDefinition = SymbolKind.TypeDefinition, |
|
|
|
/// <seealso cref="IField"/>
|
|
|
|
/// <seealso cref="IField"/>
|
|
|
|
Field, |
|
|
|
Field = SymbolKind.Field, |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// The symbol is a property, but not an indexer.
|
|
|
|
/// The symbol is a property, but not an indexer.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="IProperty"/>
|
|
|
|
/// <seealso cref="IProperty"/>
|
|
|
|
Property, |
|
|
|
Property = SymbolKind.Property, |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// The symbol is an indexer, not a regular property.
|
|
|
|
/// The symbol is an indexer, not a regular property.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="IProperty"/>
|
|
|
|
/// <seealso cref="IProperty"/>
|
|
|
|
Indexer, |
|
|
|
Indexer = SymbolKind.Indexer, |
|
|
|
/// <seealso cref="IEvent"/>
|
|
|
|
/// <seealso cref="IEvent"/>
|
|
|
|
Event, |
|
|
|
Event = SymbolKind.Event, |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// The symbol is a method which is not an operator/constructor/destructor or accessor.
|
|
|
|
/// The symbol is a method which is not an operator/constructor/destructor or accessor.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
Method, |
|
|
|
Method = SymbolKind.Method, |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// The symbol is a user-defined operator.
|
|
|
|
/// The symbol is a user-defined operator.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
Operator, |
|
|
|
Operator = SymbolKind.Operator, |
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
Constructor, |
|
|
|
Constructor = SymbolKind.Constructor, |
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
Destructor, |
|
|
|
Destructor = SymbolKind.Destructor, |
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// The accessor method for a property getter/setter or event add/remove.
|
|
|
|
/// The accessor method for a property getter/setter or event add/remove.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
/// <seealso cref="IMethod"/>
|
|
|
|
Accessor, |
|
|
|
Accessor = SymbolKind.Accessor, |
|
|
|
/// <seealso cref="INamespace"/>
|
|
|
|
|
|
|
|
Namespace, |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// The symbol is a variable, but not a parameter.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <seealso cref="IVariable"/>
|
|
|
|
|
|
|
|
Variable, |
|
|
|
|
|
|
|
/// <seealso cref="IParameter"/>
|
|
|
|
|
|
|
|
Parameter, |
|
|
|
|
|
|
|
/// <seealso cref="ITypeParameter"/>
|
|
|
|
|
|
|
|
TypeParameter, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|