12 references to Method
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.ApiProjection.cs (7)
136
declaration is { Kind: GoDeclarationKind.
Method
, Name: "Err", Owner: "handleWrapperBase" })
148
.Where(declaration => declaration.Kind is GoDeclarationKind.
Method
or GoDeclarationKind.Field or GoDeclarationKind.Constant)
233
declaration is { Kind: GoDeclarationKind.
Method
, Name: "Build" })
711
markers.Select(marker => new GoDeclaration { Kind = GoDeclarationKind.
Method
, Name = marker, Signature = $"{marker}()" }),
1012
members.AddRange(ProjectMembers(interfaceName, helpers.Where(helper => helper.Kind == GoDeclarationKind.
Method
), GoApiErrorModel.Returned));
1038
GoDeclarationKind.
Method
=> GoApiMemberKind.Method,
1151
foreach (var method in members.Where(member => member.Kind == GoDeclarationKind.
Method
))
GoDeclarationScanner.cs (1)
371
Kind = GoDeclarationKind.
Method
,
Aspire.Hosting.CodeGeneration.Go.Tests (4)
GoApiExportTests.cs (4)
617
(GoDeclarationKind.
Method
, "Greeter", "ToMap", "ToMap() map[string]any"),
622
(GoDeclarationKind.
Method
, "List", "Count", "Count() (int, error)"),
681
(GoDeclarationKind.
Method
, "\u00C9tat", "\u00C9crire", "\u00C9crire() error"),
705
var err = Assert.Single(declarations, declaration => declaration is { Kind: GoDeclarationKind.
Method
, Name: "Err", Owner: "handleWrapperBase" });