You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PSADT/PSADT.Interop/PRODUCT_TYPE.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,10 @@
3
3
/// <summary>
4
4
/// Values for determining a product's type.
5
5
/// </summary>
6
-
internalenumPRODUCT_TYPE:byte
6
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design","CA1008:Enums should have zero value",Justification="There is no zero value in the Win32 API for PRODUCT_TYPE.")]
7
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design","CA1028:Enum Storage should be Int32",Justification="These values are represented as 8-bit values in the Win32 API.")]
8
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Naming","CA1707:Identifiers should not contain underscores",Justification="These are named as per the Win32 API.")]
9
+
publicenumPRODUCT_TYPE:byte
7
10
{
8
11
/// <summary>
9
12
/// The operating system is Windows 10, Windows 8, Windows 7,...
0 commit comments