5 references to GetBaseTypesAndThis
Microsoft.CodeAnalysis.Analyzers (5)
FixAnalyzers\FixerWithFixAllAnalyzer.cs (2)
239
foreach (INamedTypeSymbol type in fixer.
GetBaseTypesAndThis
())
305
return objectCreation.Constructor != null && objectCreation.Constructor.ContainingType.
GetBaseTypesAndThis
().All(namedType => !IsCodeActionWithOverriddenEquivalenceKey(namedType));
ImmutableObjectMethodAnalyzer.cs (1)
96
&& type.
GetBaseTypesAndThis
().Any(immutableTypeSymbols.Contains))
MetaAnalyzers\ReportDiagnosticAnalyzer.cs (1)
187
if (field.Type is INamedTypeSymbol fieldType && fieldType.
GetBaseTypesAndThis
().Contains(_diagnosticDescriptorType))
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (1)
281
foreach (var type in namedType.
GetBaseTypesAndThis
())