7 references to GetSyntax
Microsoft.CodeAnalysis.CSharp (7)
Binder\BinderFactory.cs (1)
157var typeDecl = constructor.GetSyntax();
Compilation\MethodBodySemanticModel.cs (1)
261primaryCtor.GetSyntax() is TypeDeclarationSyntax typeDecl)
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (5)
80return GetSyntax().ParameterList!; 85return GetSyntax().PrimaryConstructorBaseTypeIfClass; 105TypeDeclarationSyntax typeDecl = GetSyntax(); 173GetSyntax().AttributeLists.Contains(attributeDeclarationSyntax)) 197TryGetBodyBinder().BindConstructorInitializer(GetSyntax().PrimaryConstructorBaseTypeIfClass, BindingDiagnosticBag.Discarded);