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)
89
parsed = TypeName.
Parse
(fullName.ToString());
System\TypeExtensions.cs (2)
226
return TypeName.
Parse
(type.AssemblyQualifiedName ?? type.FullName);
244
return TypeName.
Parse
(builder.AsSpan());
System\Types.cs (3)
49
/// <inheritdoc cref="TypeName.
Parse
(ReadOnlySpan{char}, TypeNameParseOptions?)"/>
53
/// <see cref="TypeName.
Parse
(ReadOnlySpan{char}, TypeNameParseOptions?)"/>
60
return TypeName.
Parse
(builder.AsSpan());
System.Formats.Nrbf (5)
System\Formats\Nrbf\BinaryLibraryRecord.cs (1)
33
public override TypeName TypeName => TypeName.
Parse
(nameof(BinaryLibraryRecord).AsSpan());
System\Formats\Nrbf\MessageEndRecord.cs (1)
27
public override TypeName TypeName => TypeName.
Parse
(nameof(MessageEndRecord).AsSpan());
System\Formats\Nrbf\NullsRecord.cs (1)
15
public override TypeName TypeName => TypeName.
Parse
(GetType().Name.AsSpan());
System\Formats\Nrbf\SerializedStreamHeaderRecord.cs (1)
27
public override TypeName TypeName => TypeName.
Parse
(nameof(SerializedStreamHeaderRecord).AsSpan());
System\Formats\Nrbf\Utils\TypeNameHelpers.cs (1)
53
s_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)
89
parsed = TypeName.
Parse
(fullName.ToString());
System\TypeExtensions.cs (2)
226
return TypeName.
Parse
(type.AssemblyQualifiedName ?? type.FullName);
244
return TypeName.
Parse
(builder.AsSpan());
System\Types.cs (3)
49
/// <inheritdoc cref="TypeName.
Parse
(ReadOnlySpan{char}, TypeNameParseOptions?)"/>
53
/// <see cref="TypeName.
Parse
(ReadOnlySpan{char}, TypeNameParseOptions?)"/>
60
return TypeName.
Parse
(builder.AsSpan());