1 write to _path
Microsoft.AspNetCore.Routing (1)
UriBuildingContext.cs (1)
30_path = new StringBuilder();
25 references to _path
Microsoft.AspNetCore.Routing (25)
UriBuildingContext.cs (25)
33PathWriter = new StringWriter(_path); 102_path.Append(bufferValue); 109if (_path.Length != 0) 111_path.Append('/'); 118_lastValueOffset = _path.Length; 122if (_path.Length == 0 && value.Length > 0 && value[0] == '/') 124_path.Append('/'); 138_path.Length = _lastValueOffset; 178if (_path.Length != 0 || _buffer.Count != 0) 198_path.Clear(); 199if (_path.Capacity > 128) 202_path.Capacity = 128; 231if (_path.Length > 0 && _path[0] != '/') 234_path.Insert(0, '/'); 237return _path.ToString() + _query.ToString(); 245if (_path.Length > 0) 247if (_path[0] != '/') 250_path.Insert(0, '/'); 253if (AppendTrailingSlash && _path[_path.Length - 1] != '/') 255_path.Append('/'); 258pathString = new PathString(_path.ToString()); 305_path.Append('/'); 320return $@"Accepted = ""{_path}"", Buffered = ""{string.Join("", _buffer)}""";