1 | // Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team |
---|
2 | // |
---|
3 | // Permission is hereby granted, free of charge, to any person obtaining a copy of this |
---|
4 | // software and associated documentation files (the "Software"), to deal in the Software |
---|
5 | // without restriction, including without limitation the rights to use, copy, modify, merge, |
---|
6 | // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons |
---|
7 | // to whom the Software is furnished to do so, subject to the following conditions: |
---|
8 | // |
---|
9 | // The above copyright notice and this permission notice shall be included in all copies or |
---|
10 | // substantial portions of the Software. |
---|
11 | // |
---|
12 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, |
---|
13 | // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
---|
14 | // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE |
---|
15 | // FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
---|
16 | // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
17 | // DEALINGS IN THE SOFTWARE. |
---|
18 | |
---|
19 | using System; |
---|
20 | |
---|
21 | namespace ICSharpCode.NRefactory.TypeSystem |
---|
22 | { |
---|
23 | [Obsolete("Use SymbolKind instead")] |
---|
24 | public enum EntityType : byte |
---|
25 | { |
---|
26 | None = SymbolKind.None, |
---|
27 | /// <seealso cref="ITypeDefinition"/> |
---|
28 | TypeDefinition = SymbolKind.TypeDefinition, |
---|
29 | /// <seealso cref="IField"/> |
---|
30 | Field = SymbolKind.Field, |
---|
31 | /// <summary> |
---|
32 | /// The symbol is a property, but not an indexer. |
---|
33 | /// </summary> |
---|
34 | /// <seealso cref="IProperty"/> |
---|
35 | Property = SymbolKind.Property, |
---|
36 | /// <summary> |
---|
37 | /// The symbol is an indexer, not a regular property. |
---|
38 | /// </summary> |
---|
39 | /// <seealso cref="IProperty"/> |
---|
40 | Indexer = SymbolKind.Indexer, |
---|
41 | /// <seealso cref="IEvent"/> |
---|
42 | Event = SymbolKind.Event, |
---|
43 | /// <summary> |
---|
44 | /// The symbol is a method which is not an operator/constructor/destructor or accessor. |
---|
45 | /// </summary> |
---|
46 | /// <seealso cref="IMethod"/> |
---|
47 | Method = SymbolKind.Method, |
---|
48 | /// <summary> |
---|
49 | /// The symbol is a user-defined operator. |
---|
50 | /// </summary> |
---|
51 | /// <seealso cref="IMethod"/> |
---|
52 | Operator = SymbolKind.Operator, |
---|
53 | /// <seealso cref="IMethod"/> |
---|
54 | Constructor = SymbolKind.Constructor, |
---|
55 | /// <seealso cref="IMethod"/> |
---|
56 | Destructor = SymbolKind.Destructor, |
---|
57 | /// <summary> |
---|
58 | /// The accessor method for a property getter/setter or event add/remove. |
---|
59 | /// </summary> |
---|
60 | /// <seealso cref="IMethod"/> |
---|
61 | Accessor = SymbolKind.Accessor, |
---|
62 | } |
---|
63 | } |
---|