[master] Update dependencies from dotnet/arcade (#9715)

* Update dependencies from https://github.com/dotnet/arcade build 20190423.2

- Microsoft.DotNet.GenAPI - 1.0.0-beta.19223.2

* Adjust to GenApi change in `enum` ordering
- was sorted by name, now by value
This commit is contained in:
dotnet-maestro[bot] 2019-04-24 19:21:37 +00:00 committed by GitHub
parent 6a99743d33
commit 8eb2e8baec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 93 additions and 93 deletions

View File

@ -380,9 +380,9 @@
<Uri>https://github.com/aspnet/Extensions</Uri>
<Sha>c3be53d2c8e78d388af8d47827fee604d9dcac59</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19222.2">
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19223.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>851e36df83d3361e4bd8a70a2a8a89f762469f9a</Sha>
<Sha>e3919d0c158716ef4685c8e057cc58640af1af83</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.Testing" Version="3.0.0-preview6.19222.23" CoherentParentDependency="Microsoft.EntityFrameworkCore">
<Uri>https://github.com/aspnet/Extensions</Uri>

View File

@ -17,7 +17,7 @@
-->
<PropertyGroup Label="Automated">
<!-- Packages from dotnet/arcade -->
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19222.2</MicrosoftDotNetGenAPIPackageVersion>
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19223.2</MicrosoftDotNetGenAPIPackageVersion>
<!-- Packages from dotnet/core-setup -->
<MicrosoftExtensionsDependencyModelPackageVersion>3.0.0-preview6-27622-26</MicrosoftExtensionsDependencyModelPackageVersion>
<MicrosoftNETCoreAppPackageVersion>3.0.0-preview6-27622-26</MicrosoftNETCoreAppPackageVersion>

View File

@ -41,9 +41,9 @@ namespace Microsoft.AspNetCore.Blazor.Http
{
public enum FetchCredentialsOption
{
Include = 2,
Omit = 0,
SameOrigin = 1,
Include = 2,
}
public partial class WebAssemblyHttpMessageHandler : System.Net.Http.HttpMessageHandler
{

View File

@ -781,31 +781,31 @@ namespace Microsoft.AspNetCore.Components.RenderTree
public enum RenderTreeEditType
{
PrependFrame = 1,
RemoveAttribute = 4,
RemoveFrame = 2,
SetAttribute = 3,
RemoveAttribute = 4,
UpdateText = 5,
StepIn = 6,
StepOut = 7,
UpdateMarkup = 8,
UpdateText = 5,
}
public enum RenderTreeFrameType
{
Element = 1,
Text = 2,
Attribute = 3,
Component = 4,
ComponentReferenceCapture = 7,
Element = 1,
ElementReferenceCapture = 6,
Markup = 8,
Region = 5,
Text = 2,
ElementReferenceCapture = 6,
ComponentReferenceCapture = 7,
Markup = 8,
}
}
namespace Microsoft.AspNetCore.Components.Routing
{
public enum NavLinkMatch
{
All = 1,
Prefix = 0,
All = 1,
}
}

View File

@ -92,10 +92,10 @@ namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption
public enum EncryptionAlgorithm
{
AES_128_CBC = 0,
AES_128_GCM = 3,
AES_192_CBC = 1,
AES_192_GCM = 4,
AES_256_CBC = 2,
AES_128_GCM = 3,
AES_192_GCM = 4,
AES_256_GCM = 5,
}
public partial interface IAuthenticatedEncryptor
@ -369,9 +369,9 @@ namespace Microsoft.AspNetCore.DataProtection.XmlEncryption
[System.FlagsAttribute]
public enum DpapiNGProtectionDescriptorFlags
{
MachineKey = 32,
NamedDescriptor = 1,
None = 0,
NamedDescriptor = 1,
MachineKey = 32,
}
public sealed partial class DpapiNGXmlDecryptor : Microsoft.AspNetCore.DataProtection.XmlEncryption.IXmlDecryptor
{

View File

@ -216,8 +216,8 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
protected enum OperationType
{
Add = 0,
Get = 2,
Remove = 1,
Get = 2,
Replace = 3,
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@ -230,8 +230,8 @@ namespace Microsoft.AspNetCore.JsonPatch.Internal
}
protected enum PositionType
{
EndOfList = 1,
Index = 0,
EndOfList = 1,
Invalid = 2,
OutOfBounds = 3,
}
@ -292,12 +292,12 @@ namespace Microsoft.AspNetCore.JsonPatch.Operations
public enum OperationType
{
Add = 0,
Copy = 4,
Invalid = 6,
Move = 3,
Remove = 1,
Replace = 2,
Move = 3,
Copy = 4,
Test = 5,
Invalid = 6,
}
public partial class Operation<TModel> : Microsoft.AspNetCore.JsonPatch.Operations.Operation where TModel : class
{

View File

@ -316,8 +316,8 @@ namespace Microsoft.Net.Http.Headers
}
public enum SameSiteMode
{
Lax = 1,
None = 0,
Lax = 1,
Strict = 2,
}
public partial class SetCookieHeaderValue

View File

@ -135,9 +135,9 @@ namespace Microsoft.AspNetCore.Http
}
public enum CookieSecurePolicy
{
SameAsRequest = 0,
Always = 1,
None = 2,
SameAsRequest = 0,
}
public partial class Endpoint
{

View File

@ -84,8 +84,8 @@ namespace Microsoft.AspNetCore.Http
}
public enum SameSiteMode
{
Lax = 1,
None = 0,
Lax = 1,
Strict = 2,
}
public partial class WebSocketAcceptContext
@ -133,9 +133,9 @@ namespace Microsoft.AspNetCore.Http.Features
}
public enum HttpsCompressionMode
{
Compress = 2,
Default = 0,
DoNotCompress = 1,
Compress = 2,
}
public partial interface IFeatureCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Type, object>>, System.Collections.IEnumerable
{

View File

@ -683,9 +683,9 @@ namespace Microsoft.AspNetCore.Routing.Patterns
}
public enum RoutePatternParameterKind
{
CatchAll = 2,
Optional = 1,
Standard = 0,
Optional = 1,
CatchAll = 2,
}
[System.Diagnostics.DebuggerDisplayAttribute("{DebuggerToString()}")]
public sealed partial class RoutePatternParameterPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart

View File

@ -40,11 +40,11 @@ namespace Microsoft.AspNetCore.HttpOverrides
[System.FlagsAttribute]
public enum ForwardedHeaders
{
All = 7,
None = 0,
XForwardedFor = 1,
XForwardedHost = 2,
XForwardedProto = 4,
All = 7,
}
public static partial class ForwardedHeadersDefaults
{

View File

@ -184,10 +184,10 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite
}
public enum ConditionType
{
IntComp = 3,
PropertyTest = 1,
Regex = 0,
PropertyTest = 1,
StringComp = 2,
IntComp = 3,
}
public partial class CookieActionFactory
{
@ -216,12 +216,12 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite
}
public enum FlagType
{
EscapeBackreference = 0,
Chain = 1,
Cookie = 2,
DiscardPath = 3,
End = 5,
Env = 4,
EscapeBackreference = 0,
End = 5,
Forbidden = 6,
Gone = 7,
Handler = 8,
@ -232,8 +232,8 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite
NoSubReq = 13,
NoVary = 14,
Or = 15,
PassThrough = 17,
Proxy = 16,
PassThrough = 17,
QSAppend = 18,
QSDiscard = 19,
QSLast = 20,
@ -243,20 +243,20 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite
}
public enum OperationType
{
Directory = 7,
None = 0,
Equal = 1,
Executable = 13,
ExistingFile = 9,
ExistingUrl = 12,
Greater = 2,
GreaterEqual = 3,
Less = 4,
LessEqual = 5,
None = 0,
NotEqual = 6,
Directory = 7,
RegularFile = 8,
Size = 11,
ExistingFile = 9,
SymbolicLink = 10,
Size = 11,
ExistingUrl = 12,
Executable = 13,
}
public partial class ParsedModRewriteInput
{
@ -283,10 +283,10 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.ApacheModRewrite
}
public enum SegmentType
{
ConditionParameter = 2,
Literal = 0,
RuleParameter = 3,
ServerParameter = 1,
ConditionParameter = 2,
RuleParameter = 3,
}
public static partial class ServerVariables
{
@ -307,11 +307,11 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.IISUrlRewrite
{
public enum ActionType
{
AbortRequest = 4,
CustomResponse = 3,
None = 0,
Redirect = 2,
Rewrite = 1,
Redirect = 2,
CustomResponse = 3,
AbortRequest = 4,
}
public partial class Condition
{
@ -384,20 +384,20 @@ namespace Microsoft.AspNetCore.Rewrite.Internal.IISUrlRewrite
}
public enum MatchType
{
IsDirectory = 2,
IsFile = 1,
Pattern = 0,
IsFile = 1,
IsDirectory = 2,
}
public enum PatternSyntax
{
ECMAScript = 0,
ExactMatch = 2,
Wildcard = 1,
ExactMatch = 2,
}
public enum RedirectType
{
Found = 302,
Permanent = 301,
Found = 302,
SeeOther = 303,
Temporary = 307,
}

View File

@ -814,10 +814,10 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
}
public enum ModelValidationState
{
Invalid = 1,
Skipped = 3,
Unvalidated = 0,
Invalid = 1,
Valid = 2,
Skipped = 3,
}
public partial class TooManyModelErrorsException : System.Exception
{
@ -888,9 +888,9 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata
}
public enum ModelMetadataKind
{
Parameter = 2,
Property = 1,
Type = 0,
Property = 1,
Parameter = 2,
}
}
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation

View File

@ -214,7 +214,6 @@ namespace Microsoft.AspNetCore.Mvc
}
public enum CompatibilityVersion
{
Latest = 2147483647,
[System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")]
Version_2_0 = 0,
[System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")]
@ -222,6 +221,7 @@ namespace Microsoft.AspNetCore.Mvc
[System.ObsoleteAttribute("This CompatibilityVersion value is obsolete. The recommended alternatives are Version_3_0 or later.")]
Version_2_2 = 2,
Version_3_0 = 3,
Latest = 2147483647,
}
[Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCodeAttribute(409)]
public partial class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult
@ -2120,8 +2120,8 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
public enum BindingBehavior
{
Never = 1,
Optional = 0,
Never = 1,
Required = 2,
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]

View File

@ -5,9 +5,9 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
{
public enum ValidationSummary
{
All = 2,
ModelOnly = 1,
None = 0,
ModelOnly = 1,
All = 2,
}
}
namespace Microsoft.AspNetCore.Mvc.TagHelpers

View File

@ -233,8 +233,8 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
}
public enum Html5DateRenderingMode
{
CurrentCulture = 1,
Rfc3339 = 0,
CurrentCulture = 1,
}
public static partial class HtmlHelperDisplayExtensions
{
@ -575,10 +575,10 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
}
public enum TagRenderMode
{
EndTag = 2,
Normal = 0,
SelfClosing = 3,
StartTag = 1,
EndTag = 2,
SelfClosing = 3,
}
public static partial class ViewComponentHelperExtensions
{

View File

@ -37,9 +37,9 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers
public enum HtmlAttributeValueStyle
{
DoubleQuotes = 0,
Minimized = 3,
NoQuotes = 2,
SingleQuotes = 1,
NoQuotes = 2,
Minimized = 3,
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed partial class HtmlTargetElementAttribute : System.Attribute
@ -204,14 +204,14 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers
}
public enum TagMode
{
SelfClosing = 1,
StartTagAndEndTag = 0,
SelfClosing = 1,
StartTagOnly = 2,
}
public enum TagStructure
{
NormalOrSelfClosing = 1,
Unspecified = 0,
NormalOrSelfClosing = 1,
WithoutEndTag = 2,
}
}

View File

@ -145,8 +145,8 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect
}
public enum OpenIdConnectRedirectBehavior
{
FormPost = 1,
RedirectGet = 0,
FormPost = 1,
}
public partial class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>
{

View File

@ -52,7 +52,7 @@ namespace Microsoft.AspNetCore.CookiePolicy
}
public enum HttpOnlyPolicy
{
Always = 1,
None = 0,
Always = 1,
}
}

