7 references to GetDeclaratorPosition
Microsoft.CodeAnalysis.CSharp (7)
CodeGen\CodeGenerator.cs (1)
176
int syntaxOffset = _method.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(bodySyntax), bodySyntax.SyntaxTree);
CodeGen\EmitStatement.cs (1)
1868
int syntaxOffset = _method.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(syntax), syntax.SyntaxTree);
Emitter\EditAndContinue\CSharpLambdaSyntaxFacts.cs (1)
24
=> LambdaUtilities.
GetDeclaratorPosition
(node);
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
557
int syntaxOffset = _topLevelMethod.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(syntax), syntax.SyntaxTree);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1506
int syntaxOffset = _topLevelMethod.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(lambdaOrLambdaBodySyntax), lambdaOrLambdaBodySyntax.SyntaxTree);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
541
syntaxOffset = OriginalMethod.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(awaitSyntaxOpt), awaitSyntaxOpt.SyntaxTree);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
197
int syntaxOffset = method.CalculateLocalSyntaxOffset(LambdaUtilities.
GetDeclaratorPosition
(declaratorSyntax), declaratorSyntax.SyntaxTree);