38 changed files with 417 additions and 364 deletions
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.CSharp.Resolver |
||||
{ |
||||
public enum SimpleNameLookupMode |
||||
{ |
||||
/// <summary>
|
||||
/// Normal name lookup in expressions
|
||||
/// </summary>
|
||||
Expression, |
||||
/// <summary>
|
||||
/// Name lookup in expression, where the expression is the target of an invocation.
|
||||
/// Such a lookup will only return methods and delegate-typed fields.
|
||||
/// </summary>
|
||||
InvocationTarget, |
||||
/// <summary>
|
||||
/// Normal name lookup in type references.
|
||||
/// </summary>
|
||||
Type, |
||||
/// <summary>
|
||||
/// Name lookup in the type reference inside a using declaration.
|
||||
/// </summary>
|
||||
TypeInUsingDeclaration, |
||||
/// <summary>
|
||||
/// Name lookup for base type references.
|
||||
/// </summary>
|
||||
BaseTypeReference |
||||
} |
||||
} |
||||
@ -1,17 +0,0 @@
@@ -1,17 +0,0 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.TypeSystem |
||||
{ |
||||
public enum ClassType : byte |
||||
{ |
||||
Class, |
||||
Enum, |
||||
Interface, |
||||
Struct, |
||||
Delegate, |
||||
Module, |
||||
} |
||||
} |
||||
@ -0,0 +1,66 @@
@@ -0,0 +1,66 @@
|
||||
// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||
// This code is distributed under X11 license (for details please see \doc\license.txt)
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.NRefactory.TypeSystem |
||||
{ |
||||
/// <summary>
|
||||
/// .
|
||||
/// </summary>
|
||||
public enum TypeKind : byte |
||||
{ |
||||
/// <summary>Language-specific type that is not part of NRefactory.TypeSystem itself.</summary>
|
||||
Other, |
||||
|
||||
/// <summary>A <see cref="ITypeDefinition"/> or <see cref="ParameterizedType"/> that is a class.</summary>
|
||||
Class, |
||||
/// <summary>A <see cref="ITypeDefinition"/> or <see cref="ParameterizedType"/> that is an interface.</summary>
|
||||
Interface, |
||||
/// <summary>A <see cref="ITypeDefinition"/> or <see cref="ParameterizedType"/> that is a struct.</summary>
|
||||
Struct, |
||||
/// <summary>A <see cref="ITypeDefinition"/> or <see cref="ParameterizedType"/> that is a delegate.</summary>
|
||||
/// <remarks><c>System.Delegate</c> itself is TypeKind.Class</remarks>
|
||||
Delegate, |
||||
/// <summary>A <see cref="ITypeDefinition"/> that is an enum.</summary>
|
||||
/// <remarks><c>System.Enum</c> itself is TypeKind.Class</remarks>
|
||||
Enum, |
||||
/// <summary>A <see cref="ITypeDefinition"/> that is a module (VB).</summary>
|
||||
Module, |
||||
|
||||
/// <summary>The <c>System.Void</c> type.</summary>
|
||||
/// <see cref="KnownTypeReference.Void"/>
|
||||
Void, |
||||
|
||||
/// <see cref="SharedTypes.UnknownType"/>
|
||||
Unknown, |
||||
/// <summary>The type of the null literal.</summary>
|
||||
/// <see cref="SharedTypes.NullType"/>
|
||||
Null, |
||||
/// <summary>Type representing the C# 'dynamic' type.</summary>
|
||||
/// <see cref="SharedTypes.DynamicType"/>
|
||||
Dynamic, |
||||
/// <summary>Represents missing type arguments in partially parameterized types.</summary>
|
||||
/// <see cref="SharedTypes.UnboundTypeArgument"/>
|
||||
/// <see cref="IType.GetNestedTypes"/>
|
||||
UnboundTypeArgument, |
||||
|
||||
/// <summary>The type is a type parameter.</summary>
|
||||
/// <see cref="ITypeParameter"/>
|
||||
TypeParameter, |
||||
|
||||
/// <summary>An array type</summary>
|
||||
/// <see cref="ArrayType"/>
|
||||
Array, |
||||
/// <summary>A pointer type</summary>
|
||||
/// <see cref="PointerType"/>
|
||||
Pointer, |
||||
/// <summary>A managed reference type</summary>
|
||||
/// <see cref="ByReferenceType"/>
|
||||
ByReference, |
||||
|
||||
/// <summary>Intersection of several types</summary>
|
||||
/// <see cref="IntersectionType"/>
|
||||
Intersection |
||||
} |
||||
} |
||||
Loading…
Reference in new issue