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