8 references to GetSyntax
Microsoft.CodeAnalysis.CSharp (8)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1230primaryConstructor.GetSyntax() == memberSyntax)
Binder\BinderFactory.cs (1)
142var typeDecl = constructor.GetSyntax();
Compilation\MethodBodySemanticModel.cs (1)
263primaryCtor.GetSyntax() is TypeDeclarationSyntax typeDecl)
Compilation\SyntaxTreeSemanticModel.cs (1)
1255if (symbol?.SyntaxRef.SyntaxTree != node.SyntaxTree || symbol.GetSyntax() != node)
Compiler\MethodCompiler.cs (1)
1792body = BoundBlock.SynthesizedNoLocals(primaryCtor.GetSyntax());
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (3)
41return GetSyntax().ParameterList!; 46return GetSyntax().PrimaryConstructorBaseTypeIfClass; 68TypeDeclarationSyntax typeDecl = GetSyntax();