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