12 references to Inherits
Microsoft.CodeAnalysis.Analyzers (12)
MetaAnalyzers\CompilerExtensionStrictApiAnalyzer.cs (2)
164
if (!extension.
Inherits
(extensionClassOrInterface))
178
if (!attribute.AttributeClass.
Inherits
(registrationAttributeType))
MetaAnalyzers\CompilerExtensionTargetFrameworkAnalyzer.cs (2)
113
if (!extension.
Inherits
(extensionClassOrInterface))
127
if (!attribute.AttributeClass.
Inherits
(registrationAttributeType))
MetaAnalyzers\DoNotUseCompilationGetSemanticModelAnalyzer.cs (1)
55
methodSymbol.ContainingType.
Inherits
(diagnosticAnalyzerType))
MetaAnalyzers\DoNotUseFileTypesForAnalyzersOrGenerators.cs (4)
59
if (namedTypeSymbol.
Inherits
(diagnosticAnalyzer) ||
60
namedTypeSymbol.
Inherits
(codeFixProvider) ||
61
namedTypeSymbol.
Inherits
(isourceGenerator) ||
62
namedTypeSymbol.
Inherits
(iincrementalGenerator))
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
255
if (attribute.AttributeClass.
Inherits
(inheritedExportAttribute))
260
(attribute.AttributeClass.
Inherits
(exportAttributeV1) || attribute.AttributeClass.
Inherits
(exportAttributeV2)))