5 references to TryGetSynthesizedPrimaryConstructor
Microsoft.CodeAnalysis.CSharp (5)
Compilation\SyntaxTreeSemanticModel.cs (5)
184
case TypeDeclarationSyntax { ParameterList: { }, PrimaryConstructorBaseTypeIfClass: { } } typeDeclaration when
TryGetSynthesizedPrimaryConstructor
(typeDeclaration) is SynthesizedPrimaryConstructor:
1093
SynthesizedPrimaryConstructor symbol =
TryGetSynthesizedPrimaryConstructor
((TypeDeclarationSyntax)node);
2028
method =
TryGetSynthesizedPrimaryConstructor
(typeDecl);
2432
case TypeDeclarationSyntax typeDeclaration when
TryGetSynthesizedPrimaryConstructor
(typeDeclaration) is SynthesizedPrimaryConstructor ctor:
2499
when typeDeclaration.PrimaryConstructorBaseTypeIfClass == declaredNode &&
TryGetSynthesizedPrimaryConstructor
(typeDeclaration) is SynthesizedPrimaryConstructor ctor: