216 references to Start
Microsoft.CodeAnalysis (9)
Microsoft.CodeAnalysis.CodeStyle (24)
AbstractIndentation.Indenter.cs (12)
79_syntaxFacts.IsInInactiveRegion(this.Tree, LineToBeIndented.Start, this.CancellationToken))
125var token = Root.FindToken(LineToBeIndented.Start);
130if (token.SpanStart >= LineToBeIndented.Start)
159return new IndentationResult(basePosition: line.Start + offset.Value, offset: 0);
192indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset);
203=> new(this.LineToBeIndented.Start, addedSpaces);
228var token = Root.FindTokenFromEnd(LineToBeIndented.Start);
229var indentation = Finder.GetIndentationOfCurrentPosition(this.Tree, token, LineToBeIndented.Start, CancellationToken.None);
231return new IndentationResult(LineToBeIndented.Start, indentation);
239if (LineToBeIndented.Start < position)
241return TextSpan.FromBounds(LineToBeIndented.Start, position);
244return TextSpan.FromBounds(position, LineToBeIndented.Start);
Microsoft.CodeAnalysis.CodeStyle.Fixes (21)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (4)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (9)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
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.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (31)
AbstractIndentation.Indenter.cs (12)
79_syntaxFacts.IsInInactiveRegion(this.Tree, LineToBeIndented.Start, this.CancellationToken))
125var token = Root.FindToken(LineToBeIndented.Start);
130if (token.SpanStart >= LineToBeIndented.Start)
159return new IndentationResult(basePosition: line.Start + offset.Value, offset: 0);
192indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset);
203=> new(this.LineToBeIndented.Start, addedSpaces);
228var token = Root.FindTokenFromEnd(LineToBeIndented.Start);
229var indentation = Finder.GetIndentationOfCurrentPosition(this.Tree, token, LineToBeIndented.Start, CancellationToken.None);
231return new IndentationResult(LineToBeIndented.Start, indentation);
239if (LineToBeIndented.Start < position)
241return TextSpan.FromBounds(LineToBeIndented.Start, position);
244return TextSpan.FromBounds(position, LineToBeIndented.Start);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.VisualStudio.LanguageServices (13)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (4)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)