3 writes to _borrowedBuilder
Microsoft.Build.Framework (3)
ReuseableStringBuilder.cs (3)
86_borrowedBuilder = null; 191_borrowedBuilder = ReuseableStringBuilderFactory.Get(_capacity); 353returning._borrowedBuilder = null;
20 references to _borrowedBuilder
Microsoft.Build.Framework (20)
ReuseableStringBuilder.cs (20)
55return _borrowedBuilder?.Length ?? 0; 61_borrowedBuilder.Length = value; 70if (_borrowedBuilder == null) 75return _borrowedBuilder.ToString(); 83if (_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))] 187if (_borrowedBuilder == null) 192_borrowedWithCapacity = _borrowedBuilder.Capacity; 301FrameworkErrorUtilities.VerifyThrowInternalNull(returning._borrowedBuilder); 303StringBuilder returningBuilder = returning._borrowedBuilder; 348MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: returning._borrowedBuilder != returningBuilder ? "return-new" : "return");