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