9 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 (3)
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)
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (1)
82
|| !TypeName.
TryParse
(innerTypeFullName, out TypeName? serializedTypeName))
System.Windows.Forms.Tests (2)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
86
if (TypeName.
TryParse
(InnerTypeAssemblyQualifiedName, out TypeName? innerTypeName)
System\Windows\Forms\ClipboardTests.cs (1)
1054
TypeName.
TryParse
(innerTypeAssemblyQualifiedName, out TypeName? innerTypeName).Should().BeTrue();