3 implementations of BaseType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeSymbol.cs (1)
86INamedTypeSymbol ITypeSymbol.BaseType
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
75public INamedTypeSymbol BaseType => _symbol.BaseType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
551Private ReadOnly Property ITypeSymbol_BaseType As INamedTypeSymbol Implements ITypeSymbol.BaseType
214 references to BaseType
ConfigurationSchemaGenerator (4)
ConfigSchemaEmitter.cs (1)
389typeSymbol = typeSymbol.BaseType;
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (3)
685current = current.BaseType; 865current = current.BaseType; 882current = current.BaseType;
ILLink.RoslynAnalyzer (19)
DataFlow\DynamicallyAccessedMembersBinder.cs (7)
184 type = type.BaseType; 223 type = type.BaseType; 292 type = type.BaseType; 342 type = type.BaseType; 367 type = type.BaseType; 390 var baseType = type.BaseType; 431 type = type.BaseType;
DynamicallyAccessedMembersAnalyzer.cs (1)
125 if (type.BaseType is INamedTypeSymbol baseType)
DynamicallyAccessedMembersTypeHierarchy.cs (1)
23 if (type.BaseType is INamedTypeSymbol baseType) {
ITypeSymbolExtensions.cs (1)
49 baseType = baseType.BaseType;
RequiresUnreferencedCodeAnalyzer.cs (1)
33 && typeSymbol.BaseType is INamedTypeSymbol baseType
TrimAnalysis\FlowAnnotations.cs (4)
123 INamedTypeSymbol? baseType = type.BaseType; 126 baseType = baseType.BaseType; 193 ITypeSymbol? baseType = type.BaseType; 196 baseType = baseType.BaseType;
TrimAnalysis\HandleCallAction.cs (3)
184 type = type.BaseType; 191 if (type.Type.BaseType is not null) { 192 baseType = new TypeProxy (type.Type.BaseType);
TrimAnalysis\SingleValueExtensions.cs (1)
33 SymbolKind.ArrayType => new SystemTypeValue (new TypeProxy (type.BaseType!)),
Microsoft.Analyzers.Extra (1)
Utilities\SymbolExtensions.cs (1)
21t = t.BaseType;
Microsoft.Analyzers.Local (5)
ApiLifecycle\AssemblyAnalysis.cs (1)
142var baseType = type.BaseType;
Utilities\SymbolExtensions.cs (4)
97var baseType = type.BaseType; 106baseType = baseType.BaseType; 147var baseType = type.BaseType; 156baseType = baseType.BaseType;
Microsoft.AspNetCore.App.Analyzers (2)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
150typeSymbol = typeSymbol.BaseType;
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
48current = current.BaseType;
Microsoft.AspNetCore.Components.Analyzers (1)
InternalUsageAnalyzer.cs (1)
85VisitDeclarationSymbol(context, type.BaseType, type);
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
InternalUsageAnalyzer.cs (1)
85VisitDeclarationSymbol(context, type.BaseType, type);
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
48current = current.BaseType;
Microsoft.AspNetCore.Mvc.Analyzers (2)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
150typeSymbol = typeSymbol.BaseType;
TopLevelParameterNameAnalyzer.cs (1)
124type = type.BaseType;
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
150typeSymbol = typeSymbol.BaseType;
Microsoft.CodeAnalysis.CodeStyle (10)
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
123Equals(_method.ContainingType.BaseType, instanceReference.Type))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (2)
26current = current.BaseType; 389var baseType = classOrStructType.BaseType;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (7)
120current = current.BaseType; 126var current = type?.BaseType; 130current = current.BaseType; 202var currentBaseType = type.BaseType; 210currentBaseType = currentBaseType.BaseType; 231for (var b = symbol.BaseType; b != null; b = b.BaseType)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\AddExplicitCast\InheritanceDistanceComparer.cs (1)
66var distance = GetInheritanceDistanceRecursive(baseType, derivedType.BaseType);
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
190Contract.ThrowIfNull(TypeToGenerateIn.BaseType); 197FindConstructorToDelegateTo(parameters, expressions, TypeToGenerateIn.BaseType.InstanceConstructors, cancellationToken);
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
55var baseType = ClassType.BaseType;
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (3)
56var abstractClassType = classType.BaseType; 316if (current.BaseType == null && 326current = current.BaseType;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\INamedTypeSymbolExtensions.cs (1)
28namedType.BaseType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
139currentType = currentType.BaseType; 154currentType = currentType.BaseType;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
94if (containingType.BaseType?.SpecialType != SpecialType.System_Object)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
935for (var type = original; type != null; type = type.BaseType)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\AddParameter\CSharpAddParameterCodeFixProvider.cs (1)
63type = type?.BaseType;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\PositionalParameterInfo.cs (1)
78var baseType = currentType.BaseType;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (3)
319if (namedType.TypeKind == TypeKind.Class && namedType.BaseType != null && namedType.BaseType.SpecialType != Microsoft.CodeAnalysis.SpecialType.System_Object) 320types.Add(SimpleBaseType(namedType.BaseType.GenerateTypeSyntax()));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (1)
80var member03 = typesym.BaseType;
Workspaces\WorkspaceTests_EditorFeatures.cs (8)
439var classC = classD.BaseType; 467var classC = classD.BaseType; 501var classC = classD.BaseType; 519var classCz = classDz.BaseType; 555var classCy = classDy.BaseType; 623var classCy = classDy.BaseType; 653var classCz = classDz.BaseType; 674var classCz = classDz.BaseType;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
14459var v1Tuple = v1Type.BaseType;
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
94if (containingType.BaseType?.SpecialType != SpecialType.System_Object)
src\Analyzers\CSharp\CodeFixes\AddParameter\CSharpAddParameterCodeFixProvider.cs (1)
63type = type?.BaseType;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\PositionalParameterInfo.cs (1)
78var baseType = currentType.BaseType;
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
InteractiveSessionTests.cs (2)
490var c2C1 = c2C2.BaseType; 501var c3C1 = c3C3.BaseType;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\DelegateTypeTests.cs (1)
14356Assert.Equal(expectedBaseType.GetPublicSymbol(), delegateType.BaseType);
Semantics\InteractiveSemanticModelTests.cs (1)
44var baseType = symbol?.BaseType;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Compilation\GetSemanticInfoTests.cs (2)
5411type = type.BaseType; 5425type = type.BaseType.ConstructedFrom;
Compilation\SemanticModelAPITests.cs (1)
594Assert.Equal(c.BaseType, cbasetype);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
4694type = type.BaseType; 4709type = type.BaseType; 4724type = type.BaseType;
Compilation\SemanticModelGetSemanticInfoTests.cs (2)
9283Assert.Null(type.BaseType); 9285Assert.NotNull(constructedFrom.BaseType);
Symbols\AnonymousTypesSemanticsTests.cs (2)
1970var objType = namedType.BaseType; 1991Assert.Equal("System.Object", type.BaseType.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
935for (var type = original; type != null; type = type.BaseType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (3)
319if (namedType.TypeKind == TypeKind.Class && namedType.BaseType != null && namedType.BaseType.SpecialType != Microsoft.CodeAnalysis.SpecialType.System_Object) 320types.Add(SimpleBaseType(namedType.BaseType.GenerateTypeSyntax()));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
PullMemberUp\TestPullMemberUpService.cs (2)
39var baseClass = containingType.BaseType; 60for (var i = baseClass; i != null; i = i.BaseType)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (7)
SymbolFinder\DependentTypeFinderTests.cs (7)
82Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 174Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 215Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 257Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 299Assert.NotEqual(baseClassSymbol, derivedClassSymbol.BaseType); 447Assert.True(immediateDerived.All(d => d.BaseType.Equals(rootType))); 454Assert.True(transitiveDerived.Any(d => !Equals(d.BaseType, rootType)), "At least one result must not immediately derive from the type");
Microsoft.CodeAnalysis.Features (14)
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
333current = current.BaseType;
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2422=> TypesEquivalent(oldType.BaseType, newType.BaseType, exact) &&
ExtractClass\AbstractExtractClassRefactoringProvider.cs (1)
140private static bool HasBaseType(INamedTypeSymbol containingType) => containingType.BaseType?.SpecialType != SpecialType.System_Object;
GoToBase\AbstractGoToBaseService.cs (1)
22var baseType = constructor.ContainingType.BaseType;
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
75public INamedTypeSymbol BaseType => _symbol.BaseType;
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.OperationDeconstructor.cs (1)
123Equals(_method.ContainingType.BaseType, instanceReference.Type))
src\Analyzers\Core\CodeFixes\AddExplicitCast\InheritanceDistanceComparer.cs (1)
66var distance = GetInheritanceDistanceRecursive(baseType, derivedType.BaseType);
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (2)
190Contract.ThrowIfNull(TypeToGenerateIn.BaseType); 197FindConstructorToDelegateTo(parameters, expressions, TypeToGenerateIn.BaseType.InstanceConstructors, cancellationToken);
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
55var baseType = ClassType.BaseType;
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (3)
56var abstractClassType = classType.BaseType; 316if (current.BaseType == null && 326current = current.BaseType;
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
207INamedTypeSymbol derivedBaseType = derivedType.BaseType;
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\MetadataReferenceTests.cs (1)
576var list = c.BaseType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
551Private ReadOnly Property ITypeSymbol_BaseType As INamedTypeSymbol Implements ITypeSymbol.BaseType
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (3)
206namedType.BaseType Is Nothing OrElse 207namedType.BaseType.SpecialType = SpecialType.System_Object Then 212SyntaxFactory.InheritsStatement(types:=SyntaxFactory.SingletonSeparatedList(namedType.BaseType.GenerateTypeSyntax())))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextExtensions.vb (1)
28Return container.BaseType.GetAccessibleMembersInThisAndBaseTypes(Of IEventSymbol)(container).Any()
Microsoft.CodeAnalysis.VisualBasic.Features (2)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
222targetType = containingSymbol.BaseType
Completion\CompletionProviders\HandlesClauseCompletionProvider.vb (1)
126result = context.SemanticModel.LookupSymbols(context.Position, containingType.BaseType).
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests (2)
InteractiveSessionTests.vb (2)
135Dim c2C1 = c2C2.BaseType 149Dim c3C1 = c3C3.BaseType
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\NamedTypeGenerator.vb (3)
206namedType.BaseType Is Nothing OrElse 207namedType.BaseType.SpecialType = SpecialType.System_Object Then 212SyntaxFactory.InheritsStatement(types:=SyntaxFactory.SingletonSeparatedList(namedType.BaseType.GenerateTypeSyntax())))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\VisualBasicSyntaxContextExtensions.vb (1)
28Return container.BaseType.GetAccessibleMembersInThisAndBaseTypes(Of IEventSymbol)(container).Any()
Microsoft.CodeAnalysis.Workspaces (27)
Editing\SymbolEditorExtensions.cs (1)
63var baseType = symbol.BaseType;
Editing\SyntaxGenerator.cs (2)
766baseType: type.BaseType != null ? TypeExpression(type.BaseType) : null,
FindSymbols\FindReferences\BaseTypeFinder.cs (2)
84var currentType = type.BaseType; 88currentType = currentType.BaseType;
FindSymbols\FindReferences\DependentTypeFinder.cs (3)
25/// types based either on <see cref="ITypeSymbol.BaseType"/> or <see cref="ITypeSymbol.Interfaces"/>. 219predicate: static n => n.BaseType?.SpecialType == SpecialType.System_Object).ConfigureAwait(false); 516var baseType = type.BaseType?.OriginalDefinition;
FindSymbols\FindReferences\Finders\ConstructorInitializerSymbolReferenceFinder.cs (2)
86return containingType != null && containingType.BaseType != null && containingType.BaseType.Name == typeName;
Recommendations\AbstractRecommendationServiceRunner.cs (2)
496if (MatchesAnyBaseTypes(originalContainerType.BaseType, originalConstraintType)) 513for (var current = source; current != null; current = current.BaseType)
Shared\Extensions\ISymbolExtensions.cs (2)
477var baseType = memberSymbol.ContainingType.BaseType; 494return typeSymbol.BaseType;
Shared\Extensions\ITypeSymbolExtensions.cs (1)
106for (var currentType = typeSymbol; currentType != null; currentType = currentType.BaseType)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (2)
26current = current.BaseType; 389var baseType = classOrStructType.BaseType;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (7)
120current = current.BaseType; 126var current = type?.BaseType; 130current = current.BaseType; 202var currentBaseType = type.BaseType; 210currentBaseType = currentBaseType.BaseType; 231for (var b = symbol.BaseType; b != null; b = b.BaseType)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\INamedTypeSymbolExtensions.cs (1)
28namedType.BaseType,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
139currentType = currentType.BaseType; 154currentType = currentType.BaseType;
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
2600var parent = vbsymbol.BaseType; // this is the vb imported version of the csharp symbol
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionTests.cs (2)
3974var projectForBaseType = solution.GetProject(classC.BaseType.ContainingAssembly); 3982projectForBaseType = solution2.GetProject(classC.BaseType.ContainingAssembly);
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
677currentClassType = currentClassType.BaseType;
Microsoft.Extensions.Options.SourceGeneration (3)
Parser.cs (2)
278var baseType = modelType.BaseType; 289baseType = baseType.BaseType;
ParserUtilities.cs (1)
88type = type.BaseType;
Microsoft.Gen.ComplianceReports (2)
Parser.cs (2)
66var parent = typeSymbol.BaseType; 70parent = parent.BaseType;
Microsoft.Gen.Logging (7)
Parsing\Parser.cs (1)
699currentClassType = currentClassType.BaseType;
Parsing\Parser.LogProperties.cs (3)
101namedType = namedType.BaseType; 167current = current.BaseType; 328namedType = namedType.BaseType;
Parsing\Parser.Records.cs (2)
50namedType = namedType.BaseType; 160namedType = namedType.BaseType;
Parsing\TypeSymbolExtensions.cs (1)
87current = current.BaseType;
Microsoft.Gen.Logging.Unit.Tests (2)
LogParserUtilitiesTests.cs (2)
94.SetupGet(x => x.BaseType) 162.SetupGet(x => x.BaseType)
Microsoft.Gen.Metrics (3)
Parser.cs (3)
900INamedTypeSymbol? parentObjectBase = symbol.BaseType; 919parentObjectBase = parentObjectBase.BaseType; 921while (parentObjectBase?.BaseType != null);
Microsoft.Gen.MetricsReports (3)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (3)
900INamedTypeSymbol? parentObjectBase = symbol.BaseType; 919parentObjectBase = parentObjectBase.BaseType; 921while (parentObjectBase?.BaseType != null);
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\AddGeneratedComClassAnalyzer.cs (2)
56if (type.BaseType is not null 57&& type.BaseType.GetAttributes().Any(attr => generatedComClassAttributeType.Equals(attr.AttributeClass, SymbolEqualityComparer.Default)))
Microsoft.Interop.SourceGeneration (1)
SafeHandleMarshallingInfoProvider.cs (1)
30for (ITypeSymbol? currentType = type; currentType is not null; currentType = currentType.BaseType)
Microsoft.ML.InternalCodeAnalyzer (2)
BaseTestClassAnalyzer.cs (1)
90for (var current = namedType; current is object; current = current.BaseType)
INamedTypeSymbolExtensions.cs (1)
24for (var current = namedType; current is object; current = current.BaseType)
Microsoft.VisualStudio.LanguageServices (7)
Library\ObjectBrowser\AbstractListItemFactory.cs (1)
217symbolBuilder.Add(namedTypeSymbol.BaseType);
Library\ObjectBrowser\ObjectList.cs (1)
448if (typeSymbol.BaseType == null)
Progression\GraphQueries\InheritsGraphQuery.cs (2)
34if (namedType.BaseType != null) 37namedType.BaseType, relatedNode: node, cancellationToken).ConfigureAwait(false);
PullMemberUp\MainDialog\BaseTypeTreeNodeViewModel.cs (1)
58.Concat(currentTypeSymbol.BaseType)
Venus\ContainedLanguageCodeSupport.cs (2)
48if (type == null || type.BaseType == null) 53baseClassName = type.BaseType.ToDisplayString();
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ObjectBrowser\DescriptionBuilder.cs (1)
111var baseType = typeSymbol.BaseType;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Progression\GraphNodeIdTests.vb (1)
130Function(s) DirectCast(s, INamedTypeSymbol).BaseType)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\Extenders\GenericExtender.vb (1)
71Dim baseTypeSymbol = typeSymbol.BaseType
ObjectBrowser\DescriptionBuilder.vb (1)
95Dim baseType = typeSymbol.BaseType
ProjectSystemShim\VisualBasicEntryPointFinder.vb (2)
43Dim baseType = symbol.BaseType 50baseType = baseType.BaseType
System.Private.CoreLib.Generators (6)
IntrinsicsInSystemPrivateCoreLibAnalyzer.cs (6)
418if (symbol.BaseType != null && !examinedSymbols.Contains(symbol.BaseType)) 419symbolsToExamine.Push(symbol.BaseType); 440if (symbol.BaseType != null && !examinedSymbols.Contains(symbol.BaseType)) 441symbolsToExamine.Push(symbol.BaseType);
System.Text.Json.SourceGeneration (3)
Helpers\RoslynExtensions.cs (3)
140for (INamedTypeSymbol? current = type as INamedTypeSymbol; current != null; current = current.BaseType) 171for (INamedTypeSymbol? current = type as INamedTypeSymbol; current != null; current = current.BaseType) 239for (INamedTypeSymbol? current = namedType; current != null; current = current.BaseType)
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
251symbol = symbol.BaseType;
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.cs (1)
80|| IsAncestorOrSelfOfType(type.BaseType, typeName));
System.Windows.Forms.Analyzers.VisualBasic (1)
Analyzers\AvoidPassingTaskWithoutCancellationToken\AvoidPassingTaskWithoutCancellationTokenAnalyzer.vb (1)
95IsAncestorOrSelfOfType(type.BaseType, typeName)