211 references to Start
CSharpSyntaxGenerator (1)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CodeStyle (24)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (12)
80_syntaxFacts.IsInInactiveRegion(this.Tree, LineToBeIndented.Start, this.CancellationToken))
126var token = Root.FindToken(LineToBeIndented.Start);
131if (token.SpanStart >= LineToBeIndented.Start)
160return new IndentationResult(basePosition: line.Start + offset.Value, offset: 0);
193indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset);
204=> new(this.LineToBeIndented.Start, addedSpaces);
229var token = Root.FindTokenFromEnd(LineToBeIndented.Start);
230var indentation = Finder.GetIndentationOfCurrentPosition(this.Tree, token, LineToBeIndented.Start, CancellationToken.None);
232return new IndentationResult(LineToBeIndented.Start, indentation);
240if (LineToBeIndented.Start < position)
242return TextSpan.FromBounds(LineToBeIndented.Start, position);
245return TextSpan.FromBounds(position, LineToBeIndented.Start);
Microsoft.CodeAnalysis.CodeStyle.Fixes (21)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (17)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Features (36)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic (4)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (31)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (12)
80_syntaxFacts.IsInInactiveRegion(this.Tree, LineToBeIndented.Start, this.CancellationToken))
126var token = Root.FindToken(LineToBeIndented.Start);
131if (token.SpanStart >= LineToBeIndented.Start)
160return new IndentationResult(basePosition: line.Start + offset.Value, offset: 0);
193indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset);
204=> new(this.LineToBeIndented.Start, addedSpaces);
229var token = Root.FindTokenFromEnd(LineToBeIndented.Start);
230var indentation = Finder.GetIndentationOfCurrentPosition(this.Tree, token, LineToBeIndented.Start, CancellationToken.None);
232return new IndentationResult(LineToBeIndented.Start, indentation);
240if (LineToBeIndented.Start < position)
242return TextSpan.FromBounds(LineToBeIndented.Start, position);
245return TextSpan.FromBounds(position, LineToBeIndented.Start);
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.VisualStudio.LanguageServices (13)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)