Add missing `_dummy` and `_dummyPrimitive` fields

- probably need to double-check for similar gaps in 'release/3.0' branch
This commit is contained in:
Doug Bunting 2019-12-13 12:13:15 -08:00
parent 7256b353b3
commit 3a67489398
No known key found for this signature in database
GPG Key ID: EE41520987982C03
6 changed files with 18 additions and 1 deletions

View File

@ -83,6 +83,7 @@ namespace Microsoft.AspNetCore.Components
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct CascadingParameterState
{
private readonly object _dummy;
public CascadingParameterState(string localValueName, Microsoft.AspNetCore.Components.ICascadingValueComponent valueSupplier) { throw null; }
public string LocalValueName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public Microsoft.AspNetCore.Components.ICascadingValueComponent ValueSupplier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }

View File

@ -20,6 +20,8 @@ namespace Microsoft.AspNetCore.Components
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal partial struct ServerComponent
{
private object _dummy;
private int _dummyPrimitive;
public ServerComponent(int sequence, string assemblyName, string typeName, System.Collections.Generic.IList<Microsoft.AspNetCore.Components.ComponentParameter> parametersDefinitions, System.Collections.Generic.IList<object> parameterValues, System.Guid invocationId) { throw null; }
public string AssemblyName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
public System.Guid InvocationId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
@ -43,6 +45,8 @@ namespace Microsoft.AspNetCore.Components
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal partial struct ServerComponentMarker
{
private object _dummy;
private int _dummyPrimitive;
public string Descriptor { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
public string PrerenderId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
public int? Sequence { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
@ -173,6 +177,8 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct UnacknowledgedRenderBatch
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public UnacknowledgedRenderBatch(long batchId, Microsoft.AspNetCore.Components.Server.Circuits.ArrayBuilder<byte> data, System.Threading.Tasks.TaskCompletionSource<object> completionSource, Microsoft.Extensions.Internal.ValueStopwatch valueStopwatch) { throw null; }
public long BatchId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public System.Threading.Tasks.TaskCompletionSource<object> CompletionSource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
@ -239,6 +245,7 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct CircuitId : System.IEquatable<Microsoft.AspNetCore.Components.Server.Circuits.CircuitId>
{
private readonly object _dummy;
public CircuitId(string secret, string id) { throw null; }
public string Id { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public string Secret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
@ -313,8 +320,9 @@ namespace Microsoft.Extensions.Internal
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal partial struct ValueStopwatch
{
private int _dummyPrimitive;
public bool IsActive { get { throw null; } }
public System.TimeSpan GetElapsedTime() { throw null; }
public static Microsoft.Extensions.Internal.ValueStopwatch StartNew() { throw null; }
}
}
}

View File

@ -367,6 +367,7 @@ namespace Microsoft.AspNetCore.Routing
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct MatcherState
{
private readonly object _dummy;
public readonly Microsoft.AspNetCore.Routing.RoutePatternMatcher Matcher;
public readonly System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<IRouteConstraint>> Constraints;
public MatcherState(Microsoft.AspNetCore.Routing.RoutePatternMatcher matcher, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<Microsoft.AspNetCore.Routing.IRouteConstraint>> constraints) { throw null; }

View File

@ -264,6 +264,8 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters
}
internal readonly partial struct LifecycleProperty
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public LifecycleProperty(System.Reflection.PropertyInfo propertyInfo, string key) { throw null; }
public string Key { get { throw null; } }
public System.Reflection.PropertyInfo PropertyInfo { get { throw null; } }
@ -363,6 +365,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct MemberExpressionCacheKey
{
private readonly object _dummy;
public MemberExpressionCacheKey(System.Type modelType, System.Linq.Expressions.MemberExpression memberExpression) { throw null; }
public MemberExpressionCacheKey(System.Type modelType, System.Reflection.MemberInfo[] members) { throw null; }
public System.Linq.Expressions.MemberExpression MemberExpression { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
@ -590,6 +593,8 @@ namespace Microsoft.AspNetCore.Components.Rendering
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct ComponentRenderedText
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public ComponentRenderedText(int componentId, System.Collections.Generic.IEnumerable<string> tokens) { throw null; }
public int ComponentId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
public System.Collections.Generic.IEnumerable<string> Tokens { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }

View File

@ -97,6 +97,7 @@ namespace Microsoft.AspNetCore.HttpSys.Internal
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
internal readonly partial struct CookedUrl
{
private readonly int _dummyPrimitive;
internal CookedUrl(Microsoft.AspNetCore.HttpSys.Internal.HttpApiTypes.HTTP_COOKED_URL nativeCookedUrl) { throw null; }
internal string GetAbsPath() { throw null; }
internal string GetFullUrl() { throw null; }

View File

@ -1552,6 +1552,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.HPack
internal readonly partial struct HeaderField
{
public const int RfcOverhead = 32;
private readonly object _dummy;
public HeaderField(System.Span<byte> name, System.Span<byte> value) { throw null; }
public int Length { get { throw null; } }
public byte[] Name { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }