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