10 references to TypeDeclarations
Microsoft.Gen.MetadataExtractor (10)
MetadataReportsGenerator.cs (4)
62
((TypeDeclarationSyntaxReceiver)context.SyntaxReceiver).
TypeDeclarations
.Count == 0 ||
68
if ((context.SyntaxReceiver is not TypeDeclarationSyntaxReceiver || ((TypeDeclarationSyntaxReceiver)context.SyntaxReceiver).
TypeDeclarations
.Count == 0))
124
var meteringClasses = meteringParser.GetMetricClasses(receiver.
TypeDeclarations
);
152
var classifiedTypes = parser.GetClassifiedTypes(receiver.
TypeDeclarations
);
src\Generators\Microsoft.Gen.ComplianceReports\ComplianceReportsGenerator.cs (2)
53
if (receiver == null || receiver.
TypeDeclarations
.Count == 0)
72
var classifiedTypes = parser.GetClassifiedTypes(receiver.
TypeDeclarations
);
src\Generators\Shared\TypeDeclarationSyntaxReceiver.cs (4)
32
TypeDeclarations
.Add(classSyntax);
36
TypeDeclarations
.Add(structSyntax);
40
TypeDeclarations
.Add(recordSyntax);
44
TypeDeclarations
.Add(interfaceSyntax);