4 instantiations of TypeNameParseOptions
illink (1)
ILLink.RoslynAnalyzer (2)
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParser.cs (1)
18private static readonly TypeNameParseOptions s_defaults = new();
TrimAnalysis\TypeNameResolver.cs (1)
19static readonly TypeNameParseOptions s_typeNameParseOptions = new() { MaxNodes = int.MaxValue };
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeNameParser.cs (1)
18private static readonly TypeNameParseOptions s_defaults = new();
30 references to TypeNameParseOptions
illink (2)
ILLink.RoslynAnalyzer (13)
src\libraries\System.Reflection.Metadata\src\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> 514public 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> 524public static bool TryParse(ReadOnlySpan<char> typeName, [NotNullWhen(true)] out TypeName? result, TypeNameParseOptions? options = default)
src\libraries\System.Reflection.Metadata\src\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)
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (3)
225internal static bool TryGetTypeNameInfo(TypeNameParseOptions options, ref ReadOnlySpan<char> input, 420internal static bool IsMaxDepthExceeded(TypeNameParseOptions options, int depth) 427internal static bool TryDive(TypeNameParseOptions options, ref int depth)
TrimAnalysis\TypeNameResolver.cs (1)
19static readonly TypeNameParseOptions s_typeNameParseOptions = new() { MaxNodes = int.MaxValue };
System.Formats.Nrbf (1)
System\Formats\Nrbf\PayloadOptions.cs (1)
21public 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> 514public 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> 524public 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)
225internal static bool TryGetTypeNameInfo(TypeNameParseOptions options, ref ReadOnlySpan<char> input, 420internal static bool IsMaxDepthExceeded(TypeNameParseOptions options, int depth) 427internal static bool TryDive(TypeNameParseOptions options, ref int depth)