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