9 references to GetSyntax
Microsoft.CodeAnalysis.CSharp (9)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1255
primaryConstructor.
GetSyntax
() == memberSyntax)
Binder\BinderFactory.cs (1)
157
var typeDecl = constructor.
GetSyntax
();
Compilation\CSharpSemanticModel.cs (1)
5233
&& primaryConstructor.
GetSyntax
() == node)
Compilation\MethodBodySemanticModel.cs (1)
260
primaryCtor.
GetSyntax
() is TypeDeclarationSyntax typeDecl)
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (5)
80
return
GetSyntax
().ParameterList!;
85
return
GetSyntax
().PrimaryConstructorBaseTypeIfClass;
105
TypeDeclarationSyntax typeDecl =
GetSyntax
();
173
GetSyntax
().AttributeLists.Contains(attributeDeclarationSyntax))
197
TryGetBodyBinder().BindConstructorInitializer(
GetSyntax
().PrimaryConstructorBaseTypeIfClass, BindingDiagnosticBag.Discarded);