View File

@ -20,17 +20,17 @@ namespace Microsoft.AspNetCore.Server.HttpSys
[System.FlagsAttribute]
public enum AuthenticationSchemes
{
Basic = 1,
Kerberos = 16,
Negotiate = 8,
None = 0,
Basic = 1,
NTLM = 4,
Negotiate = 8,
Kerberos = 16,
}
public enum Http503VerbosityLevel : long
{
Basic = (long)0,
Full = (long)2,
Limited = (long)1,
Full = (long)2,
}
public static partial class HttpSysDefaults
{

View File

@ -80,10 +80,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core
[System.FlagsAttribute]
public enum HttpProtocols
{
Http1 = 1,
Http1AndHttp2 = 3,
Http2 = 2,
None = 0,
Http1 = 1,
Http2 = 2,
Http1AndHttp2 = 3,
}
public partial class KestrelServer : Microsoft.AspNetCore.Hosting.Server.IServer, System.IDisposable
{
@ -215,17 +215,17 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
{
public enum HttpMethod : byte
{
Connect = (byte)7,
Custom = (byte)9,
Delete = (byte)2,
Get = (byte)0,
Head = (byte)4,
None = (byte)255,
Options = (byte)8,
Patch = (byte)6,
Post = (byte)3,
Put = (byte)1,
Delete = (byte)2,
Post = (byte)3,
Head = (byte)4,
Trace = (byte)5,
Patch = (byte)6,
Connect = (byte)7,
Options = (byte)8,
Custom = (byte)9,
None = (byte)255,
}
public partial class HttpParser<TRequestHandler> : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpParser<TRequestHandler> where TRequestHandler : Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpHeadersHandler, Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.IHttpRequestLineHandler
{
@ -238,16 +238,16 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http
}
public enum HttpScheme
{
Unknown = -1,
Http = 0,
Https = 1,
Unknown = -1,
}
public enum HttpVersion
{
Unknown = -1,
Http10 = 0,
Http11 = 1,
Http2 = 2,
Unknown = -1,
}
public partial interface IHttpHeadersHandler
{
@ -290,8 +290,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Https
{
public enum ClientCertificateMode
{
AllowCertificate = 1,
NoCertificate = 0,
AllowCertificate = 1,
RequireCertificate = 2,
}
public partial class HttpsConnectionAdapterOptions

View File

@ -6,8 +6,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal
public enum FileHandleType
{
Auto = 0,
Pipe = 2,
Tcp = 1,
Pipe = 2,
}
public partial interface IApplicationTransportFeature
{
@ -49,15 +49,15 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal
}
public enum ListenType
{
FileHandle = 2,
IPEndPoint = 0,
SocketPath = 1,
FileHandle = 2,
}
public enum SchedulingMode
{
Default = 0,
Inline = 2,
ThreadPool = 1,
Inline = 2,
}
public abstract partial class TransportConnection : Microsoft.AspNetCore.Connections.ConnectionContext, Microsoft.AspNetCore.Connections.Features.IConnectionHeartbeatFeature, Microsoft.AspNetCore.Connections.Features.IConnectionIdFeature, Microsoft.AspNetCore.Connections.Features.IConnectionItemsFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeFeature, Microsoft.AspNetCore.Connections.Features.IConnectionLifetimeNotificationFeature, Microsoft.AspNetCore.Connections.Features.IConnectionTransportFeature, Microsoft.AspNetCore.Connections.Features.IMemoryPoolFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.IApplicationTransportFeature, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportSchedulerFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Type, object>>, System.Collections.IEnumerable
{

View File

@ -150,8 +150,8 @@ namespace Microsoft.AspNetCore.SignalR.Client
}
public enum HubConnectionState
{
Connected = 1,
Disconnected = 0,
Connected = 1,
}
public partial interface IConnectionFactory
{

View File

@ -138,8 +138,8 @@ namespace Microsoft.AspNetCore.SignalR.Client
}
public enum HubConnectionState
{
Connected = 1,
Disconnected = 0,
Connected = 1,
}
public partial interface IConnectionFactory
{

View File

@ -16,10 +16,10 @@ namespace Microsoft.AspNetCore.Http.Connections
[System.FlagsAttribute]
public enum HttpTransportType
{
LongPolling = 4,
None = 0,
ServerSentEvents = 2,
WebSockets = 1,
ServerSentEvents = 2,
LongPolling = 4,
}
public static partial class NegotiateProtocol
{

View File

@ -16,10 +16,10 @@ namespace Microsoft.AspNetCore.Http.Connections
[System.FlagsAttribute]
public enum HttpTransportType
{
LongPolling = 4,
None = 0,
ServerSentEvents = 2,
WebSockets = 1,
ServerSentEvents = 2,
LongPolling = 4,
}
public static partial class NegotiateProtocol
{

View File

@ -134,9 +134,9 @@ namespace Microsoft.AspNetCore.Http.Connections.Internal
}
public enum HttpConnectionStatus
{
Inactive = 0,
Active = 1,
Disposed = 2,
Inactive = 0,
}
public static partial class ServerSentEventsMessageFormatter
{