1118 references to Method
ILLink.RoslynAnalyzer (3)
Microsoft.Analyzers.Extra (2)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.AspNetCore.Mvc.Analyzers (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CodeStyle (23)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
768case SymbolKind.Method:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
140case SymbolKind.Method:
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp (221)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
443case SymbolKind.Method:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (34)
Attributes\AttributeTests_Security.cs (11)
729ParentKind = SymbolKind.Method,
772ParentKind = SymbolKind.Method,
810ParentKind = SymbolKind.Method,
903ParentKind = SymbolKind.Method,
1015ParentKind = SymbolKind.Method,
1034ParentKind = SymbolKind.Method,
1143ParentKind = SymbolKind.Method,
1162ParentKind = SymbolKind.Method,
1268ParentKind = SymbolKind.Method,
1345ParentKind = SymbolKind.Method,
1444ParentKind = SymbolKind.Method,
Diagnostics\DiagnosticAnalyzerTests.cs (9)
516SymbolKind.Namespace, SymbolKind.NamedType, SymbolKind.Event, SymbolKind.Field, SymbolKind.Method, SymbolKind.Property);
842}, SymbolKind.Method);
2884TestSymbolStartAnalyzerCore(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.Method),
2930var analyzer2 = new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.Method, analyzerId: 2);
2956var analyzer2 = new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.Method, analyzerId: 2);
2989var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
3062TestSymbolStartAnalyzerCore(new SymbolStartAnalyzer(topLevelAction: true, SymbolKind.Method, OperationKind.VariableDeclarationGroup),
3083var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
3143var symbolKinds = new[] { SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Method,
Microsoft.CodeAnalysis.CSharp.Features (9)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (44)
Semantics\ColorColorTests.cs (27)
51SymbolKind.Method, "void E.M(System.Int32 x)");
76SymbolKind.Method, "void E.M(System.Int32 x)",
101SymbolKind.Method, "void E.Invoke(System.Int32 x)");
124SymbolKind.Method, "void E.M(System.Int32 x)");
148SymbolKind.Method, "void E.M(System.Int32 x)");
348SymbolKind.Method, "void E.M(System.Int32 x)",
377SymbolKind.Method, "void E.M<System.Int32>(System.Int32 x)",
406SymbolKind.Method, "void E.M<System.Boolean>(System.Boolean x)",
439SymbolKind.Method, "void E.M(System.Int32 x)",
472SymbolKind.Method, "void E.M(System.Int32 x)",
507SymbolKind.Method, "void E.M(System.Int32 x)");
534SymbolKind.Method, "void E.M(params System.Int32[] a)");
561SymbolKind.Method, "void E.M(System.Int32 x)");
601Assert.Equal(SymbolKind.Method, parentInfo.Symbol.Kind);
681SymbolKind.Method, "void E.M(System.Int32 x)");
710SymbolKind.Method, "void E.M(params System.Int32[] a)");
761SymbolKind.Method, "void E.M(System.Int32 x)",
800SymbolKind.Method, "void E.M(params System.Int32[] a)",
839SymbolKind.Method, "void E.M(System.Int32 x)",
878SymbolKind.Method, "void E.M(params System.Int32[] a)",
908SymbolKind.Method, "void C.Static()");
932SymbolKind.Method, "void C.Static()");
1324SymbolKind.Method, "void E.M(params System.Int32[] a)",
1354SymbolKind.Method, "void E.M(params System.Int32[] a)");
1383SymbolKind.Method, "void E.M(System.Int32 x)",
1412SymbolKind.Method, "void E.M(params System.Int32[] a)",
1440SymbolKind.Method, "void E.M(System.Int32 x)");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (170)
Compilation\SemanticModelGetSemanticInfoTests.cs (116)
56Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
58Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
379Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
805Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2157Assert.Equal(SymbolKind.Method, 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);
2655Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2700Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2702Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
2741Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2743Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
2791Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2793Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
2837Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2876Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2912Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
2956Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
2992Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
3026Assert.Equal(SymbolKind.Method, sortedCandidates[0].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);
3870Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
4079Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
4290Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
4292Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
4324Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
4892Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.ContainingSymbol.Kind);
4928Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
4929Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
4974Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
4976Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
4978Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
4983Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
4985Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
4987Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
5026Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
5028Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
5030Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
5035Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
5037Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
5039Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
5117Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
5163Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
5205Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5284Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5326Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5412Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
5637Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5662Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
5698Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6123Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6150Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6183Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6372Assert.Equal(SymbolKind.Method, symbol.Kind);
6406Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
6442Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
6685Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
7000Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
7029Assert.Equal(SymbolKind.Method, 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);
7759Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
8379Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
8413Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
8650Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
9465Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
9467Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
9469Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
9841Assert.Equal(SymbolKind.Method, sortedCandidates[0].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);
10187Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
10226Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
10257Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
10292Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
10845Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
11154Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
11156Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
11158Assert.Equal(SymbolKind.Method, sortedCandidates[2].Kind);
11232Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
11234Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
11545Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
12682Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
13139Assert.Equal(SymbolKind.Method, symbol.Kind);
13173Assert.Equal(SymbolKind.Method, symbol.Kind);
13207Assert.Equal(SymbolKind.Method, symbol.Kind);
13238Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
13329Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
13883Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
13922Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
14125Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14251Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14347Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
14632Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
14671Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
15123Assert.Equal(SymbolKind.Method, sortedCandidates[0].Kind);
15125Assert.Equal(SymbolKind.Method, sortedCandidates[1].Kind);
15158Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
443case SymbolKind.Method:
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.Features (34)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (1)
205SymbolKind.Method or
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
768case SymbolKind.Method:
Microsoft.CodeAnalysis.Test.Utilities (23)
Diagnostics\TrackingDiagnosticAnalyzer.cs (14)
84SymbolKind.Event, SymbolKind.Field, SymbolKind.Method, SymbolKind.NamedType, SymbolKind.Namespace, SymbolKind.Parameter, SymbolKind.Property
119new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.Constructor, ReturnsVoid = true },
120new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.Conversion, ReturnsVoid = false },
121new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.Destructor, ReturnsVoid = true }, // C# only
122new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.EventAdd, ReturnsVoid = true },
123new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.EventRemove, ReturnsVoid = true },
124new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.EventRaise, ReturnsVoid = true }, // VB only
125new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.ExplicitInterfaceImplementation, ReturnsVoid = true }, // C# only
126new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.Ordinary, ReturnsVoid = false },
127new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.Ordinary, ReturnsVoid = true },
128new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.PropertyGet, ReturnsVoid = false },
129new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.PropertySet, ReturnsVoid = true },
130new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.StaticConstructor, ReturnsVoid = true },
131new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.UserDefinedOperator, ReturnsVoid = false },
Microsoft.CodeAnalysis.VisualBasic (218)
Analysis\FlowAnalysis\AbstractFlowPass.vb (5)
112_info.Symbol.Kind = SymbolKind.Method OrElse
239Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol).Parameters, ImmutableArray(Of ParameterSymbol).Empty)
253Return Me.symbol.Kind = SymbolKind.Method AndAlso DirectCast(Me.symbol, MethodSymbol).Locations.Length = 1
263Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol), Nothing)
273Return If(Me.symbol.Kind = SymbolKind.Method, DirectCast(Me.symbol, MethodSymbol).ReturnType, Nothing)
Symbols\SymbolExtensions.vb (14)
56Case SymbolKind.Method
138If kind = SymbolKind.Method Then
165Case SymbolKind.Method
196Case SymbolKind.Field, SymbolKind.Property, SymbolKind.Method, SymbolKind.Event
209Case SymbolKind.Method, SymbolKind.Property, SymbolKind.Event
243Return symbol.Kind = SymbolKind.Method AndAlso IsAccessor(DirectCast(symbol, MethodSymbol))
280Return this.Kind = SymbolKind.Method AndAlso DirectCast(this, MethodSymbol).IsReducedExtensionMethod
289Case SymbolKind.Method
306Case SymbolKind.Method
322Case SymbolKind.Method
341Case SymbolKind.Method
376Return symbol.Kind = SymbolKind.Method AndAlso DirectCast(symbol, MethodSymbol).IsUserDefinedOperator()
456While If(member?.Kind = SymbolKind.Method, False) AndAlso DirectCast(member, MethodSymbol).MethodKind = MethodKind.AnonymousFunction
466Case SymbolKind.Method
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
454SymbolKind.Method,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (14)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (9)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (130)
Semantics\GetExtendedSemanticInfoTests.vb (89)
550Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
598Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
654Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
802Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
804Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
806Assert.Equal(SymbolKind.Method, sortedCandidates(2).Kind)
861Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
863Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
865Assert.Equal(SymbolKind.Method, sortedCandidates(2).Kind)
914Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
1008Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
1059Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
1110Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
1157Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
1203Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
1253Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
1525Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
1540Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
1555Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
1629Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
1673Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
1675Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
1716Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
1757Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
1934Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
2119Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
2255Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
2478Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
2642Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
2644Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
2646Assert.Equal(SymbolKind.Method, sortedCandidates(2).Kind)
2648Assert.Equal(SymbolKind.Method, sortedCandidates(3).Kind)
2650Assert.Equal(SymbolKind.Method, sortedCandidates(4).Kind)
2652Assert.Equal(SymbolKind.Method, sortedCandidates(5).Kind)
2654Assert.Equal(SymbolKind.Method, sortedCandidates(6).Kind)
2656Assert.Equal(SymbolKind.Method, sortedCandidates(7).Kind)
2658Assert.Equal(SymbolKind.Method, sortedCandidates(8).Kind)
2660Assert.Equal(SymbolKind.Method, sortedCandidates(9).Kind)
2662Assert.Equal(SymbolKind.Method, sortedCandidates(10).Kind)
2664Assert.Equal(SymbolKind.Method, sortedCandidates(11).Kind)
2789Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
3722Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
3803Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
3805Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
3807Assert.Equal(SymbolKind.Method, sortedCandidates(2).Kind)
3841Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
3843Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
3845Assert.Equal(SymbolKind.Method, sortedCandidates(2).Kind)
4131Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4351Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4390Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4426Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4465Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4504Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4540Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
4585Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
4587Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
4800Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
4802Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
4843Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
4845Assert.Equal(SymbolKind.Method, sortedCandidates(1).Kind)
6062Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
6107Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
6149Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
7212Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
7254Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
7287Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
7328Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
7409Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
7576Assert.Equal(SymbolKind.Method, semanticInfo1.Symbol.ContainingSymbol.Kind)
7592Assert.Equal(SymbolKind.Method, semanticInfo2.Symbol.ContainingSymbol.Kind)
8083Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
8127Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
8167Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8212Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8259Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8304Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8400Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8442Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
8709Assert.Equal(SymbolKind.Method, semanticSummary.CandidateSymbols(0).Kind)
9510Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
9543Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
9578Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
9613Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
9648Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
9780Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
9823Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
9855Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
9889Assert.Equal(SymbolKind.Method, sortedCandidates(0).Kind)
Semantics\GetSemanticInfoTests.vb (11)
367Assert.Equal(SymbolKind.Method, semanticInfo.Symbol.Kind)
719Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
806Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind)
843Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind)
878Assert.Equal(SymbolKind.Method, parameter.ContainingSymbol.Kind)
912Assert.Equal(SymbolKind.Method, symbol.ContainingSymbol.Kind)
1504Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
2093Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
3328Assert.Equal(SymbolKind.Method, sym.Kind)
3352Assert.Equal(SymbolKind.Method, sym.Kind)
5610Assert.Equal(SymbolKind.Method, semanticSummary.Symbol.Kind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (20)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (17)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
454SymbolKind.Method,
Microsoft.CodeAnalysis.Workspaces (38)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
140case SymbolKind.Method:
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
Microsoft.DotNet.CodeAnalysis (2)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Gen.Logging (2)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.ML.CodeAnalyzer.Tests (1)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (25)
Progression\GraphProvider.cs (6)
216if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property, SymbolKind.Field)))
226if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property) &&
256if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property) &&
283if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property) &&
294if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property) &&
306if (nodes.Any(n => IsAnySymbolKind(n, SymbolKind.Event, SymbolKind.Method, SymbolKind.Property) &&
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
SemanticSearch.BuildTask (1)
System.Private.CoreLib.Generators (1)