9 references to Method
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
171
return DeclarationKind.
Method
;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
2879
Assert.Equal(DeclarationKind.
Method
, Generator.GetDeclarationKind(Generator.MethodDeclaration("m")));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeGeneration\VisualBasicSyntaxGenerator.vb (4)
697
modifiers:=GetModifierList(accessibility, modifiers And VisualBasicSyntaxGeneratorInternal.s_methodModifiers, declaration:=Nothing, DeclarationKind.
Method
),
1779
Return DeclarationKind.
Method
1782
Return DeclarationKind.
Method
1786
Return DeclarationKind.
Method
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
2571
Assert.Equal(DeclarationKind.
Method
, Generator.GetDeclarationKind(Generator.MethodDeclaration("m")))
2572
Assert.Equal(DeclarationKind.
Method
, Generator.GetDeclarationKind(Generator.MethodDeclaration("m", modifiers:=DeclarationModifiers.Abstract)))
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (1)
105
if (gen.GetDeclarationKind(member) != DeclarationKind.
Method
)