3 writes to _borrowedBuilder
Microsoft.Build.Framework (3)
ReuseableStringBuilder.cs (3)
86
_borrowedBuilder
= null;
191
_borrowedBuilder
= ReuseableStringBuilderFactory.Get(_capacity);
353
returning.
_borrowedBuilder
= null;
20 references to _borrowedBuilder
Microsoft.Build.Framework (20)
ReuseableStringBuilder.cs (20)
55
return
_borrowedBuilder
?.Length ?? 0;
61
_borrowedBuilder
.Length = value;
70
if (
_borrowedBuilder
== null)
75
return
_borrowedBuilder
.ToString();
83
if (
_borrowedBuilder
!= null)
97
_borrowedBuilder
.Append(value);
107
_borrowedBuilder
.Append(value);
117
_borrowedBuilder
.Append(value, startIndex, count);
128
_borrowedBuilder
.AppendFormat(
139
_borrowedBuilder
.AppendLine();
151
_borrowedBuilder
.Append(s);
155
_borrowedBuilder
.Append(separator);
167
_borrowedBuilder
.Clear();
177
_borrowedBuilder
.Remove(startIndex, length);
184
[MemberNotNull(nameof(
_borrowedBuilder
))]
187
if (
_borrowedBuilder
== null)
192
_borrowedWithCapacity =
_borrowedBuilder
.Capacity;
301
FrameworkErrorUtilities.VerifyThrowInternalNull(returning.
_borrowedBuilder
);
303
StringBuilder returningBuilder = returning.
_borrowedBuilder
;
348
MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: returning.
_borrowedBuilder
!= returningBuilder ? "return-new" : "return");