185 references to TextChange
dotnet (3)
dotnet-format (3)
GenerateDocumentationAndConfigFiles (4)
Microsoft.AspNetCore.App.Analyzers (4)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (6)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\roslyn\src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (8)
334edits.Add(new TextChange(TextSpan.FromBounds(startPos, startEnd), ""));
338edits.Add(new TextChange(TextSpan.FromBounds(firstMiddlePos, bottomEnd), ""));
347edits.Add(new TextChange(TextSpan.FromBounds(startPos, equalsEnd), ""));
351edits.Add(new TextChange(TextSpan.FromBounds(endPos, bottomEnd), ""));
360edits.Add(new TextChange(TextSpan.FromBounds(startPos, startEnd), ""));
366edits.Add(new TextChange(TextSpan.FromBounds(secondMiddlePos, equalsEnd), ""));
372edits.Add(new TextChange(TextSpan.FromBounds(firstMiddlePos, equalsEnd), ""));
377edits.Add(new TextChange(TextSpan.FromBounds(endPos, bottomEnd), ""));
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.CSharp.Features (37)
InlineHints\CSharpInlineTypeHintsService.cs (3)
81? new TypeHint(parameter.Type, span, textChange: new TextChange(span, GetTypeDisplayString(parameter.Type) + " "), trailingSpace: true)
95return new(type, span, new TextChange(span, " " + GetTypeDisplayString(type)), leadingSpace: true);
134return new TypeHint(type, span, new TextChange(displayAllSpan.Span, GetTypeDisplayString(type)), trailingSpace: trailingSpace);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Features (62)
src\roslyn\src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (8)
334edits.Add(new TextChange(TextSpan.FromBounds(startPos, startEnd), ""));
338edits.Add(new TextChange(TextSpan.FromBounds(firstMiddlePos, bottomEnd), ""));
347edits.Add(new TextChange(TextSpan.FromBounds(startPos, equalsEnd), ""));
351edits.Add(new TextChange(TextSpan.FromBounds(endPos, bottomEnd), ""));
360edits.Add(new TextChange(TextSpan.FromBounds(startPos, startEnd), ""));
366edits.Add(new TextChange(TextSpan.FromBounds(secondMiddlePos, equalsEnd), ""));
372edits.Add(new TextChange(TextSpan.FromBounds(firstMiddlePos, equalsEnd), ""));
377edits.Add(new TextChange(TextSpan.FromBounds(endPos, bottomEnd), ""));
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (9)
Roslyn.Diagnostics.Analyzers (4)
Roslyn.Diagnostics.CSharp.Analyzers (2)
Roslyn.Diagnostics.VisualBasic.Analyzers (3)