13 writes to _inputString
System.Reflection.Metadata (13)
System\Reflection\Metadata\TypeNameParser.cs (13)
26_inputString = name; 78if (!TryGetTypeNameInfo(_parseOptions, ref _inputString, ref nestedNameLengths, ref recursiveDepth, out int fullTypeNameLength)) 86_inputString = _inputString.Slice(fullTypeNameLength); 100if (IsBeginningOfGenericArgs(ref _inputString, out bool doubleBrackets)) 115if (doubleBrackets && !TryStripFirstCharAndTrailingSpaces(ref _inputString, ']')) 132if (TryStripFirstCharAndTrailingSpaces(ref _inputString, ',')) 134doubleBrackets = TryStripFirstCharAndTrailingSpaces(ref _inputString, '['); 141if (!TryStripFirstCharAndTrailingSpaces(ref _inputString, ']')) 158_inputString = capturedBeforeProcessing; 175while (TryParseNextDecorator(ref _inputString, out int parsedDecorator)) 231if (TryStripFirstCharAndTrailingSpaces(ref _inputString, ',')) 235_inputString = capturedBeforeProcessing; // restore the state 245_inputString = _inputString.Slice(candidate.Length);
10 references to _inputString
System.Reflection.Metadata (10)
System\Reflection\Metadata\TypeNameParser.cs (10)
48if (parsedName is null || !parser._inputString.IsEmpty) // unconsumed input == error 57int errorIndex = typeName.Length - parser._inputString.Length; 85ReadOnlySpan<char> fullTypeName = _inputString.Slice(0, fullTypeNameLength); 86_inputString = _inputString.Slice(fullTypeNameLength); 99ReadOnlySpan<char> capturedBeforeProcessing = _inputString; 173capturedBeforeProcessing = _inputString; 230ReadOnlySpan<char> capturedBeforeProcessing = _inputString; 233if (_inputString.IsEmpty) 239ReadOnlySpan<char> candidate = GetAssemblyNameCandidate(_inputString); 245_inputString = _inputString.Slice(candidate.Length);