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