14 references to Scan
Aspire.Hosting.CodeGeneration.Go (8)
AtsGoCodeGenerator.ApiProjection.cs (3)
228var declarations = GoDeclarationScanner.Scan( 287var declarations = GoDeclarationScanner.Scan(emittedSource, includeBodyDocs: true); 1009var helpers = GoDeclarationScanner.Scan(
GoDeclarationScanner.cs (5)
125/// Scans the hand-written runtime source like <see cref="Scan"/> without body documentation, but throws 126/// when the source declares an exported construct that <see cref="Scan"/> does not model. 129/// <see cref="Scan"/> skips such a construct or reads only the first line of it, so the export would 143? Scan(source, includeBodyDocs: false) 186/// <see cref="Scan"/> skips unexported types, but some of them are part of what an exported type
Aspire.Hosting.CodeGeneration.Go.Tests (6)
GoApiExportTests.cs (6)
611var declarations = GoDeclarationScanner.Scan(source, includeBodyDocs: true); 650var constant = Assert.Single(GoDeclarationScanner.Scan(source, includeBodyDocs: false), declaration => declaration.Kind == GoDeclarationKind.Constant); 675var declarations = GoDeclarationScanner.Scan(source, includeBodyDocs: false); 690var declarations = GoDeclarationScanner.Scan( 703var declarations = GoDeclarationScanner.Scan(s_generated.Value["base.go"], includeBodyDocs: false); 854.SelectMany(file => GoDeclarationScanner.Scan(s_generated.Value[file], includeBodyDocs: false))