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
();
17 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.Private.Windows.Core (2)
System\Types.cs (2)
49
/// <inheritdoc cref="TypeName.Parse(ReadOnlySpan{char},
TypeNameParseOptions
?)"/>
53
/// <see cref="TypeName.Parse(ReadOnlySpan{char},
TypeNameParseOptions
?)"/>
System.Reflection.Metadata (12)
System\Reflection\Metadata\TypeName.cs (5)
510
/// <param name="options">An object that describes optional <seealso cref="
TypeNameParseOptions
"/> parameters to use.</param>
513
/// <exception cref="InvalidOperationException">Parsing has exceeded the limit set by <seealso cref="
TypeNameParseOptions
.MaxNodes"/>.</exception>
514
public static TypeName Parse(ReadOnlySpan<char> typeName,
TypeNameParseOptions
? options = default)
521
/// <param name="options">An object that describes optional <seealso cref="
TypeNameParseOptions
"/> parameters to use.</param>
524
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)
233
internal static bool TryGetTypeNameInfo(
TypeNameParseOptions
options, ref ReadOnlySpan<char> input,
428
internal static bool IsMaxDepthExceeded(
TypeNameParseOptions
options, int depth)
435
internal static bool TryDive(
TypeNameParseOptions
options, ref int depth)