4 writes to _originalUnicodeString
System.Private.Uri (4)
System\Uri.cs (2)
532_originalUnicodeString = null!; 578_originalUnicodeString = null!;
System\UriExt.cs (2)
98_originalUnicodeString = _string; // original string location changed 1084_originalUnicodeString = otherUri._originalUnicodeString;
24 references to _originalUnicodeString
System.Private.Uri (24)
System\Uri.cs (20)
1134public string OriginalString => _originalUnicodeString ?? _string; 2349info.Offset.End = (ushort)_originalUnicodeString.Length; 3312_string = string.Concat(_string, _originalUnicodeString.AsSpan(origIdx)); 3347origIdx = _originalUnicodeString.Length; 3351ReadOnlySpan<char> span = _originalUnicodeString.AsSpan(origIdx); 3369origIdx = index == -1 ? _originalUnicodeString.Length : (index + origIdx); 3372_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.Path); 3382if (_string == _originalUnicodeString) 3495if (origIdx < _originalUnicodeString.Length && _originalUnicodeString[origIdx] == '?') 3500int index = _originalUnicodeString.AsSpan(origIdx).IndexOf('#'); 3501origIdx = index == -1 ? _originalUnicodeString.Length : (index + origIdx); 3505origIdx = _originalUnicodeString.Length; 3508_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.Query); 3518if (_string == _originalUnicodeString) 3561if (origIdx < _originalUnicodeString.Length && _originalUnicodeString[origIdx] == '#') 3563origIdx = _originalUnicodeString.Length; 3565_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, UriComponents.Fragment); 3802newHost = _originalUnicodeString.Substring(0, startInput);
System\UriExt.cs (4)
31Debug.Assert(_originalUnicodeString is null && _info is null && _syntax is null && _flags == Flags.Zero); 205_string = EscapeUnescapeIri(_originalUnicodeString, 0, _originalUnicodeString.Length, 1084_originalUnicodeString = otherUri._originalUnicodeString;