1047 references to NamedType
ILLink.RoslynAnalyzer (6)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Local (2)
Microsoft.AspNetCore.Analyzers (4)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Components.Analyzers (2)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.CodeAnalysis (16)
Microsoft.CodeAnalysis.CodeStyle (22)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
767case SymbolKind.NamedType:
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
71}, SymbolKind.NamedType);
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp (171)
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\MakeStructFieldsWritable\CSharpMakeStructFieldsWritableDiagnosticAnalyzer.cs (1)
70}, SymbolKind.NamedType);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
687case SymbolKind.NamedType:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (39)
CodeGen\CodeGenDeconstructTests.cs (19)
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);
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);
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);
CodeGen\CodeGenTupleTest.cs (17)
4502Assert.Equal(SymbolKind.NamedType, unnamedTuple.Kind);
4513Assert.Equal(SymbolKind.NamedType, namedTuple.Kind);
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);
6194Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
6198Assert.Equal(SymbolKind.NamedType, types[0].Kind);
6373Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
6398Assert.Equal(SymbolKind.NamedType, tuple.Kind);
6547Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind);
6551Assert.Equal(SymbolKind.NamedType, types[0].Kind);
11153Assert.Equal(SymbolKind.NamedType, m1Tuple.Kind);
11417Assert.Equal(SymbolKind.NamedType, m1Tuple.Kind);
12735Assert.Equal(SymbolKind.NamedType, m1Tuple.Kind);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (39)
Attributes\AttributeTests_Security.cs (12)
676ParentKind = SymbolKind.NamedType,
695ParentKind = SymbolKind.NamedType,
850ParentKind = SymbolKind.NamedType,
955ParentKind = SymbolKind.NamedType,
974ParentKind = SymbolKind.NamedType,
1081ParentKind = SymbolKind.NamedType,
1100ParentKind = SymbolKind.NamedType,
1249ParentKind = SymbolKind.NamedType,
1326ParentKind = SymbolKind.NamedType,
1406ParentKind = SymbolKind.NamedType,
1425ParentKind = SymbolKind.NamedType,
1519ParentKind = SymbolKind.NamedType,
Diagnostics\DiagnosticAnalyzerTests.cs (12)
246context.RegisterSymbolAction(AnalyzeSymbol, SymbolKind.NamedType);
516SymbolKind.Namespace, SymbolKind.NamedType, SymbolKind.Event, SymbolKind.Field, SymbolKind.Method, SymbolKind.Property);
2859TestSymbolStartAnalyzerCore(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType),
2955var analyzer1 = new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType, analyzerId: 1);
2989var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
3045TestSymbolStartAnalyzerCore(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType, OperationKind.VariableDeclarationGroup),
3083var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
3143var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
3191var analyzers = new DiagnosticAnalyzer[] { new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType, OperationKind.Invocation) };
3223var analyzers = new DiagnosticAnalyzer[] { new SymbolStartAnalyzer(topLevelAction: true, SymbolKind.NamedType, OperationKind.FieldReference) };
3265var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType));
3311var analyzers = ImmutableArray.Create<DiagnosticAnalyzer>(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.NamedType));
Microsoft.CodeAnalysis.CSharp.Features (11)
src\Analyzers\CSharp\Analyzers\MakeStructFieldsWritable\CSharpMakeStructFieldsWritableDiagnosticAnalyzer.cs (1)
70}, SymbolKind.NamedType);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (39)
Semantics\ColorColorTests.cs (19)
286SymbolKind.NamedType, "E",
318SymbolKind.NamedType, "C",
319SymbolKind.NamedType, "C.Inner",
533SymbolKind.NamedType, "E",
709SymbolKind.NamedType, "E",
799SymbolKind.NamedType, "E",
877SymbolKind.NamedType, "E",
907SymbolKind.NamedType, "C",
931SymbolKind.NamedType, "C",
955SymbolKind.NamedType, "Color",
1323SymbolKind.NamedType, "E",
1353SymbolKind.NamedType, "E",
1411SymbolKind.NamedType, "E",
1790Assert.Equal(SymbolKind.NamedType, actualSymbol.Symbol.Kind);
1824Assert.Equal(SymbolKind.NamedType, actualSymbol.Symbol.Kind);
1889Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
1903Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
2003Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
2017Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind);
Semantics\LocalFunctionTests.cs (3)
7891VerifyTParameter(comp, 1, "C", symbolKind: SymbolKind.NamedType, lookupFinds: "System.String C.TParameter");
8365VerifyTParameter(comp, 1, "C", symbolKind: SymbolKind.NamedType, lookupFinds: "System.String C.TParameter");
8427VerifyTParameter(comp, 1, "C", lookupFinds: "System.String C.TParameter", symbolKind: SymbolKind.NamedType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (146)
Compilation\SemanticModelAPITests.cs (16)
2817speculatedUsingExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException");
2837speculatedTypeExpression, SpeculativeBindingOption.BindAsTypeOrNamespace, SymbolKind.NamedType, "System.ArgumentException");
2868speculatedTypeExpression, SpeculativeBindingOption.BindAsTypeOrNamespace, SymbolKind.NamedType, "System.ArgumentException");
2871speculatedTypeExpression, SpeculativeBindingOption.BindAsTypeOrNamespace, SymbolKind.NamedType, "System.ArgumentException");
2874speculatedTypeExpression, SpeculativeBindingOption.BindAsTypeOrNamespace, SymbolKind.NamedType, "System.ArgumentException");
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);
3061Assert.Equal(SymbolKind.NamedType, symbol.Kind);
3617Assert.Equal(SymbolKind.NamedType, oldSymbol.Kind);
3624Assert.Equal(SymbolKind.NamedType, newSymbol.Kind);
Compilation\SemanticModelGetSemanticInfoTests.cs (77)
91Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
126Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
160Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
201Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
242Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
472Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
512Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
555Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
557Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
603Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
605Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
651Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
653Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
2197Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
2269Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
2618Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
3498Assert.Equal(SymbolKind.NamedType, 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);
3905Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
4013Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
4223Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
5245Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
5454Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
5456Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
5458Assert.Equal(SymbolKind.NamedType, sortedCandidates[2].Kind);
6254Assert.Equal(SymbolKind.NamedType, symbol.Kind);
6525Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
6560Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
6597Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
7053Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
7525Assert.Equal(SymbolKind.NamedType, semanticInfo.Type.Kind);
7824Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
7889Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
9133Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9311Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
9368Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9370Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9427Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9429Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9538Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9540Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9575Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9577Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9624Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9626Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9790Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9792Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
9896Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
9898Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
10109Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
10146Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
10327Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
10329Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
10361Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
10363Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
10395Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
10397Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
10438Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
10440Assert.Equal(SymbolKind.NamedType, sortedCandidates[1].Kind);
11433Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
12161Assert.Equal(SymbolKind.NamedType, semanticInfo.CandidateSymbols[0].Kind);
12229Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
12365Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
12401Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
13957Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14048Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14087Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14207Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
14428Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
14517Assert.Equal(SymbolKind.NamedType, sortedCandidates[0].Kind);
15309Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
15411Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
687case SymbolKind.NamedType:
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (12)
Microsoft.CodeAnalysis.Features (36)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
767case SymbolKind.NamedType:
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
71}, SymbolKind.NamedType);
Microsoft.CodeAnalysis.Test.Utilities (27)
Diagnostics\CommonDiagnosticAnalyzers.cs (21)
767}, SymbolKind.NamedType);
964cc.RegisterSymbolAction(c => ReportDiagnostic(c.ReportDiagnostic, ActionKind.Symbol), SymbolKind.NamedType);
1004}, SymbolKind.NamedType);
1044}, SymbolKind.NamedType);
1179}, SymbolKind.NamedType);
1211}, SymbolKind.NamedType);
1538}, SymbolKind.NamedType);
1602}, SymbolKind.NamedType);
1700compilationStartContext.RegisterSymbolAction(symbolContext => namedTypes.Add(symbolContext.Symbol), SymbolKind.NamedType);
1816}, SymbolKind.NamedType);
2430}, SymbolKind.NamedType);
2441}, SymbolKind.NamedType);
2451}, SymbolKind.NamedType);
2545SymbolKind.NamedType);
2751SymbolKind.NamedType, SymbolKind.Method);
2767}, SymbolKind.NamedType);
2940context.RegisterSymbolAction(context => HandleCallback(context.Symbol.Locations[0], context.Compilation, context.ReportDiagnostic, context.CancellationToken), SymbolKind.NamedType);
3016context.RegisterSymbolAction(symbolContext => AnalyzedSymbols.Add(symbolContext.Symbol), SymbolKind.NamedType, SymbolKind.Method);
3036}, SymbolKind.NamedType);
3131}, SymbolKind.NamedType);
3148}, SymbolKind.NamedType);
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (150)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
799Case SymbolKind.NamedType
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (42)
CodeGen\CodeGenTuples.vb (21)
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)
6950Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
6970Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
6991Assert.Equal(SymbolKind.NamedType, tupleWithSomeNames.Kind)
7009Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7153Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7157Assert.Equal(SymbolKind.NamedType, types(0).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)
7300Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7318Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7334Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7435Assert.Equal(SymbolKind.NamedType, tupleWithoutNames.Kind)
7439Assert.Equal(SymbolKind.NamedType, types(0).Kind)
15033Assert.Equal(SymbolKind.NamedType, m1Tuple.Kind)
16291Assert.Equal(SymbolKind.NamedType, m1Tuple.Kind)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (80)
Binding\Binder_Expressions_Tests.vb (10)
2866Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind)
2880Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind)
2912Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind)
2926Assert.Equal(SymbolKind.NamedType, symbolInfo.Symbol.Kind)
3066Assert.Equal(SymbolKind.NamedType, symbol.Kind)
3112Assert.Equal(SymbolKind.NamedType, symbol.Kind)
3158Assert.Equal(SymbolKind.NamedType, symbol.Kind)
3261Assert.Equal(SymbolKind.NamedType, symbol.Kind)
3353Assert.Equal(SymbolKind.NamedType, symbol.Kind)
3406Assert.Equal(SymbolKind.NamedType, symbol.Kind)
Compilation\SemanticModelAPITests.vb (8)
543Assert.Equal(SymbolKind.NamedType, oldSymbol.Kind)
551Assert.Equal(SymbolKind.NamedType, newSymbol.Kind)
1793speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException")
1824speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException")
1829speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "N.I")
1865speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException")
1868speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException")
1871speculatedTypeExpression, SpeculativeBindingOption.BindAsExpression, SymbolKind.NamedType, "System.ArgumentException")
Semantics\GetExtendedSemanticInfoTests.vb (46)
121Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
156Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
237Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
280Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
323Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
371Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
373Assert.Equal(SymbolKind.NamedType, sortedCandidates(1).Kind)
420Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
422Assert.Equal(SymbolKind.NamedType, sortedCandidates(1).Kind)
469Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
471Assert.Equal(SymbolKind.NamedType, sortedCandidates(1).Kind)
962Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
1587Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
4874Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
4905Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
4937Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
5102Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
5133Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
5242Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
5244Assert.Equal(SymbolKind.NamedType, sortedCandidates(1).Kind)
6189Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
6779Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
6854Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
6929Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
7004Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
7745Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7816Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7821Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
7855Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7860Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
7894Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7899Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
7933Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7938Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
7972Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
7977Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
8010Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
8015Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
8048Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
8053Assert.Equal(SymbolKind.NamedType, semanticSummary.Alias.Target.Kind)
8342Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
8591Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
9434Assert.Equal(SymbolKind.NamedType, sortedCandidates(0).Kind)
9696Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
9736Assert.Equal(SymbolKind.NamedType, semanticInfo.Symbol.Kind)
9932Assert.Equal(SymbolKind.NamedType, semanticSummary.Symbol.Kind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (56)
DocumentationComments\DocCommentTests.vb (8)
6734SymbolKind.NamedType, SymbolKind.TypeParameter),
6741SymbolKind.NamedType, SymbolKind.TypeParameter),
6748SymbolKind.NamedType, SymbolKind.TypeParameter))
6760SymbolKind.NamedType, SymbolKind.TypeParameter),
6767SymbolKind.NamedType, SymbolKind.TypeParameter),
6774SymbolKind.NamedType, SymbolKind.TypeParameter))
6875Assert.Equal(SymbolKind.NamedType, type.Kind)
7395name:="Int32"), SymbolKind.NamedType)
SymbolsTests\Source\TypeTests.vb (17)
92Assert.Equal(SymbolKind.NamedType, ifaceA.Kind)
110Assert.Equal(SymbolKind.NamedType, classB.Kind)
127Assert.Equal(SymbolKind.NamedType, delegateB.Kind)
148Assert.Equal(SymbolKind.NamedType, enumE.Kind)
163Assert.Equal(SymbolKind.NamedType, structI.Kind)
178Assert.Equal(SymbolKind.NamedType, moduleM.Kind)
240Assert.Equal(SymbolKind.NamedType, outerClass.Kind)
256Assert.Equal(SymbolKind.NamedType, i1Class.Kind)
266Assert.Equal(SymbolKind.NamedType, i3Interface.Kind)
276Assert.Equal(SymbolKind.NamedType, i4Enum.Kind)
290Assert.Equal(SymbolKind.NamedType, i2Arity1.Kind)
304Assert.Equal(SymbolKind.NamedType, i2Arity2.Kind)
553Assert.Equal(SymbolKind.NamedType, enumE.Kind)
606Assert.Equal(SymbolKind.NamedType, classA.Kind)
616Assert.Equal(SymbolKind.NamedType, igoo.Kind)
626Assert.Equal(SymbolKind.NamedType, structS.Kind)
696Assert.Equal(SymbolKind.NamedType, varA.Type.Kind)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb (1)
799Case SymbolKind.NamedType
Microsoft.CodeAnalysis.Workspaces (26)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.Gen.Logging (2)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.VisualStudio.LanguageServices (12)
Microsoft.VisualStudio.LanguageServices.CSharp (5)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (13)
GlyphExtensionsTests.cs (13)
71pointedAtType: (INamedTypeSymbol)CreateSymbolMock(SymbolKind.NamedType, typeKind: TypeKind.Class));
80containingType: (INamedTypeSymbol)CreateSymbolMock(SymbolKind.NamedType, typeKind: TypeKind.Enum));
100elementType: (INamedTypeSymbol)CreateSymbolMock(SymbolKind.NamedType, typeKind: TypeKind.Class));
105target: (INamedTypeSymbol)CreateSymbolMock(SymbolKind.NamedType, typeKind: TypeKind.Class));
114SymbolKind.NamedType,
118SymbolKind.NamedType,
122SymbolKind.NamedType,
126SymbolKind.NamedType,
130SymbolKind.NamedType,
134SymbolKind.NamedType,
138SymbolKind.NamedType,
144SymbolKind.NamedType,
231if (kind == SymbolKind.NamedType)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
SemanticSearch.BuildTask (1)