src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
100return node.SpanStart;
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
219expression.SpanStart,
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (11)
217position = body.SpanStart;
261Debug.Assert(position == ((PropertyDeclarationSyntax)node).Initializer!.SpanStart);
312Debug.Assert(position == ((SwitchExpressionArmSyntax)node).Expression.SpanStart);
344position < node.Expression.SpanStart ? ForEachPart.In :
351ForEachPart.VariableDeclaration => TextSpan.FromBounds(node.Type.SpanStart, node.Identifier.Span.End),
361ForEachPart.VariableDeclaration => TextSpan.FromBounds(node.Variable.SpanStart, node.Variable.Span.End),
643BreakpointSpans.TryGetClosestBreakpointSpan(node, propertyDeclaration.Initializer.SpanStart, minLength, out span))
683return BreakpointSpans.TryGetClosestBreakpointSpan(node, node.SpanStart, minLength, out span);
1412return model.GetEnclosingSymbol(node.SpanStart, cancellationToken);
1417return model.GetEnclosingSymbol(primaryCtorBase.ArgumentList.SpanStart, cancellationToken);
2696tryStatement.Catches.First().SpanStart,
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
219expression.SpanStart,
Recommendations\CSharpRecommendationServiceRunner.cs (8)
299alias.SpanStart,
495return new RecommendedSymbols(_context.SemanticModel.LookupSymbols(position: name.SpanStart, container: symbol));
501position: name.SpanStart,
541var reinterpretedBinding = semanticModel.GetSpeculativeSymbolInfo(identifier.SpanStart, identifier, SpeculativeBindingOption.BindAsTypeOrNamespace);
669reinterpretedBinding = semanticModel.GetSpeculativeSymbolInfo(identifier.SpanStart, identifier, SpeculativeBindingOption.BindAsExpression);
681reinterpretedBinding = semanticModel.GetSpeculativeSymbolInfo(identifier.SpanStart, identifier, SpeculativeBindingOption.BindAsTypeOrNamespace);
733!_context.SemanticModel.IsEventUsableAsField(originalExpression.SpanStart, ev))
791var symbols = GetMemberSymbols(containerSymbol, position: originalExpression.SpanStart, excludeInstance, useBaseReferenceAccessibility, unwrapNullable, isForDereference);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\HeaderFacts\AbstractHeaderFacts.cs (1)
100return node.SpanStart;