10 implementations of Kind
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (3)
1408 references to Kind
ConfigurationSchemaGenerator (2)
ILLink.RoslynAnalyzer (5)
Microsoft.Analyzers.Extra (3)
Microsoft.Analyzers.Local (4)
Microsoft.AspNetCore.Analyzers (4)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
Microsoft.CodeAnalysis (42)
Microsoft.CodeAnalysis.CodeStyle (81)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
601switch (type.Kind)
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
Microsoft.CodeAnalysis.CSharp (20)
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
439switch (symbol.Kind)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (55)
CodeGen\CodeGenDeconstructTests.cs (36)
3613Assert.Equal(SymbolKind.Field, field.Kind);
3700Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
3705Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x2Type).Symbol.Kind);
3753Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
3802Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
3805Assert.Equal(SymbolKind.NamedType, x1Alias.Target.Kind);
3810Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x2Type).Symbol.Kind);
3942Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
3947Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x2Type).Symbol.Kind);
3988Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
3993Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x2Type).Symbol.Kind);
4408Assert.Equal(SymbolKind.Parameter, symbol.Kind);
5035Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(xType).Symbol.Kind);
5041Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(yType).Symbol.Kind);
5187Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
5313Assert.Equal(SymbolKind.Local, x1Symbol.Kind);
5318Assert.Equal(SymbolKind.Local, x2Symbol.Kind);
5349Assert.Equal(SymbolKind.Local, x1Symbol.Kind);
5354Assert.Equal(SymbolKind.Local, x2Symbol.Kind);
5475Assert.Equal(SymbolKind.Field, firstX1Symbol.Kind);
5480Assert.Equal(SymbolKind.Field, secondX1Symbol.Kind);
5507Assert.Equal(SymbolKind.Field, firstYSymbol.Kind);
5512Assert.Equal(SymbolKind.Field, secondYSymbol.Kind);
5538Assert.Equal(SymbolKind.Field, firstXSymbol.Kind);
5543Assert.Equal(SymbolKind.Field, secondXSymbol.Kind);
5818Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
5821Assert.Equal(SymbolKind.NamedType, x1Alias.Target.Kind);
5826Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x3Type).Symbol.Kind);
5829Assert.Equal(SymbolKind.NamedType, x3Alias.Target.Kind);
5870Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x1Type).Symbol.Kind);
5876Assert.Equal(SymbolKind.NamedType, model.GetSymbolInfo(x3Type).Symbol.Kind);
6005Assert.Equal(SymbolKind.Discard, isymbol.Kind);
6040Assert.Equal(SymbolKind.Discard, symbol.Kind);
6049Assert.Equal(SymbolKind.Discard, symbolClone.Kind);
6093Assert.Equal(SymbolKind.Discard, symbol.Kind);
6140Assert.Equal(SymbolKind.Discard, symbol.Kind);
CodeGen\CodeGenTupleTest.cs (18)
5819Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
5824Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
5877Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
5882Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
5916Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind);
5919Assert.Equal(SymbolKind.NamedType, tuple.Kind);
5954Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.Kind);
5959Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.Kind);
5978Assert.Equal(SymbolKind.ErrorType, tupleWithNames.Kind);
5997Assert.Equal(SymbolKind.ErrorType, tupleWithSomeNames.Kind);
6015Assert.Equal(SymbolKind.ErrorType, tupleWithNames.Kind);
6373Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
6398Assert.Equal(SymbolKind.NamedType, tuple.Kind);
6421Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.Kind);
6437Assert.Equal(SymbolKind.ErrorType, tupleWithNames.Kind);
6452Assert.Equal(SymbolKind.ErrorType, tupleWithNames.Kind);
6547Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
17374Assert.Equal(SymbolKind.Field, sym.Symbol.Kind);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (50)
Semantics\PrimaryConstructorTests.cs (17)
964Assert.Equal(SymbolKind.Local, outVar.Kind);
1011Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1076Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1304Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1317Assert.Equal(SymbolKind.Local, symbol.Kind);
1328Assert.Equal(SymbolKind.Method, symbol.Kind);
1533Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1622Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1971Assert.Equal(SymbolKind.Parameter, symbol.Kind);
2645Assert.Equal(SymbolKind.Parameter, symbol.Kind);
2683Assert.Equal(SymbolKind.Parameter, symbol.Kind);
2720Assert.Equal(SymbolKind.Parameter, symbol.Kind);
2756Assert.Equal(SymbolKind.Parameter, symbol.Kind);
7822Assert.Equal(SymbolKind.Property, symbol.Kind);
7828Assert.Equal(SymbolKind.Parameter, symbol.Kind);
8762Assert.Equal(SymbolKind.Parameter, symbol.Kind);
9168Assert.Equal(SymbolKind.Parameter, symbol.Kind);
Semantics\RecordTests.cs (15)
451Assert.Equal(SymbolKind.Parameter, parameter.Kind);
457Assert.Equal(SymbolKind.Parameter, initializer.Kind);
483Assert.Equal(SymbolKind.Local, outVar.Kind);
21148Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
21378Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
21391Assert.Equal(SymbolKind.Local, symbol!.Kind);
21402Assert.Equal(SymbolKind.Method, symbol!.Kind);
21607Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
21696Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
22083Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
24647Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
24682Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
24716Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
24751Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
28348Assert.Equal(SymbolKind.Property, model.GetSymbolInfo(cref).Symbol!.Kind);
Microsoft.CodeAnalysis.CSharp.Features (19)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (164)
Semantics\ColorColorTests.cs (19)
594Assert.Equal(SymbolKind.Alias, alias.Kind);
601Assert.Equal(SymbolKind.Method, parentInfo.Symbol.Kind);
641Assert.Equal(SymbolKind.Local, info.Symbol.Kind);
1070Assert.Equal(SymbolKind.Property, info.Symbol.Kind);
1116Assert.Equal(SymbolKind.Property, info.Symbol.Kind);
1162Assert.Equal(SymbolKind.Property, info.Symbol.Kind);
1207Assert.Equal(SymbolKind.Property, info.Symbol.Kind);
1251Assert.Equal(SymbolKind.Event, candidate.Kind);
1285Assert.Equal(SymbolKind.Field, info.Symbol.Kind);
1790Assert.Equal(SymbolKind.NamedType, actualSymbol.Symbol.Kind);
1824Assert.Equal(SymbolKind.NamedType, actualSymbol.Symbol.Kind);
1848Assert.Equal(exprSymbolKind, info.Symbol.Kind);
1855Assert.Equal(parentSymbolKind, parentInfo.Symbol.Kind);
1889Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
1903Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
1946Assert.Equal(SymbolKind.Local, symbolInfo.Symbol.Kind);
1960Assert.Equal(SymbolKind.Local, symbolInfo.Symbol.Kind);
2003Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
2017Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
Semantics\DeconstructionTests.cs (28)
3952Assert.Equal(SymbolKind.Local, symbol.Kind);
3957Assert.NotEqual(SymbolKind.Local, symbol.Kind);
3966Assert.Equal(SymbolKind.Local, symbol.Kind);
3971Assert.NotEqual(SymbolKind.Local, symbol.Kind);
4285Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
4291Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
4377Assert.Equal(SymbolKind.Field, a.Kind);
4381Assert.Equal(SymbolKind.Field, b.Kind);
4385Assert.Equal(SymbolKind.Field, c.Kind);
4389Assert.Equal(SymbolKind.Field, d.Kind);
4416Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
4422Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
4544Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
4553Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5230Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5236Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5335Assert.Equal(SymbolKind.Field, a.Kind);
5339Assert.Equal(SymbolKind.Field, b.Kind);
5343Assert.Equal(SymbolKind.Field, c.Kind);
5347Assert.Equal(SymbolKind.Field, d.Kind);
5374Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5380Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5511Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5520Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
5769Assert.Equal(SymbolKind.Field, a.Kind);
5773Assert.Equal(SymbolKind.Field, b.Kind);
5777Assert.Equal(SymbolKind.Field, c.Kind);
5781Assert.Equal(SymbolKind.Field, d.Kind);
Semantics\LocalFunctionTests.cs (15)
4968Assert.Equal(SymbolKind.Local, b1Symbol.Kind);
6411Assert.Equal(SymbolKind.Local, symbol.Kind);
6447Assert.Equal(SymbolKind.Local, symbol.Kind);
6450Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6491Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6494Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6497Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6538Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6541Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6544Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
7039var actualSymbols = nodes.Select(n => model.GetSymbolInfo(n.Left).Symbol).Select(s => $"{s.Kind}: {s.ToTestDisplayString()}").ToArray();
7373Assert.Equal(SymbolKind.TypeParameter, symbolInfo.Symbol.Kind);
7656Assert.Equal(SymbolKind.TypeParameter, typeInfo.Type.Kind);
7668Assert.Equal(symbolKind, model.GetTypeInfo(tParameterUsage).Type.Kind);
8954Assert.Equal(SymbolKind.Parameter, symbolInfo.Symbol.Kind);
Semantics\QueryTests.cs (18)
1459Assert.Equal(SymbolKind.RangeVariable, x.Kind);
1467Assert.Equal(SymbolKind.RangeVariable, y.Kind);
1475Assert.Equal(SymbolKind.RangeVariable, z.Kind);
1668Assert.Equal(SymbolKind.RangeVariable, x.Kind);
1676Assert.Equal(SymbolKind.RangeVariable, y.Kind);
1684Assert.Equal(SymbolKind.RangeVariable, z.Kind);
2180Assert.Equal(SymbolKind.RangeVariable, info.Symbol.Kind);
2210Assert.Equal(SymbolKind.RangeVariable, info.Symbol.Kind);
2237Assert.Equal(SymbolKind.RangeVariable, info.Symbol.Kind);
2243Assert.Equal(SymbolKind.RangeVariable, info.Symbol.Kind);
2277Assert.Equal(SymbolKind.RangeVariable, symbol.Kind);
2330Assert.Equal(SymbolKind.RangeVariable, symbol.Kind);
2902Assert.Equal(SymbolKind.RangeVariable, x.Kind);
2935Assert.Equal(SymbolKind.RangeVariable, x.Kind);
3141Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
3473Assert.Equal(SymbolKind.RangeVariable, x.Kind);
3523Assert.Equal(SymbolKind.RangeVariable, symbol.Kind);
3563Assert.Equal(SymbolKind.RangeVariable, symbol.Kind);
Semantics\RecordStructTests.cs (10)
2598Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
2633Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
2667Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
2702Assert.Equal(SymbolKind.Parameter, symbol!.Kind);
3289Assert.Equal(SymbolKind.Property, model.GetSymbolInfo(cref).Symbol!.Kind);
3337Assert.Equal(SymbolKind.Property, model.GetSymbolInfo(cref).Symbol!.Kind);
3388Assert.Equal(SymbolKind.Property, model.GetSymbolInfo(cref).Symbol!.Kind);
5852Assert.Equal(SymbolKind.Parameter, parameter.Kind);
5858Assert.Equal(SymbolKind.Parameter, initializer.Kind);
5894Assert.Equal(SymbolKind.Local, outVar.Kind);
Semantics\TopLevelStatementsTests.cs (16)
704Assert.Equal(SymbolKind.Local, local.Kind);
706Assert.Equal(SymbolKind.Method, local.ContainingSymbol.Kind);
708Assert.Equal(SymbolKind.NamedType, local.ContainingSymbol.ContainingSymbol.Kind);
2429Assert.Equal(SymbolKind.Label, declSymbol.Kind);
3952Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter));
4101Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter));
4136Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter));
4141Assert.False(symbols.Any(s => s.Kind == SymbolKind.Parameter));
4223Assert.Equal(SymbolKind.Method, local.ContainingSymbol.Kind);
4225Assert.Equal(SymbolKind.NamedType, local.ContainingSymbol.ContainingSymbol.Kind);
4899Assert.Equal(SymbolKind.Label, label.Kind);
4901Assert.Equal(SymbolKind.Method, label.ContainingSymbol.Kind);
4903Assert.Equal(SymbolKind.NamedType, label.ContainingSymbol.ContainingSymbol.Kind);
4984Assert.Equal(SymbolKind.Label, label.Kind);
4986Assert.Equal(SymbolKind.Method, label.ContainingSymbol.Kind);
4988Assert.Equal(SymbolKind.NamedType, label.ContainingSymbol.ContainingSymbol.Kind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (334)
Compilation\GetSemanticInfoTests.cs (19)
45Assert.Equal(SymbolKind.Parameter, sym.Symbol.Kind);
75Assert.Equal(SymbolKind.Method, sym.Symbol.Kind);
105Assert.Equal(SymbolKind.Method, sym.Symbol.Kind);
139Assert.Equal(SymbolKind.Method, sym.Symbol.Kind);
1073Assert.Equal(SymbolKind.Method, baseConstructor.Kind);
1092Assert.Equal(SymbolKind.Method, baseConstructor.Kind);
1533Assert.Equal(SymbolKind.Field, candidate.Kind);
1562Assert.Equal(SymbolKind.NamedType, symbol.Kind);
1612Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
1708Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1710Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind);
1743Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1745Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind);
1778Assert.Equal(SymbolKind.Parameter, symbol.Kind);
1780Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind);
2541Assert.Equal(SymbolKind.Parameter, symbol.Kind);
2727Assert.Equal(SymbolKind.Local, symbol.Kind);
3556Assert.Equal(SymbolKind.Namespace, info.Symbol.Kind);
4790Assert.Equal(SymbolKind.ErrorType, lambda.ReturnType.Kind);
Compilation\SemanticModelAPITests.cs (44)
155Assert.Equal(SymbolKind.Method, symbolInfo.Symbol.Kind);
1210Assert.Equal(parasym.Kind, argsym1.Kind);
1211Assert.Equal(parasym.Kind, argsym2.Kind);
1342Assert.Equal(SymbolKind.Alias, model.GetDeclaredSymbol(usingSyntax).Kind);
1369Assert.Equal(SymbolKind.Method, symbol.Kind);
1731Assert.Equal(SymbolKind.Alias, aliasSymbol.Kind);
1790Assert.Equal(SymbolKind.Local, local.Kind);
1802Assert.Equal(SymbolKind.Local, info.Symbol.Kind);
1809Assert.Equal(SymbolKind.Local, info2.Symbol.Kind);
1843Assert.Equal(SymbolKind.Local, local.Kind);
1856Assert.Equal(SymbolKind.Local, local.Kind);
1889Assert.Equal(SymbolKind.Label, label.Kind);
2085Assert.Equal(SymbolKind.Method, symbol.Kind);
2102Assert.Equal(SymbolKind.Method, symbol.Kind);
2286Assert.Equal(SymbolKind.Local, symbol.Kind);
2396Assert.Equal(SymbolKind.Local, local.Kind);
2408Assert.Equal(SymbolKind.Local, info.Symbol.Kind);
2579Assert.Equal(SymbolKind.Local, local.Kind);
2593Assert.Equal(SymbolKind.Local, local.Kind);
2607Assert.Equal(SymbolKind.Local, local.Kind);
2612Assert.Equal(SymbolKind.Parameter, param.Kind);
2650Assert.Equal(SymbolKind.Label, label.Kind);
2715Assert.Equal(expectedSymbolKind, symbol.Kind);
2720Assert.Equal(expectedSymbolKind, symbol.Kind);
2729Assert.Equal(expectedSymbolKind, symbol.Kind);
2734Assert.Equal(expectedSymbolKind, symbol.Kind);
2938Assert.Equal(SymbolKind.NamedType, symbol.Kind);
2944Assert.Equal(SymbolKind.NamedType, symbol.Kind);
2978Assert.Equal(SymbolKind.NamedType, symbol.Kind);
2984Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3023Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3028Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3033Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3039Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3051Assert.Equal(SymbolKind.Method, symbol.Kind);
3056Assert.Equal(SymbolKind.Method, symbol.Kind);
3061Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3067Assert.Equal(SymbolKind.Method, symbol.Kind);
3132Assert.Equal(SymbolKind.Parameter, symbol.Kind);
3617Assert.Equal(SymbolKind.NamedType, oldSymbol.Kind);
3624Assert.Equal(SymbolKind.NamedType, newSymbol.Kind);
3850Assert.Equal(SymbolKind.Alias, symbol.Kind);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (36)
433Assert.Equal(SymbolKind.Event, symbol.Kind);
455Assert.Equal(SymbolKind.Property, symbol.Kind);
477Assert.Equal(SymbolKind.Property, symbol.Kind);
502Assert.Equal(SymbolKind.Event, symbol.Kind);
524Assert.Equal(SymbolKind.Property, symbol.Kind);
546Assert.Equal(SymbolKind.Property, symbol.Kind);
970Assert.Equal(SymbolKind.TypeParameter, ptsym.Kind);
988Assert.Equal(SymbolKind.Parameter, psym.Kind);
1090Assert.Equal(SymbolKind.NamedType, symbols[0].Kind);
1094Assert.Equal(SymbolKind.Local, symbols[0].Kind);
1131Assert.Equal(SymbolKind.NamedType, symbols[0].Kind);
1139Assert.Equal(SymbolKind.Field, symbols[0].Kind);
1143Assert.Equal(SymbolKind.Alias, symbols[0].Kind);
1180Assert.Equal(SymbolKind.NamedType, symbols[0].Kind);
1388Assert.True(symbolsInC.Any(s => s.Name == "A" && s.Kind == SymbolKind.NamedType));
1389Assert.True(symbolsInC.Any(s => s.Name == "B" && s.Kind == SymbolKind.NamedType));
1390Assert.True(symbolsInC.Any(s => s.Name == "C" && s.Kind == SymbolKind.NamedType));
1391Assert.True(symbolsInC.Any(s => s.Name == "M" && s.Kind == SymbolKind.Method && s.ContainingType.Name == "A"));
1392Assert.True(symbolsInC.Any(s => s.Name == "M" && s.Kind == SymbolKind.Method && s.ContainingType.Name == "B"));
1393Assert.True(symbolsInC.Any(s => s.Name == "M" && s.Kind == SymbolKind.Method && s.ContainingType.Name == "C"));
1394Assert.True(symbolsInC.Any(s => s.Name == "F" && s.Kind == SymbolKind.Method && s.ContainingType.Name == "C"));
1395Assert.True(symbolsInC.Any(s => s.Name == "System" && s.Kind == SymbolKind.Namespace));
1396Assert.True(symbolsInC.Any(s => s.Name == "Microsoft" && s.Kind == SymbolKind.Namespace));
1722symbol.Kind == SymbolKind.Method && (((IMethodSymbol)symbol).IsExtensionMethod || ((IMethodSymbol)symbol).MethodKind == MethodKind.ReducedExtension);
1885symbol.Kind == SymbolKind.Method && (((IMethodSymbol)symbol).IsExtensionMethod || ((IMethodSymbol)symbol).MethodKind == MethodKind.ReducedExtension);
2820Assert.Equal(SymbolKind.Namespace, n1.Kind);
3454Assert.Equal(SymbolKind.Alias, symbol.Kind);
3590Assert.Equal(SymbolKind.Method, symbol.Kind);
3615Assert.Equal(SymbolKind.Method, symbol.Kind);
3639Assert.Equal(SymbolKind.NamedType, enumTypeSymbol.Kind);
3643Assert.Equal(SymbolKind.Field, symbol.Kind);
3671Assert.Equal(SymbolKind.Parameter, info.Symbol.Kind);
3713Assert.Equal(SymbolKind.Label, symbol.Kind);
3849Assert.Equal(SymbolKind.Method, symbolInfo.Symbol.Kind);
4747Assert.Equal(SymbolKind.NamedType, enumSymbol.Kind);
4751Assert.Equal(SymbolKind.Event, eventSymbol.Kind);
Compilation\SemanticModelGetSemanticInfoTests.cs (168)
91Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
349Assert.Equal(SymbolKind.Field, symbol.Kind);
437Assert.Equal(SymbolKind.Field, symbol.Kind);
1649Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
1693Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
1725Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
2124Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
2157Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2197Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
2269Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
2304Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2354Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2400Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2443Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2498Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2550Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2618Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
2655Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2876Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2912Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3078Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3123Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3163Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3205Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3251Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3290Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3326Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3363Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3400Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3498Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3561Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
3595Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3633Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3677Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3711Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3745Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3779Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3809Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
3870Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
3905Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
4013Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
4044Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
4112Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
4141Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
4324Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
4385Assert.Equal(SymbolKind.Namespace, semanticInfo.Type.ContainingSymbol.Kind);
4410Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
4480Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
4547Assert.Equal(SymbolKind.Parameter, symbol.Kind);
4548Assert.True(symbol.ContainingSymbol.Kind == SymbolKind.Property && ((IPropertySymbol)symbol.ContainingSymbol).IsIndexer);
4575Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
4613Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4679Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4717Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4753Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4789Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4820Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4857Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
4884Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
4892Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.ContainingSymbol.Kind);
5205Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5245Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
5284Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5326Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5548Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
5580Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
5612Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
5637Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5662Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5698Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5801Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
5868Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
5937Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
6004Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
6123Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6150Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6183Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6254Assert.Equal(SymbolKind.NamedType, symbol.Kind);
6335Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
6372Assert.Equal(SymbolKind.Method, symbol.Kind);
6442Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6525Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
6560Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
6597Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
6881Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
6926Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
7000Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7029Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7053Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
7084Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7112Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7143Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7294Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7322Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7525Assert.Equal(SymbolKind.NamedType, semanticInfo.Type.Kind);
7558Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
7666Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
7705Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
7734Assert.Equal(SymbolKind.Parameter, semanticInfo.Symbol.Kind);
7759Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7778Assert.Equal(SymbolKind.ErrorType, semanticInfo.Type.Kind);
7797Assert.Equal(SymbolKind.ErrorType, semanticInfo.Type.Kind);
7824Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
7889Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
8124Assert.Equal(SymbolKind.ErrorType, semanticInfo.Type.Kind);
8148Assert.Equal(SymbolKind.ErrorType, semanticInfo.Type.Kind);
8241Assert.Equal(SymbolKind.ErrorType, semanticInfo.Type.Kind);
8566Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
8611Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
8650Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
8857Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
8899Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
9311Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
9923Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
9957Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
9993Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
10029Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
10065Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
10109Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
10146Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
10528Assert.Equal(SymbolKind.Parameter, semanticInfo.CandidateSymbols[0].Kind);
11272Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11309Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11346Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11386Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11433Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
11644Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
11678Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
11716Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11761Assert.Equal(SymbolKind.Namespace, semanticInfo.Symbol.Kind);
11837Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
11907Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
11979Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
12161Assert.Equal(SymbolKind.NamedType, semanticInfo.CandidateSymbols[0].Kind);
12533Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
12574Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
12616Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
12650Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
12682Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
12777Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
12809Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
12852Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
12928Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
13104Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
13139Assert.Equal(SymbolKind.Method, symbol.Kind);
13173Assert.Equal(SymbolKind.Method, symbol.Kind);
13207Assert.Equal(SymbolKind.Method, symbol.Kind);
13269Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
13329Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
13509Assert.Equal(SymbolKind.Local, semanticInfo.Symbol.Kind);
13957Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14048Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14087Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14125Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14207Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14251Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14632Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14671Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
15090Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
15123Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
15125Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
15158Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
15189Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
15220Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
15251Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
15282Assert.Equal(SymbolKind.Property, semanticInfo.Symbol.Kind);
15309Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
15411Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
Symbols\Source\UsingAliasTests.cs (12)
52Assert.Equal(SymbolKind.Alias, alias1.Kind);
112Assert.Equal(SymbolKind.Alias, alias1.Kind);
169Assert.Equal(SymbolKind.Alias, alias1.Kind);
227Assert.Equal(SymbolKind.Alias, alias1.Kind);
488Assert.Equal(SymbolKind.Alias, symbols[0].Kind);
509Assert.Equal(SymbolKind.Alias, symbols[0].Kind);
546Assert.Equal(SymbolKind.Alias, model.GetAliasInfo(exprSyntaxToBind).Kind);
566Assert.Equal(SymbolKind.Alias, model.GetAliasInfo(exprSyntaxToBind).Kind);
585Assert.Equal(SymbolKind.Alias, model.GetAliasInfo(exprSyntaxToBind).Kind);
605Assert.Equal(SymbolKind.Alias, model.GetAliasInfo(exprSyntaxToBind).Kind);
705Assert.Equal(SymbolKind.ErrorType, alias.Target.Kind);
748Assert.Equal(SymbolKind.ErrorType, alias.Target.Kind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (8)
Microsoft.CodeAnalysis.CSharp.Workspaces (41)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
439switch (symbol.Kind)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.Features (98)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.Test.Utilities (7)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic (18)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
451Select Case symbol.Kind
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (22)
CodeGen\CodeGenTuples.vb (22)
6893Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.TupleUnderlyingType.Kind)
6897Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
6927Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind)
6930Assert.Equal(SymbolKind.NamedType, tuple.Kind)
6946Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind)
6950Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
6966Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind)
6970Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
6987Assert.Equal(SymbolKind.ErrorType, tupleWithSomeNames.TupleUnderlyingType.Kind)
6991Assert.Equal(SymbolKind.NamedType, tupleWithSomeNames.Kind)
7009Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7153Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7249Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.TupleUnderlyingType.Kind)
7253Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7278Assert.Equal(SymbolKind.NamedType, tuple.TupleUnderlyingType.Kind)
7281Assert.Equal(SymbolKind.NamedType, tuple.Kind)
7296Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind)
7300Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7314Assert.Equal(SymbolKind.ErrorType, tupleWithoutNames.TupleUnderlyingType.Kind)
7318Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7334Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7435Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
Microsoft.CodeAnalysis.VisualBasic.Features (19)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (41)
Compilation\SemanticModelAPITests.vb (21)
777Assert.Equal(SymbolKind.Local, local.Kind)
789Assert.Equal(SymbolKind.Local, argSymbolInfo.Symbol.Kind)
796Assert.Equal(SymbolKind.Local, argSymbolInfo.Symbol.Kind)
834Assert.Equal(SymbolKind.Local, local.Kind)
849Assert.Equal(SymbolKind.Local, local.Kind)
908Assert.Equal(SymbolKind.Local, local.Kind)
948Assert.Equal(SymbolKind.Label, label.Kind)
1018Assert.Equal(SymbolKind.Local, local.Kind)
1054Assert.Equal(SymbolKind.Method, symbolInfo.Symbol.Kind)
1094Assert.Equal(SymbolKind.Method, symbolInfo.Symbol.Kind)
1449Assert.Equal(SymbolKind.Local, local.Kind)
1461Assert.Equal(SymbolKind.Local, argSymbolInfo.Symbol.Kind)
1598Assert.Equal(SymbolKind.Local, local.Kind)
1614Assert.Equal(SymbolKind.Local, local.Kind)
1630Assert.Equal(SymbolKind.Local, local.Kind)
1635Assert.Equal(SymbolKind.Parameter, param.Kind)
1674Assert.Equal(SymbolKind.Label, label.Kind)
1731Assert.Equal(expectedSymbolKind, symbol.Kind)
1736Assert.Equal(expectedSymbolKind, symbol.Kind)
1746Assert.Equal(expectedSymbolKind, symbol.Kind)
1751Assert.Equal(expectedSymbolKind, symbol.Kind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (11)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (49)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
451Select Case symbol.Kind
Microsoft.CodeAnalysis.Workspaces (128)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
601switch (type.Kind)
Microsoft.CodeAnalysis.Workspaces.UnitTests (19)
SymbolKeyTests.cs (12)
1035Assert.Equal(symbol.Kind, found.Kind);
1072Assert.Equal(symbol.Kind, found.Kind);
1096Assert.Equal(SymbolKind.ErrorType, propType.Kind);
1108Assert.Equal(propType.Kind, found.Kind);
1131Assert.Equal(SymbolKind.ErrorType, propType.Kind);
1143Assert.Equal(propType.Kind, found.Kind);
1178Assert.Equal(SymbolKind.ErrorType, propType.Kind);
1192Assert.Equal(propType.Kind, found.Kind);
1225Assert.Equal(SymbolKind.ErrorType, propType.Kind);
1239Assert.Equal(propType.Kind, found.Kind);
1291Assert.Equal(symbol.Kind, found.Kind);
1303Assert.Equal(symbol.Kind, found.Kind);
Microsoft.Extensions.Logging.Generators (2)
Microsoft.Extensions.Options.SourceGeneration (6)
Microsoft.Gen.Logging (10)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics (3)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (4)
Microsoft.Interop.LibraryImportGenerator (3)
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
Microsoft.Interop.SourceGeneration (2)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (37)
Microsoft.VisualStudio.LanguageServices.CSharp (8)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
SemanticSearch.BuildTask (2)
System.Private.CoreLib.Generators (2)
System.Text.Json.SourceGeneration (2)
System.Text.RegularExpressions.Generator (2)