9 writes to Length
Microsoft.NET.StringTools (9)
SpanBasedStringBuilder.cs (9)
110
Length
= 0;
221
Length
+= value!.Length;
238
Length
+= count;
259
Length
+= span.Length;
279
Length
-= i;
301
Length
-= i;
326
Length
-= span.Length - (i + 1);
348
Length
-= span.Length - (i + 1);
378
Length
= 0;
13 references to Length
Microsoft.Build (8)
Evaluation\Expander.cs (8)
813
if (argumentBuilder.
Length
> 0)
815
if (argumentBuilder[0] == '\'' && argumentBuilder[argumentBuilder.
Length
- 1] == '\'')
819
else if (argumentBuilder[0] == '`' && argumentBuilder[argumentBuilder.
Length
- 1] == '`')
823
else if (argumentBuilder[0] == '"' && argumentBuilder[argumentBuilder.
Length
- 1] == '"')
1569
if (builder.
Length
> 0)
1595
if (builder.
Length
> 0)
2398
int startLength = builder.
Length
;
2412
int currentLength = builder.
Length
- startLength;
Microsoft.NET.StringTools (3)
InternableString.cs (1)
156
Length = stringBuilder.
Length
;
SpanBasedStringBuilder.cs (2)
127
if (index < 0 || index >=
Length
)
172
if (_spans.Count == 0 || other.IsEmpty ||
Length
!= other.Length)
Microsoft.NET.StringTools.UnitTests (2)
SpanBasedStringBuilder_Tests.cs (2)
55
stringBuilder.
Length
.ShouldBe(datum.Length);
176
stringBuilder.
Length
.ShouldBe(0);