5 references to MethodDeclaration
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxListTests.cs (1)
236
var newMethodDeclaration = SyntaxFactory.
MethodDeclaration
(SyntaxFactory.ParseTypeName("void"), "M");
Microsoft.Interop.ComInterfaceGenerator (4)
ComClassGenerator.cs (1)
189
MethodDeclaration
(
ComMethodContext.cs (1)
145
return
MethodDeclaration
(GenerationContext.SignatureContext.StubReturnType, MethodInfo.MethodName)
VirtualMethodPointerStubGenerator.cs (1)
166
MethodDeclaration
(returnType, $"ABI_{methodStub.StubMethodSyntaxTemplate.Identifier.Text}")
VtableIndexStubGenerator.cs (1)
441
MethodDeclarationSyntax populateVtableMethod =
MethodDeclaration
(PredefinedType(Token(SyntaxKind.VoidKeyword)),