4 writes to _originalUnicodeString
System.Private.Uri (4)
System\Uri.cs (2)
581_originalUnicodeString = null!; 627_originalUnicodeString = null!;
System\UriExt.cs (2)
98_originalUnicodeString = _string; // original string location changed 1073_originalUnicodeString = otherUri._originalUnicodeString;
24 references to _originalUnicodeString
System.Private.Uri (24)
System\Uri.cs (20)
1184public string OriginalString => _originalUnicodeString ?? _string; 2376info.Offset.End = _originalUnicodeString.Length; 3329_string = string.Concat(_string, _originalUnicodeString.AsSpan(origIdx)); 3364origIdx = _originalUnicodeString.Length; 3368ReadOnlySpan<char> span = _originalUnicodeString.AsSpan(origIdx); 3386origIdx = index == -1 ? _originalUnicodeString.Length : (index + origIdx); 3389_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, isQuery: false); 3393if (_string == _originalUnicodeString) 3506if (origIdx < _originalUnicodeString.Length && _originalUnicodeString[origIdx] == '?') 3511int index = _originalUnicodeString.AsSpan(origIdx).IndexOf('#'); 3512origIdx = index == -1 ? _originalUnicodeString.Length : (index + origIdx); 3516origIdx = _originalUnicodeString.Length; 3519_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, isQuery: true); 3523if (_string == _originalUnicodeString) 3566if (origIdx < _originalUnicodeString.Length && _originalUnicodeString[origIdx] == '#') 3568origIdx = _originalUnicodeString.Length; 3570_string += EscapeUnescapeIri(_originalUnicodeString, offset, origIdx, isQuery: false); 3801newHost = _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, isQuery: false); 1073_originalUnicodeString = otherUri._originalUnicodeString;