9 references to GetSyntax
Microsoft.CodeAnalysis.CSharp (9)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1266
primaryConstructor.
GetSyntax
() == memberSyntax)
Binder\BinderFactory.cs (1)
157
var typeDecl = constructor.
GetSyntax
();
Compilation\CSharpSemanticModel.cs (1)
5241
&& primaryConstructor.
GetSyntax
() == node)
Compilation\MethodBodySemanticModel.cs (1)
261
primaryCtor.
GetSyntax
() is TypeDeclarationSyntax typeDecl)
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (5)
81
return
GetSyntax
().ParameterList!;
86
return
GetSyntax
().PrimaryConstructorBaseTypeIfClass;
106
TypeDeclarationSyntax typeDecl =
GetSyntax
();
174
GetSyntax
().AttributeLists.Contains(attributeDeclarationSyntax))
198
TryGetBodyBinder().BindConstructorInitializer(
GetSyntax
().PrimaryConstructorBaseTypeIfClass, BindingDiagnosticBag.Discarded);