12 references to Method
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.ApiProjection.cs (7)
123
declaration is { Kind: GoDeclarationKind.
Method
, Name: "Err", Owner: "handleWrapperBase" })
135
.Where(declaration => declaration.Kind is GoDeclarationKind.
Method
or GoDeclarationKind.Field or GoDeclarationKind.Constant)
220
declaration is { Kind: GoDeclarationKind.
Method
, Name: "Build" })
561
markers.Select(marker => new GoDeclaration { Kind = GoDeclarationKind.
Method
, Name = marker, Signature = $"{marker}()" }),
864
members.AddRange(ProjectMembers(interfaceName, helpers.Where(helper => helper.Kind == GoDeclarationKind.
Method
), GoApiErrorModel.Returned));
890
GoDeclarationKind.
Method
=> GoApiMemberKind.Method,
993
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)
479
(GoDeclarationKind.
Method
, "Greeter", "ToMap", "ToMap() map[string]any"),
484
(GoDeclarationKind.
Method
, "List", "Count", "Count() (int, error)"),
543
(GoDeclarationKind.
Method
, "\u00C9tat", "\u00C9crire", "\u00C9crire() error"),
554
var err = Assert.Single(declarations, declaration => declaration is { Kind: GoDeclarationKind.
Method
, Name: "Err", Owner: "handleWrapperBase" });