Skip to content

Commit 5a5ed76

Browse files
Regenerating reference sources in order to reorder enum fields (dotnet/corefx#37045)
Commit migrated from dotnet/corefx@17382de
1 parent 8ce6a69 commit 5a5ed76

92 files changed

Lines changed: 3787 additions & 3787 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/libraries/Microsoft.CSharp/ref/Microsoft.CSharp.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,28 @@ internal CSharpArgumentInfo() { }
3232
[System.FlagsAttribute]
3333
public enum CSharpArgumentInfoFlags
3434
{
35+
None = 0,
36+
UseCompileTimeType = 1,
3537
Constant = 2,
36-
IsOut = 16,
38+
NamedArgument = 4,
3739
IsRef = 8,
40+
IsOut = 16,
3841
IsStaticType = 32,
39-
NamedArgument = 4,
40-
None = 0,
41-
UseCompileTimeType = 1,
4242
}
4343
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
4444
[System.FlagsAttribute]
4545
public enum CSharpBinderFlags
4646
{
47-
BinaryOperationLogical = 8,
47+
None = 0,
4848
CheckedContext = 1,
49-
ConvertArrayIndex = 32,
50-
ConvertExplicit = 16,
5149
InvokeSimpleName = 2,
5250
InvokeSpecialName = 4,
53-
None = 0,
54-
ResultDiscarded = 256,
51+
BinaryOperationLogical = 8,
52+
ConvertExplicit = 16,
53+
ConvertArrayIndex = 32,
5554
ResultIndexed = 64,
5655
ValueFromCompoundAssignment = 128,
56+
ResultDiscarded = 256,
5757
}
5858
public partial class RuntimeBinderException : System.Exception
5959
{

src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ namespace Microsoft.VisualBasic
99
{
1010
public enum CallType
1111
{
12+
Method = 1,
1213
Get = 2,
1314
Let = 4,
14-
Method = 1,
1515
Set = 8,
1616
}
1717
public sealed partial class Collection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
@@ -254,26 +254,26 @@ internal Strings() { }
254254
}
255255
public enum VariantType
256256
{
257-
Array = 8192,
258-
Boolean = 11,
259-
Byte = 17,
260-
Char = 18,
261-
Currency = 6,
262-
DataObject = 13,
263-
Date = 7,
264-
Decimal = 14,
265-
Double = 5,
266257
Empty = 0,
267-
Error = 10,
268-
Integer = 3,
269-
Long = 20,
270258
Null = 1,
271-
Object = 9,
272259
Short = 2,
260+
Integer = 3,
273261
Single = 4,
262+
Double = 5,
263+
Currency = 6,
264+
Date = 7,
274265
String = 8,
275-
UserDefinedType = 36,
266+
Object = 9,
267+
Error = 10,
268+
Boolean = 11,
276269
Variant = 12,
270+
DataObject = 13,
271+
Decimal = 14,
272+
Byte = 17,
273+
Char = 18,
274+
Long = 20,
275+
UserDefinedType = 36,
276+
Array = 8192,
277277
}
278278
[System.AttributeUsageAttribute(System.AttributeTargets.Field, Inherited=false, AllowMultiple=false)]
279279
public sealed partial class VBFixedArrayAttribute : System.Attribute
@@ -800,8 +800,8 @@ namespace Microsoft.VisualBasic.FileIO
800800
{
801801
public enum DeleteDirectoryOption
802802
{
803-
DeleteAllContents = 5,
804803
ThrowIfDirectoryNonEmpty = 4,
804+
DeleteAllContents = 5,
805805
}
806806
public enum FieldType
807807
{
@@ -889,8 +889,8 @@ public enum RecycleOption
889889
}
890890
public enum SearchOption
891891
{
892-
SearchAllSubDirectories = 3,
893892
SearchTopLevelOnly = 2,
893+
SearchAllSubDirectories = 3,
894894
}
895895
public partial class SpecialDirectories
896896
{
@@ -948,8 +948,8 @@ public enum UICancelOption
948948
}
949949
public enum UIOption
950950
{
951-
AllDialogs = 3,
952951
OnlyErrorDialogs = 2,
952+
AllDialogs = 3,
953953
}
954954
}
955955
namespace Microsoft.VisualBasic.MyServices

src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ public static void SetValue(string keyName, string valueName, object value, Micr
2222
public enum RegistryHive
2323
{
2424
ClassesRoot = -2147483648,
25-
CurrentConfig = -2147483643,
2625
CurrentUser = -2147483647,
2726
LocalMachine = -2147483646,
28-
PerformanceData = -2147483644,
2927
Users = -2147483645,
28+
PerformanceData = -2147483644,
29+
CurrentConfig = -2147483643,
3030
}
3131
public sealed partial class RegistryKey : System.MarshalByRefObject, System.IDisposable
3232
{
@@ -89,26 +89,26 @@ public enum RegistryOptions
8989
}
9090
public enum RegistryValueKind
9191
{
92+
None = -1,
93+
Unknown = 0,
94+
String = 1,
95+
ExpandString = 2,
9296
Binary = 3,
9397
DWord = 4,
94-
ExpandString = 2,
9598
MultiString = 7,
96-
None = -1,
9799
QWord = 11,
98-
String = 1,
99-
Unknown = 0,
100100
}
101101
[System.FlagsAttribute]
102102
public enum RegistryValueOptions
103103
{
104-
DoNotExpandEnvironmentNames = 1,
105104
None = 0,
105+
DoNotExpandEnvironmentNames = 1,
106106
}
107107
public enum RegistryView
108108
{
109109
Default = 0,
110-
Registry32 = 512,
111110
Registry64 = 256,
111+
Registry32 = 512,
112112
}
113113
}
114114
namespace Microsoft.Win32.SafeHandles
@@ -139,20 +139,20 @@ public sealed partial class RegistryAuditRule : System.Security.AccessControl.Au
139139
[System.FlagsAttribute]
140140
public enum RegistryRights
141141
{
142-
ChangePermissions = 262144,
143-
CreateLink = 32,
142+
QueryValues = 1,
143+
SetValue = 2,
144144
CreateSubKey = 4,
145-
Delete = 65536,
146145
EnumerateSubKeys = 8,
147-
ExecuteKey = 131097,
148-
FullControl = 983103,
149146
Notify = 16,
150-
QueryValues = 1,
151-
ReadKey = 131097,
147+
CreateLink = 32,
148+
Delete = 65536,
152149
ReadPermissions = 131072,
153-
SetValue = 2,
154-
TakeOwnership = 524288,
155150
WriteKey = 131078,
151+
ExecuteKey = 131097,
152+
ReadKey = 131097,
153+
ChangePermissions = 262144,
154+
TakeOwnership = 524288,
155+
FullControl = 983103,
156156
}
157157
public sealed partial class RegistrySecurity : System.Security.AccessControl.NativeObjectSecurity
158158
{

src/libraries/Microsoft.Win32.SystemEvents/ref/Microsoft.Win32.SystemEvents.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ public enum SessionSwitchReason
4949
ConsoleDisconnect = 2,
5050
RemoteConnect = 3,
5151
RemoteDisconnect = 4,
52-
SessionLock = 7,
53-
SessionLogoff = 6,
5452
SessionLogon = 5,
55-
SessionRemoteControl = 9,
53+
SessionLogoff = 6,
54+
SessionLock = 7,
5655
SessionUnlock = 8,
56+
SessionRemoteControl = 9,
5757
}
5858
public sealed partial class SystemEvents
5959
{
@@ -93,14 +93,14 @@ public enum UserPreferenceCategory
9393
General = 4,
9494
Icon = 5,
9595
Keyboard = 6,
96-
Locale = 13,
9796
Menu = 7,
9897
Mouse = 8,
9998
Policy = 9,
10099
Power = 10,
101100
Screensaver = 11,
102-
VisualStyle = 14,
103101
Window = 12,
102+
Locale = 13,
103+
VisualStyle = 14,
104104
}
105105
public partial class UserPreferenceChangedEventArgs : System.EventArgs
106106
{

src/libraries/System.CodeDom/ref/System.CodeDom.cs

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -147,22 +147,22 @@ public CodeBinaryOperatorExpression(System.CodeDom.CodeExpression left, System.C
147147
public enum CodeBinaryOperatorType
148148
{
149149
Add = 0,
150+
Subtract = 1,
151+
Multiply = 2,
152+
Divide = 3,
153+
Modulus = 4,
150154
Assign = 5,
151-
BitwiseAnd = 10,
155+
IdentityInequality = 6,
156+
IdentityEquality = 7,
157+
ValueEquality = 8,
152158
BitwiseOr = 9,
153-
BooleanAnd = 12,
159+
BitwiseAnd = 10,
154160
BooleanOr = 11,
155-
Divide = 3,
156-
GreaterThan = 15,
157-
GreaterThanOrEqual = 16,
158-
IdentityEquality = 7,
159-
IdentityInequality = 6,
161+
BooleanAnd = 12,
160162
LessThan = 13,
161163
LessThanOrEqual = 14,
162-
Modulus = 4,
163-
Multiply = 2,
164-
Subtract = 1,
165-
ValueEquality = 8,
164+
GreaterThan = 15,
165+
GreaterThanOrEqual = 16,
166166
}
167167
public partial class CodeCastExpression : System.CodeDom.CodeExpression
168168
{
@@ -579,9 +579,9 @@ public CodeRegionDirective(System.CodeDom.CodeRegionMode regionMode, string regi
579579
}
580580
public enum CodeRegionMode
581581
{
582-
End = 2,
583582
None = 0,
584583
Start = 1,
584+
End = 2,
585585
}
586586
public partial class CodeRemoveEventStatement : System.CodeDom.CodeStatement
587587
{
@@ -804,8 +804,8 @@ public CodeTypeReferenceExpression(System.Type type) { }
804804
[System.FlagsAttribute]
805805
public enum CodeTypeReferenceOptions
806806
{
807-
GenericTypeParameter = 2,
808807
GlobalReference = 1,
808+
GenericTypeParameter = 2,
809809
}
810810
public partial class CodeVariableDeclarationStatement : System.CodeDom.CodeStatement
811811
{
@@ -835,21 +835,21 @@ public enum FieldDirection
835835
public enum MemberAttributes
836836
{
837837
Abstract = 1,
838-
AccessMask = 61440,
839-
Assembly = 4096,
840-
Const = 5,
841-
Family = 12288,
842-
FamilyAndAssembly = 8192,
843-
FamilyOrAssembly = 16384,
844838
Final = 2,
839+
Static = 3,
840+
Override = 4,
841+
Const = 5,
842+
ScopeMask = 15,
845843
New = 16,
844+
VTableMask = 240,
846845
Overloaded = 256,
847-
Override = 4,
846+
Assembly = 4096,
847+
FamilyAndAssembly = 8192,
848+
Family = 12288,
849+
FamilyOrAssembly = 16384,
848850
Private = 20480,
849851
Public = 24576,
850-
ScopeMask = 15,
851-
Static = 3,
852-
VTableMask = 240,
852+
AccessMask = 61440,
853853
}
854854
}
855855
namespace System.CodeDom.Compiler
@@ -1140,31 +1140,31 @@ public static void ExecWait(string cmd, System.CodeDom.Compiler.TempFileCollecti
11401140
public enum GeneratorSupport
11411141
{
11421142
ArraysOfArrays = 1,
1143-
AssemblyAttributes = 4096,
1144-
ChainedConstructorArguments = 32768,
1145-
ComplexExpressions = 524288,
1146-
DeclareDelegates = 512,
1147-
DeclareEnums = 256,
1148-
DeclareEvents = 2048,
1149-
DeclareIndexerProperties = 33554432,
1150-
DeclareInterfaces = 1024,
1151-
DeclareValueTypes = 128,
11521143
EntryPointMethod = 2,
1153-
GenericTypeDeclaration = 16777216,
1154-
GenericTypeReference = 8388608,
11551144
GotoStatements = 4,
11561145
MultidimensionalArrays = 8,
1157-
MultipleInterfaceMembers = 131072,
1158-
NestedTypes = 65536,
1159-
ParameterAttributes = 8192,
1160-
PartialTypes = 4194304,
1161-
PublicStaticMembers = 262144,
1162-
ReferenceParameters = 16384,
1163-
Resources = 2097152,
1164-
ReturnTypeAttributes = 64,
11651146
StaticConstructors = 16,
11661147
TryCatchStatements = 32,
1148+
ReturnTypeAttributes = 64,
1149+
DeclareValueTypes = 128,
1150+
DeclareEnums = 256,
1151+
DeclareDelegates = 512,
1152+
DeclareInterfaces = 1024,
1153+
DeclareEvents = 2048,
1154+
AssemblyAttributes = 4096,
1155+
ParameterAttributes = 8192,
1156+
ReferenceParameters = 16384,
1157+
ChainedConstructorArguments = 32768,
1158+
NestedTypes = 65536,
1159+
MultipleInterfaceMembers = 131072,
1160+
PublicStaticMembers = 262144,
1161+
ComplexExpressions = 524288,
11671162
Win32Resources = 1048576,
1163+
Resources = 2097152,
1164+
PartialTypes = 4194304,
1165+
GenericTypeReference = 8388608,
1166+
GenericTypeDeclaration = 16777216,
1167+
DeclareIndexerProperties = 33554432,
11681168
}
11691169
public partial interface ICodeCompiler
11701170
{
@@ -1196,8 +1196,8 @@ public partial interface ICodeParser
11961196
[System.FlagsAttribute]
11971197
public enum LanguageOptions
11981198
{
1199-
CaseInsensitive = 1,
12001199
None = 0,
1200+
CaseInsensitive = 1,
12011201
}
12021202
public partial class TempFileCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.IDisposable
12031203
{

src/libraries/System.Collections.Concurrent/ref/System.Collections.Concurrent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ void System.Collections.ICollection.CopyTo(System.Array array, int index) { }
171171
[System.FlagsAttribute]
172172
public enum EnumerablePartitionerOptions
173173
{
174-
NoBuffering = 1,
175174
None = 0,
175+
NoBuffering = 1,
176176
}
177177
public partial interface IProducerConsumerCollection<T> : System.Collections.Generic.IEnumerable<T>, System.Collections.ICollection, System.Collections.IEnumerable
178178
{

0 commit comments

Comments
 (0)