6 references to TryParse
illink (2)
Linker\TypeNameResolver.cs (1)
40
if (!TypeName.
TryParse
(typeNameString, out TypeName? parsedTypeName, s_typeNameParseOptions)) {
Linker\TypeNameResolver.WithDiagnostics.cs (1)
29
if (!TypeName.
TryParse
(typeNameString, out TypeName? parsedTypeName, s_typeNameParseOptions))
System.Formats.Nrbf (2)
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (2)
133
TypeName.
TryParse
(assemblyQualifiedName.AsSpan(), out TypeName? typeName, payloadOptions.TypeNameParseOptions);
195
if (!TypeName.
TryParse
(rawName.AsSpan(), out TypeName? typeName, payloadOptions.TypeNameParseOptions)
System.Windows.Forms (2)
System\Resources\ResXSerializationBinder.cs (2)
40
if (_typeResolver is null || !TypeName.
TryParse
($"{typeName}, {assemblyName}".AsSpan(), out TypeName? parsed))
83
&& TypeName.
TryParse
(assemblyQualifiedTypeName.AsSpan(), out TypeName? parsed)