67 references to ApiKind
Microsoft.Cci.Extensions (66)
Comparers\ApiComparer.cs (24)
13
private readonly Func<T,
ApiKind
> _kindProvider;
16
public ApiComparer(Func<T,
ApiKind
> kindProvider, Func<T, string> nameProvider)
24
var
kindX = _kindProvider(x);
25
var
kindY = _kindProvider(y);
32
if (kindX ==
ApiKind
.Namespace && kindY ==
ApiKind
.Namespace)
38
private static int CompareKind(
ApiKind
x,
ApiKind
y)
86
private static int GetKindOrder(
ApiKind
kind)
91
case
ApiKind
.Namespace:
95
case
ApiKind
.Interface:
96
case
ApiKind
.Delegate:
97
case
ApiKind
.Enum:
98
case
ApiKind
.Struct:
99
case
ApiKind
.Class:
103
case
ApiKind
.EnumField:
104
case
ApiKind
.Field:
106
case
ApiKind
.Constructor:
108
case
ApiKind
.Property:
110
case
ApiKind
.Method:
111
case
ApiKind
.PropertyAccessor:
112
case
ApiKind
.EventAccessor:
113
case
ApiKind
.DelegateMember:
115
case
ApiKind
.Event:
Extensions\ApiKindExtensions.cs (26)
10
public static bool IsInfrastructure(this
ApiKind
kind)
14
case
ApiKind
.EnumField:
15
case
ApiKind
.DelegateMember:
16
case
ApiKind
.PropertyAccessor:
17
case
ApiKind
.EventAccessor:
24
public static bool IsNamespace(this
ApiKind
kind)
26
return kind ==
ApiKind
.Namespace;
29
public static bool IsType(this
ApiKind
kind)
33
case
ApiKind
.Interface:
34
case
ApiKind
.Delegate:
35
case
ApiKind
.Enum:
36
case
ApiKind
.Struct:
37
case
ApiKind
.Class:
44
public static bool IsMember(this
ApiKind
kind)
48
case
ApiKind
.EnumField:
49
case
ApiKind
.DelegateMember:
50
case
ApiKind
.Field:
51
case
ApiKind
.Property:
52
case
ApiKind
.Event:
53
case
ApiKind
.Constructor:
54
case
ApiKind
.PropertyAccessor:
55
case
ApiKind
.EventAccessor:
56
case
ApiKind
.Method:
63
public static bool IsAccessor(this
ApiKind
kind)
67
case
ApiKind
.PropertyAccessor:
68
case
ApiKind
.EventAccessor:
Extensions\MemberExtensions.cs (10)
179
public static
ApiKind
GetApiKind(this ITypeDefinitionMember member)
182
return
ApiKind
.DelegateMember;
189
return
ApiKind
.EnumField;
192
return
ApiKind
.Field;
195
return
ApiKind
.Property;
198
return
ApiKind
.Event;
205
return
ApiKind
.Constructor;
213
return
ApiKind
.PropertyAccessor;
217
return
ApiKind
.EventAccessor;
220
return
ApiKind
.Method;
Extensions\TypeExtensions.cs (6)
522
public static
ApiKind
GetApiKind(this ITypeDefinition type)
525
?
ApiKind
.Interface
527
?
ApiKind
.Delegate
529
?
ApiKind
.Enum
531
?
ApiKind
.Struct
532
:
ApiKind
.Class;
Microsoft.DotNet.AsmDiff (1)
Csv\DiffSubKindCsvColumn.cs (1)
23
return
ApiKind
.Namespace.ToString();