Nullable: System.Runtime.InteropServices.CustomMarshalers/WindowsRuntime (#23930)
[platform/upstream/coreclr.git] / src / System.Private.CoreLib / src / System / Runtime / InteropServices / WindowsRuntime / PropertyValue.cs
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4
5 #nullable enable
6 namespace System.Runtime.InteropServices.WindowsRuntime
7 {
8     // Note this is a copy of the PropertyType enumeration from Windows.Foundation.winmd
9     internal enum PropertyType
10     {
11         // WARNING: These values have to match enum Windows.Foundation.PropertyType !!!
12         Empty = 0,
13         UInt8 = 1,
14         Int16 = 2,
15         UInt16 = 3,
16         Int32 = 4,
17         UInt32 = 5,
18         Int64 = 6,
19         UInt64 = 7,
20         Single = 8,
21         Double = 9,
22         Char16 = 10,
23         Boolean = 11,
24         String = 12,
25         Inspectable = 13,
26         DateTime = 14,
27         TimeSpan = 15,
28         Guid = 16,
29         Point = 17,
30         Size = 18,
31         Rect = 19,
32
33         Other = 20,
34
35         UInt8Array = UInt8 + 1024,
36         Int16Array = Int16 + 1024,
37         UInt16Array = UInt16 + 1024,
38         Int32Array = Int32 + 1024,
39         UInt32Array = UInt32 + 1024,
40         Int64Array = Int64 + 1024,
41         UInt64Array = UInt64 + 1024,
42         SingleArray = Single + 1024,
43         DoubleArray = Double + 1024,
44         Char16Array = Char16 + 1024,
45         BooleanArray = Boolean + 1024,
46         StringArray = String + 1024,
47         InspectableArray = Inspectable + 1024,
48         DateTimeArray = DateTime + 1024,
49         TimeSpanArray = TimeSpan + 1024,
50         GuidArray = Guid + 1024,
51         PointArray = Point + 1024,
52         SizeArray = Size + 1024,
53         RectArray = Rect + 1024,
54         OtherArray = Other + 1024,
55     }
56 }