55 references to Parse
Microsoft.Private.Windows.Core (25)
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (19)
38{ TypeName.Parse(Types.ByteType), typeof(byte) }, 39{ TypeName.Parse(Types.SByteType), typeof(sbyte) }, 40{ TypeName.Parse(Types.Int16Type), typeof(short) }, 41{ TypeName.Parse(Types.UInt16Type), typeof(ushort) }, 42{ TypeName.Parse(Types.Int32Type), typeof(int) }, 43{ TypeName.Parse(Types.UInt32Type), typeof(uint) }, 44{ TypeName.Parse(Types.Int64Type), typeof(long) }, 45{ TypeName.Parse(Types.UInt64Type), typeof(ulong) }, 46{ TypeName.Parse(Types.DoubleType), typeof(double) }, 47{ TypeName.Parse(Types.SingleType), typeof(float) }, 48{ TypeName.Parse(Types.CharType), typeof(char) }, 49{ TypeName.Parse(Types.BooleanType), typeof(bool) }, 50{ TypeName.Parse(Types.StringType), typeof(string) }, 51{ TypeName.Parse(Types.DecimalType), typeof(decimal) }, 52{ TypeName.Parse(Types.DateTimeType), typeof(DateTime) }, 53{ TypeName.Parse(Types.TimeSpanType), typeof(TimeSpan) }, 54{ TypeName.Parse(Types.IntPtrType), typeof(IntPtr) }, 55{ TypeName.Parse(Types.UIntPtrType), typeof(UIntPtr) }, 56{ TypeName.Parse(Types.NotSupportedExceptionType), typeof(NotSupportedException) },
System\Private\Windows\Ole\TypeBinder.cs (1)
89parsed = TypeName.Parse(fullName.ToString());
System\TypeExtensions.cs (2)
226return TypeName.Parse(type.AssemblyQualifiedName ?? type.FullName); 244return TypeName.Parse(builder.AsSpan());
System\Types.cs (3)
49/// <inheritdoc cref="TypeName.Parse(ReadOnlySpan{char}, TypeNameParseOptions?)"/> 53/// <see cref="TypeName.Parse(ReadOnlySpan{char}, TypeNameParseOptions?)"/> 60return TypeName.Parse(builder.AsSpan());
System.Formats.Nrbf (5)
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
33public override TypeName TypeName => TypeName.Parse(nameof(BinaryLibraryRecord).AsSpan());
System\Formats\Nrbf\MessageEndRecord.cs (1)
27public override TypeName TypeName => TypeName.Parse(nameof(MessageEndRecord).AsSpan());
System\Formats\Nrbf\NullsRecord.cs (1)
15public override TypeName TypeName => TypeName.Parse(GetType().Name.AsSpan());
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (1)
27public override TypeName TypeName => TypeName.Parse(nameof(SerializedStreamHeaderRecord).AsSpan());
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (1)
53s_primitiveTypeNames[(int)primitiveType] = typeName = TypeName.Parse(fullName.AsSpan()).WithCoreLibAssemblyName();
System.Private.Windows.Core (25)
System\Private\Windows\Nrbf\CoreNrbfSerializer.cs (19)
38{ TypeName.Parse(Types.ByteType), typeof(byte) }, 39{ TypeName.Parse(Types.SByteType), typeof(sbyte) }, 40{ TypeName.Parse(Types.Int16Type), typeof(short) }, 41{ TypeName.Parse(Types.UInt16Type), typeof(ushort) }, 42{ TypeName.Parse(Types.Int32Type), typeof(int) }, 43{ TypeName.Parse(Types.UInt32Type), typeof(uint) }, 44{ TypeName.Parse(Types.Int64Type), typeof(long) }, 45{ TypeName.Parse(Types.UInt64Type), typeof(ulong) }, 46{ TypeName.Parse(Types.DoubleType), typeof(double) }, 47{ TypeName.Parse(Types.SingleType), typeof(float) }, 48{ TypeName.Parse(Types.CharType), typeof(char) }, 49{ TypeName.Parse(Types.BooleanType), typeof(bool) }, 50{ TypeName.Parse(Types.StringType), typeof(string) }, 51{ TypeName.Parse(Types.DecimalType), typeof(decimal) }, 52{ TypeName.Parse(Types.DateTimeType), typeof(DateTime) }, 53{ TypeName.Parse(Types.TimeSpanType), typeof(TimeSpan) }, 54{ TypeName.Parse(Types.IntPtrType), typeof(IntPtr) }, 55{ TypeName.Parse(Types.UIntPtrType), typeof(UIntPtr) }, 56{ TypeName.Parse(Types.NotSupportedExceptionType), typeof(NotSupportedException) },
System\Private\Windows\Ole\TypeBinder.cs (1)
89parsed = TypeName.Parse(fullName.ToString());
System\TypeExtensions.cs (2)
226return TypeName.Parse(type.AssemblyQualifiedName ?? type.FullName); 244return TypeName.Parse(builder.AsSpan());
System\Types.cs (3)
49/// <inheritdoc cref="TypeName.Parse(ReadOnlySpan{char}, TypeNameParseOptions?)"/> 53/// <see cref="TypeName.Parse(ReadOnlySpan{char}, TypeNameParseOptions?)"/> 60return TypeName.Parse(builder.AsSpan());