12 references to PrimaryConstructorBaseTypeIfClass
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Statements.cs (1)
3583if (typeDecl.PrimaryConstructorBaseTypeIfClass is PrimaryConstructorBaseTypeSyntax baseWithArguments)
Binder\LocalBinderFactory.cs (1)
178Visit(node.PrimaryConstructorBaseTypeIfClass);
Compilation\MethodBodySemanticModel.cs (1)
266if (Root.FindToken(position).Parent?.AncestorsAndSelf().OfType<PrimaryConstructorBaseTypeSyntax>().FirstOrDefault() == typeDecl.PrimaryConstructorBaseTypeIfClass)
Compilation\SyntaxTreeSemanticModel.cs (7)
180case TypeDeclarationSyntax { ParameterList: { }, PrimaryConstructorBaseTypeIfClass: { } } typeDeclaration when TryGetSynthesizedPrimaryConstructor(typeDeclaration) is SynthesizedPrimaryConstructor: 809var argumentList = typeDecl.PrimaryConstructorBaseTypeIfClass?.ArgumentList; 873typeDecl.PrimaryConstructorBaseTypeIfClass is PrimaryConstructorBaseTypeSyntax baseWithArguments && 2444return node == typeDeclaration.PrimaryConstructorBaseTypeIfClass; 2446else if (node.Parent is PrimaryConstructorBaseTypeSyntax baseType && baseType == typeDeclaration.PrimaryConstructorBaseTypeIfClass) 2458!(node.Kind() == SyntaxKind.ArgumentList && node == typeDeclaration.PrimaryConstructorBaseTypeIfClass?.ArgumentList); 2495when typeDeclaration.PrimaryConstructorBaseTypeIfClass == declaredNode && TryGetSynthesizedPrimaryConstructor(typeDeclaration) is SynthesizedPrimaryConstructor ctor:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3434if (syntax is { PrimaryConstructorBaseTypeIfClass: { ArgumentList: { } baseParamList } })
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
46return GetSyntax().PrimaryConstructorBaseTypeIfClass;