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