2 instantiations of TypeNameParseOptions
illink (1)
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeNameParser.cs (1)
18private static readonly TypeNameParseOptions s_defaults = new();
15 references to TypeNameParseOptions
illink (2)
System.Formats.Nrbf (1)
System\Formats\Nrbf\PayloadOptions.cs (1)
21public 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> 388public 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> 398public static bool TryParse(ReadOnlySpan<char> typeName, [NotNullWhen(true)] out TypeName? result, TypeNameParseOptions? options = default)
System\Reflection\Metadata\TypeNameParser.cs (4)
18private static readonly TypeNameParseOptions s_defaults = new(); 21private readonly TypeNameParseOptions _parseOptions; 24private TypeNameParser(ReadOnlySpan<char> name, bool throwOnError, TypeNameParseOptions? options) : this() 31internal static TypeName? Parse(ReadOnlySpan<char> typeName, bool throwOnError, TypeNameParseOptions? options = default)
System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
236internal static bool TryGetTypeNameInfo(TypeNameParseOptions options, ref ReadOnlySpan<char> input, 414internal static bool IsMaxDepthExceeded(TypeNameParseOptions options, int depth) 421internal static bool TryDive(TypeNameParseOptions options, ref int depth)