16 overrides of CalculateLocalSyntaxOffset
Microsoft.CodeAnalysis.CSharp (16)
Symbols\ErrorMethodSymbol.cs (1)
267
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
857
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree) => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1567
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\NativeIntegerTypeSymbol.cs (1)
374
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\ReducedExtensionMethodSymbol.cs (1)
578
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
372
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\SignatureOnlyMethodSymbol.cs (1)
179
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree) { throw ExceptionUtilities.Unreachable(); }
Symbols\Source\LambdaSymbol.cs (1)
431
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Source\LocalFunctionSymbol.cs (1)
384
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
1130
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\SubstitutedMethodSymbol.cs (1)
354
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
280
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
346
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
69
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
410
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
375
internal override int
CalculateLocalSyntaxOffset
(int localPosition, SyntaxTree localTree)
11 references to CalculateLocalSyntaxOffset
Microsoft.CodeAnalysis.CSharp (11)
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);
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\ClosureConversion\SynthesizedClosureMethod.cs (1)
227
return TopLevelMethod.
CalculateLocalSyntaxOffset
(localPosition, localTree);
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
256
return _stateMachineType.KickoffMethod.
CalculateLocalSyntaxOffset
(localPosition, localTree);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
228
int syntaxOffset = CurrentMethod.
CalculateLocalSyntaxOffset
(node.SpanStart, node.SyntaxTree);
541
syntaxOffset = OriginalMethod.
CalculateLocalSyntaxOffset
(LambdaUtilities.GetDeclaratorPosition(awaitSyntaxOpt), awaitSyntaxOpt.SyntaxTree);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
197
int syntaxOffset = method.
CalculateLocalSyntaxOffset
(LambdaUtilities.GetDeclaratorPosition(declaratorSyntax), declaratorSyntax.SyntaxTree);
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.cs (1)
53
return this.StateMachineType.KickoffMethod.
CalculateLocalSyntaxOffset
(localPosition, localTree);
Symbols\MethodSymbol.cs (1)
1234
int IMethodSymbolInternal.CalculateLocalSyntaxOffset(int localPosition, SyntaxTree localTree) =>
CalculateLocalSyntaxOffset
(localPosition, localTree);