2 instantiations of TypeNameParseOptions
illink (1)
Linker\TypeNameResolver.cs (1)
23
private static readonly TypeNameParseOptions s_typeNameParseOptions =
new
() { MaxNodes = int.MaxValue };
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeNameParser.cs (1)
18
private static readonly TypeNameParseOptions s_defaults =
new
();
15 references to TypeNameParseOptions
illink (2)
Linker\TypeNameResolver.cs (2)
10
using TypeNameParseOptions = System.Reflection.Metadata.
TypeNameParseOptions
;
23
private static readonly
TypeNameParseOptions
s_typeNameParseOptions = new () { MaxNodes = int.MaxValue };
System.Formats.Nrbf (1)
System\Formats\Nrbf\PayloadOptions.cs (1)
21
public
TypeNameParseOptions
? TypeNameParseOptions { get; set; }
System.Reflection.Metadata (12)
System\Reflection\Metadata\TypeName.cs (5)
384
/// <param name="options">An object that describes optional <seealso cref="
TypeNameParseOptions
"/> parameters to use.</param>
387
/// <exception cref="InvalidOperationException">Parsing has exceeded the limit set by <seealso cref="
TypeNameParseOptions
.MaxNodes"/>.</exception>
388
public static TypeName Parse(ReadOnlySpan<char> typeName,
TypeNameParseOptions
? options = default)
395
/// <param name="options">An object that describes optional <seealso cref="
TypeNameParseOptions
"/> parameters to use.</param>
398
public static bool TryParse(ReadOnlySpan<char> typeName, [NotNullWhen(true)] out TypeName? result,
TypeNameParseOptions
? options = default)
System\Reflection\Metadata\TypeNameParser.cs (4)
18
private static readonly
TypeNameParseOptions
s_defaults = new();
21
private readonly
TypeNameParseOptions
_parseOptions;
24
private TypeNameParser(ReadOnlySpan<char> name, bool throwOnError,
TypeNameParseOptions
? options) : this()
31
internal static TypeName? Parse(ReadOnlySpan<char> typeName, bool throwOnError,
TypeNameParseOptions
? options = default)
System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
236
internal static bool TryGetTypeNameInfo(
TypeNameParseOptions
options, ref ReadOnlySpan<char> input,
414
internal static bool IsMaxDepthExceeded(
TypeNameParseOptions
options, int depth)
421
internal static bool TryDive(
TypeNameParseOptions
options, ref int depth)