141 references to Character
ConfigurationSchemaGenerator (1)
Microsoft.AspNetCore.Analyzer.Testing (3)
Microsoft.AspNetCore.Components.Analyzers.Tests (4)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (4)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.CodeAnalysis (20)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Diagnostics\LocationsTests.cs (14)
61Assert.Equal(expectedStartOffset, mappedSpan.StartLinePosition.Character);
63Assert.Equal(expectedEndOffset, mappedSpan.EndLinePosition.Character);
97Assert.Equal(4, flpsX.StartLinePosition.Character);
99Assert.Equal(6, flpsX.EndLinePosition.Character);
104Assert.Equal(4, flpsX.StartLinePosition.Character);
106Assert.Equal(6, flpsX.EndLinePosition.Character);
111Assert.Equal(4, flpsXToCloseBrace.StartLinePosition.Character);
113Assert.Equal(1, flpsXToCloseBrace.EndLinePosition.Character);
118Assert.Equal(4, flpsXToCloseBrace.StartLinePosition.Character);
120Assert.Equal(1, flpsXToCloseBrace.EndLinePosition.Character);
574Assert.Equal(5, lineSpan.StartLinePosition.Character);
576Assert.Equal(5, lineSpan.EndLinePosition.Character);
602Assert.Equal(0, lineSpan.StartLinePosition.Character);
604Assert.Equal(0, lineSpan.EndLinePosition.Character);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
Microsoft.CodeAnalysis.Features (17)
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Microsoft.CodeAnalysis.Test.Utilities (12)
Microsoft.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic (4)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
SymbolsTests\Source\TypeTests.vb (10)
463Assert.Equal(16, span.StartLinePosition.Character)
464Assert.Equal(25, span.EndLinePosition.Character)
499Assert.Equal(12, span.StartLinePosition.Character)
500Assert.Equal(21, span.EndLinePosition.Character)
513Assert.Equal(15, span.StartLinePosition.Character)
514Assert.Equal(18, span.EndLinePosition.Character)
520Assert.Equal(22, span.StartLinePosition.Character)
521Assert.Equal(25, span.EndLinePosition.Character)
527Assert.Equal(32, span.StartLinePosition.Character)
528Assert.Equal(35, span.EndLinePosition.Character)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.VisualStudio.LanguageServices (13)
Diagnostics\VisualStudioVenusSpanMappingService.cs (7)
104if (!TryAdjustSpanIfNeededForVenus(documentId, originalLineInfo.StartLinePosition.Line, originalLineInfo.StartLinePosition.Character, out var startLineColumn))
107startLineColumn = new MappedSpan(originalLineInfo.StartLinePosition.Line, originalLineInfo.StartLinePosition.Character, mappedLineInfo.StartLinePosition.Line, mappedLineInfo.StartLinePosition.Character);
111if (!TryAdjustSpanIfNeededForVenus(documentId, originalLineInfo.EndLinePosition.Line, originalLineInfo.EndLinePosition.Character, out var endLineColumn))
114endLineColumn = new MappedSpan(originalLineInfo.EndLinePosition.Line, originalLineInfo.EndLinePosition.Character, mappedLineInfo.EndLinePosition.Line, mappedLineInfo.EndLinePosition.Character);
218return TryAdjustSpanIfNeededForVenus(documentId, adjustedPosition.Line, adjustedPosition.Character, out mappedSpan);