4 references to ReturnTypeSyntax
Microsoft.CodeAnalysis.CSharp (4)
Binder\ExecutableCodeBinder.cs (1)
122Location errorLocation = (iterator as SynthesizedSimpleProgramEntryPointSymbol)?.ReturnTypeSyntax.GetLocation() ?? iterator.GetFirstLocation();
Compilation\CSharpCompilation.cs (1)
1880diagnostics.Add(ErrorCode.ERR_SimpleProgramNotAnExecutable, simpleProgramEntryPointSymbol.ReturnTypeSyntax.Location);
Symbols\MethodSymbolExtensions.cs (1)
196return (CSharpSyntaxNode)synthesized.ReturnTypeSyntax;
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
60return (CSharpSyntaxNode)entryPoint.ReturnTypeSyntax;