Add missing dummy types to reference assemblies (dotnet/corefx#41147)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 17 Sep 2019 05:10:48 +0000 (22:10 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 05:10:48 +0000 (22:10 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/4aea703673e942756c02b222e6b5babaf8612a25

19 files changed:
src/libraries/System.Collections.Immutable/ref/System.Collections.Immutable.cs
src/libraries/System.Collections/ref/System.Collections.cs
src/libraries/System.ComponentModel.TypeConverter/ref/System.ComponentModel.TypeConverter.cs
src/libraries/System.Data.Common/ref/System.Data.Common.cs
src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSourceActivity.cs
src/libraries/System.Memory/ref/System.Memory.cs
src/libraries/System.Net.Security/ref/System.Net.Security.cs
src/libraries/System.Net.Sockets/ref/System.Net.Sockets.cs
src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.cs
src/libraries/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Security.Cryptography.Algorithms/ref/System.Security.Cryptography.Algorithms.cs
src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.cs
src/libraries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs
src/libraries/System.ServiceModel.Syndication/ref/System.ServiceModel.Syndication.netcoreapp.cs
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Threading.Tasks/ref/System.Threading.Tasks.cs
src/libraries/System.Threading/ref/System.Threading.cs
src/libraries/System.Xml.XmlSerializer/ref/System.Xml.XmlSerializer.cs

index 1c80731..0fd48ec 100644 (file)
@@ -98,6 +98,7 @@ namespace System.Collections.Immutable
     {
         private T[] array;
         private object _dummy;
+        private int _dummyPrimitive;
         public static readonly System.Collections.Immutable.ImmutableArray<T> Empty;
         public bool IsDefault { get { throw null; } }
         public bool IsDefaultOrEmpty { get { throw null; } }
@@ -739,6 +740,7 @@ namespace System.Collections.Immutable
         public partial struct Enumerator
         {
             private object _dummy;
+            private int _dummyPrimitive;
             public T Current { get { throw null; } }
             public bool MoveNext() { throw null; }
         }
@@ -1047,6 +1049,7 @@ namespace System.Collections.Immutable
         public partial struct Enumerator
         {
             private object _dummy;
+            private int _dummyPrimitive;
             public T Current { get { throw null; } }
             public bool MoveNext() { throw null; }
         }
index 25b8c47..85f581f 100644 (file)
@@ -489,6 +489,7 @@ namespace System.Collections.Generic
             public partial struct Enumerator : System.Collections.Generic.IEnumerator<TKey>, System.Collections.IEnumerator, System.IDisposable
             {
                 private object _dummy;
+                private int _dummyPrimitive;
                 public TKey Current { get { throw null; } }
                 object? System.Collections.IEnumerator.Current { get { throw null; } }
                 public void Dispose() { }
@@ -515,6 +516,7 @@ namespace System.Collections.Generic
             public partial struct Enumerator : System.Collections.Generic.IEnumerator<TValue>, System.Collections.IEnumerator, System.IDisposable
             {
                 private object _dummy;
+                private int _dummyPrimitive;
                 public TValue Current { get { throw null; } }
                 object? System.Collections.IEnumerator.Current { get { throw null; } }
                 public void Dispose() { }
index f24bbef..c701d3f 100644 (file)
@@ -556,7 +556,7 @@ namespace System.ComponentModel
         void CancelNew(int itemIndex);
         void EndNew(int itemIndex);
     }
-    [System.ObsoleteAttribute("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+    [System.ObsoleteAttribute("This interface has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead. https://go.microsoft.com/fwlink/?linkid=14202")]
     public partial interface IComNativeDescriptorHandler
     {
         System.ComponentModel.AttributeCollection GetAttributes(object component);
@@ -979,7 +979,7 @@ namespace System.ComponentModel
         protected static System.Reflection.MethodInfo FindMethod(System.Type componentClass, string name, System.Type[] args, System.Type returnType, bool publicOnly) { throw null; }
         public override int GetHashCode() { throw null; }
         protected virtual object GetInvocationTarget(System.Type type, object instance) { throw null; }
-        [System.ObsoleteAttribute("This method has been deprecated. Use GetInvocationTarget instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         protected static object GetInvokee(System.Type componentClass, object component) { throw null; }
         protected static System.ComponentModel.ISite GetSite(object component) { throw null; }
     }
@@ -1348,7 +1348,7 @@ namespace System.ComponentModel
     public sealed partial class TypeDescriptor
     {
         internal TypeDescriptor() { }
-        [System.ObsoleteAttribute("This property has been deprecated.  Use a type description provider to supply type information for COM types instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This property has been deprecated. Use a type description provider to supply type information for COM types instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         public static System.ComponentModel.IComNativeDescriptorHandler ComNativeDescriptorHandler { get { throw null; } set { } }
         public static System.Type ComObjectType { get { throw null; } }
         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
@@ -1906,14 +1906,14 @@ namespace System.ComponentModel.Design
     public enum SelectionTypes
     {
         Auto = 1,
-        [System.ObsoleteAttribute("This value has been deprecated. Use SelectionTypes.Auto instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. Use SelectionTypes.Auto instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         Normal = 1,
         Replace = 2,
-        [System.ObsoleteAttribute("This value has been deprecated.  It is no longer supported. https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. It is no longer supported. https://go.microsoft.com/fwlink/?linkid=14202")]
         MouseDown = 4,
-        [System.ObsoleteAttribute("This value has been deprecated.  It is no longer supported. https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. It is no longer supported. https://go.microsoft.com/fwlink/?linkid=14202")]
         MouseUp = 8,
-        [System.ObsoleteAttribute("This value has been deprecated. Use SelectionTypes.Primary instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. Use SelectionTypes.Primary instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         Click = 16,
         Primary = 16,
         [System.ObsoleteAttribute("This value has been deprecated. Use Enum class methods to determine valid values, or use a type converter. https://go.microsoft.com/fwlink/?linkid=14202")]
@@ -2017,9 +2017,9 @@ namespace System.ComponentModel.Design
     }
     public enum ViewTechnology
     {
-        [System.ObsoleteAttribute("This value has been deprecated. Use ViewTechnology.Default instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. Use ViewTechnology.Default instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         Passthrough = 0,
-        [System.ObsoleteAttribute("This value has been deprecated. Use ViewTechnology.Default instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
+        [System.ObsoleteAttribute("This value has been deprecated. Use ViewTechnology.Default instead. https://go.microsoft.com/fwlink/?linkid=14202")]
         WindowsForms = 1,
         Default = 2,
     }
@@ -2136,6 +2136,7 @@ namespace System.ComponentModel.Design.Serialization
     public readonly partial struct MemberRelationship
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public static readonly System.ComponentModel.Design.Serialization.MemberRelationship Empty;
         public MemberRelationship(object owner, System.ComponentModel.MemberDescriptor member) { throw null; }
         public bool IsEmpty { get { throw null; } }
@@ -2163,7 +2164,7 @@ namespace System.ComponentModel.Design.Serialization
     }
     public delegate void ResolveNameEventHandler(object sender, System.ComponentModel.Design.Serialization.ResolveNameEventArgs e);
     [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
-    [System.ObsoleteAttribute("This attribute has been deprecated. Use DesignerSerializerAttribute instead.  For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)).  https://go.microsoft.com/fwlink/?linkid=14202")]
+    [System.ObsoleteAttribute("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). https://go.microsoft.com/fwlink/?linkid=14202")]
     public sealed partial class RootDesignerSerializerAttribute : System.Attribute
     {
         public RootDesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName, bool reloadable) { }
index 277229a..ac01590 100644 (file)
@@ -2472,6 +2472,7 @@ namespace System.Data.SqlTypes
     public partial struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public static readonly System.Data.SqlTypes.SqlBinary Null;
         public SqlBinary(byte[] value) { throw null; }
         public bool IsNull { get { throw null; } }
@@ -2921,6 +2922,7 @@ namespace System.Data.SqlTypes
     public partial struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public static readonly System.Data.SqlTypes.SqlGuid Null;
         public SqlGuid(byte[] value) { throw null; }
         public SqlGuid(System.Guid g) { throw null; }
index 4c10214..8dadb9e 100644 (file)
@@ -68,6 +68,7 @@ namespace System.Diagnostics
     public readonly partial struct ActivitySpanId : System.IEquatable<System.Diagnostics.ActivitySpanId>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public void CopyTo(System.Span<byte> destination) { }
         public static System.Diagnostics.ActivitySpanId CreateFromBytes(System.ReadOnlySpan<byte> idData) { throw null; }
         public static System.Diagnostics.ActivitySpanId CreateFromString(System.ReadOnlySpan<char> idData) { throw null; }
@@ -93,6 +94,7 @@ namespace System.Diagnostics
     public readonly partial struct ActivityTraceId : System.IEquatable<System.Diagnostics.ActivityTraceId>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public void CopyTo(System.Span<byte> destination) { }
         public static System.Diagnostics.ActivityTraceId CreateFromBytes(System.ReadOnlySpan<byte> idData) { throw null; }
         public static System.Diagnostics.ActivityTraceId CreateFromString(System.ReadOnlySpan<char> idData) { throw null; }
index 79428ee..fe0af37 100644 (file)
@@ -647,6 +647,7 @@ namespace System.Text
 {
     public ref partial struct SpanRuneEnumerator
     {
+        private object _dummy;
         private int _dummyPrimitive;
         public System.Text.Rune Current { get { throw null; } }
         public System.Text.SpanRuneEnumerator GetEnumerator() { throw null; }
index 08dcb70..d7d464e 100644 (file)
@@ -106,6 +106,7 @@ namespace System.Net.Security
     public readonly partial struct SslApplicationProtocol : System.IEquatable<System.Net.Security.SslApplicationProtocol>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public static readonly System.Net.Security.SslApplicationProtocol Http11;
         public static readonly System.Net.Security.SslApplicationProtocol Http2;
         public SslApplicationProtocol(byte[] protocol) { throw null; }
index e5eb3c6..0401742 100644 (file)
@@ -653,6 +653,7 @@ namespace System.Net.Sockets
     public partial struct UdpReceiveResult : System.IEquatable<System.Net.Sockets.UdpReceiveResult>
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public UdpReceiveResult(byte[] buffer, System.Net.IPEndPoint remoteEndPoint) { throw null; }
         public byte[] Buffer { get { throw null; } }
         public System.Net.IPEndPoint RemoteEndPoint { get { throw null; } }
index 33bc12a..d82c0fe 100644 (file)
@@ -94,6 +94,7 @@ namespace System.Reflection.Metadata
     public readonly partial struct AssemblyDefinition
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Reflection.Metadata.StringHandle Culture { get { throw null; } }
         public System.Reflection.AssemblyFlags Flags { get { throw null; } }
         public System.Reflection.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } }
@@ -192,6 +193,7 @@ namespace System.Reflection.Metadata
     public readonly partial struct AssemblyReferenceHandleCollection : System.Collections.Generic.IEnumerable<System.Reflection.Metadata.AssemblyReferenceHandle>, System.Collections.Generic.IReadOnlyCollection<System.Reflection.Metadata.AssemblyReferenceHandle>, System.Collections.IEnumerable
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public int Count { get { throw null; } }
         public System.Reflection.Metadata.AssemblyReferenceHandleCollection.Enumerator GetEnumerator() { throw null; }
         System.Collections.Generic.IEnumerator<System.Reflection.Metadata.AssemblyReferenceHandle> System.Collections.Generic.IEnumerable<System.Reflection.Metadata.AssemblyReferenceHandle>.GetEnumerator() { throw null; }
@@ -276,6 +278,7 @@ namespace System.Reflection.Metadata
         public partial struct Blobs : System.Collections.Generic.IEnumerable<System.Reflection.Metadata.Blob>, System.Collections.Generic.IEnumerator<System.Reflection.Metadata.Blob>, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable
         {
             private object _dummy;
+            private int _dummyPrimitive;
             public System.Reflection.Metadata.Blob Current { get { throw null; } }
             object System.Collections.IEnumerator.Current { get { throw null; } }
             public System.Reflection.Metadata.BlobBuilder.Blobs GetEnumerator() { throw null; }
@@ -525,6 +528,7 @@ namespace System.Reflection.Metadata
     public readonly partial struct CustomAttributeValue<TType>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeValue(System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeTypedArgument<TType>> fixedArguments, System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeNamedArgument<TType>> namedArguments) { throw null; }
         public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeTypedArgument<TType>> FixedArguments { get { throw null; } }
         public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeNamedArgument<TType>> NamedArguments { get { throw null; } }
@@ -1745,6 +1749,7 @@ namespace System.Reflection.Metadata
     public readonly partial struct MetadataStringComparer
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value) { throw null; }
         public bool Equals(System.Reflection.Metadata.DocumentNameBlobHandle handle, string value, bool ignoreCase) { throw null; }
         public bool Equals(System.Reflection.Metadata.NamespaceDefinitionHandle handle, string value) { throw null; }
@@ -1954,6 +1959,7 @@ namespace System.Reflection.Metadata
     public readonly partial struct ModuleDefinition
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Reflection.Metadata.GuidHandle BaseGenerationId { get { throw null; } }
         public int Generation { get { throw null; } }
         public System.Reflection.Metadata.GuidHandle GenerationId { get { throw null; } }
@@ -1999,6 +2005,7 @@ namespace System.Reflection.Metadata
     public partial struct NamespaceDefinition
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.ExportedTypeHandle> ExportedTypes { get { throw null; } }
         public System.Reflection.Metadata.StringHandle Name { get { throw null; } }
         public System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.NamespaceDefinitionHandle> NamespaceDefinitions { get { throw null; } }
@@ -2488,6 +2495,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct ArrayShapeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public ArrayShapeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Shape(int rank, System.Collections.Immutable.ImmutableArray<int> sizes, System.Collections.Immutable.ImmutableArray<int> lowerBounds) { }
@@ -2495,6 +2503,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct BlobEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public BlobEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void CustomAttributeSignature(System.Action<System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder> fixedArguments, System.Action<System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder> namedArguments) { }
@@ -2537,6 +2546,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct CustomAttributeArrayTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeArrayTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder ElementType() { throw null; }
@@ -2545,6 +2555,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct CustomAttributeElementTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeElementTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Boolean() { }
@@ -2567,6 +2578,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct CustomAttributeNamedArgumentsEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeNamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder Count(int count) { throw null; }
@@ -2574,6 +2586,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct CustomModifiersEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomModifiersEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder AddModifier(System.Reflection.Metadata.EntityHandle type, bool isOptional) { throw null; }
@@ -2618,6 +2631,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct FixedArgumentsEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public FixedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.LiteralEncoder AddArgument() { throw null; }
@@ -2631,6 +2645,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct GenericTypeArgumentsEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public GenericTypeArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.SignatureTypeEncoder AddArgument() { throw null; }
@@ -2645,6 +2660,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct InstructionEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public InstructionEncoder(System.Reflection.Metadata.BlobBuilder codeBuilder, System.Reflection.Metadata.Ecma335.ControlFlowBuilder controlFlowBuilder = null) { throw null; }
         public System.Reflection.Metadata.BlobBuilder CodeBuilder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.ControlFlowBuilder ControlFlowBuilder { get { throw null; } }
@@ -2686,6 +2702,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct LiteralEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public LiteralEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.ScalarEncoder Scalar() { throw null; }
@@ -2698,6 +2715,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct LiteralsEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public LiteralsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.LiteralEncoder AddLiteral() { throw null; }
@@ -2705,6 +2723,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct LocalVariablesEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public LocalVariablesEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.LocalVariableTypeEncoder AddVariable() { throw null; }
@@ -2712,6 +2731,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct LocalVariableTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public LocalVariableTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; }
@@ -2887,6 +2907,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct MethodBodyStreamEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public MethodBodyStreamEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.MethodBody AddMethodBody(int codeSize, int maxStack, int exceptionRegionCount, bool hasSmallExceptionRegions, System.Reflection.Metadata.StandaloneSignatureHandle localVariablesSignature, System.Reflection.Metadata.Ecma335.MethodBodyAttributes attributes) { throw null; }
@@ -2915,6 +2936,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct NamedArgumentsEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public NamedArgumentsEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void AddArgument(bool isField, System.Action<System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder> type, System.Action<System.Reflection.Metadata.Ecma335.NameEncoder> name, System.Action<System.Reflection.Metadata.Ecma335.LiteralEncoder> literal) { }
@@ -2923,6 +2945,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct NamedArgumentTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public NamedArgumentTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Object() { }
@@ -2932,6 +2955,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct NameEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public NameEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Name(string name) { }
@@ -2949,6 +2973,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct ParameterTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public ParameterTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; }
@@ -2958,6 +2983,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct PermissionSetEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public PermissionSetEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.PermissionSetEncoder AddPermission(string typeName, System.Collections.Immutable.ImmutableArray<byte> encodedArguments) { throw null; }
@@ -2974,6 +3000,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct ReturnTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public ReturnTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder CustomModifiers() { throw null; }
@@ -2984,6 +3011,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct ScalarEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public ScalarEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Constant(object value) { }
@@ -3005,6 +3033,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct SignatureTypeEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public SignatureTypeEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public void Array(System.Action<System.Reflection.Metadata.Ecma335.SignatureTypeEncoder> elementType, System.Action<System.Reflection.Metadata.Ecma335.ArrayShapeEncoder> arrayShape) { }
@@ -3095,6 +3124,7 @@ namespace System.Reflection.Metadata.Ecma335
     public readonly partial struct VectorEncoder
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public VectorEncoder(System.Reflection.Metadata.BlobBuilder builder) { throw null; }
         public System.Reflection.Metadata.BlobBuilder Builder { get { throw null; } }
         public System.Reflection.Metadata.Ecma335.LiteralsEncoder Count(int count) { throw null; }
@@ -3261,6 +3291,7 @@ namespace System.Reflection.PortableExecutable
     public readonly partial struct PdbChecksumDebugDirectoryData
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public string AlgorithmName { get { throw null; } }
         public System.Collections.Immutable.ImmutableArray<byte> Checksum { get { throw null; } }
     }
index 2484c23..4f775a0 100644 (file)
@@ -17,6 +17,7 @@ namespace System.Runtime.InteropServices
     public readonly partial struct OSPlatform : System.IEquatable<System.Runtime.InteropServices.OSPlatform>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public static System.Runtime.InteropServices.OSPlatform FreeBSD { get { throw null; } }
         public static System.Runtime.InteropServices.OSPlatform Linux { get { throw null; } }
         public static System.Runtime.InteropServices.OSPlatform OSX { get { throw null; } }
index 492206e..4709094 100644 (file)
@@ -1814,6 +1814,7 @@ namespace System
     public partial struct ModuleHandle
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public static readonly System.ModuleHandle EmptyHandle;
         public int MDStreamVersion { get { throw null; } }
         public bool Equals(System.ModuleHandle handle) { throw null; }
@@ -2085,6 +2086,7 @@ namespace System
     public partial struct RuntimeFieldHandle : System.Runtime.Serialization.ISerializable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.IntPtr Value { get { throw null; } }
         public override bool Equals(object? obj) { throw null; }
         public bool Equals(System.RuntimeFieldHandle handle) { throw null; }
@@ -2096,6 +2098,7 @@ namespace System
     public partial struct RuntimeMethodHandle : System.Runtime.Serialization.ISerializable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.IntPtr Value { get { throw null; } }
         public override bool Equals(object? obj) { throw null; }
         public bool Equals(System.RuntimeMethodHandle handle) { throw null; }
@@ -2108,6 +2111,7 @@ namespace System
     public partial struct RuntimeTypeHandle : System.Runtime.Serialization.ISerializable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.IntPtr Value { get { throw null; } }
         public override bool Equals(object? obj) { throw null; }
         public bool Equals(System.RuntimeTypeHandle handle) { throw null; }
@@ -3851,6 +3855,7 @@ namespace System.Collections
     public partial struct DictionaryEntry
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public DictionaryEntry(object key, object? value) { throw null; }
         public object Key { get { throw null; } set { } }
         public object? Value { get { throw null; } set { } }
@@ -5711,6 +5716,7 @@ namespace System.Reflection
     public readonly partial struct CustomAttributeNamedArgument
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object? value) { throw null; }
         public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument) { throw null; }
         public bool IsField { get { throw null; } }
@@ -5726,6 +5732,7 @@ namespace System.Reflection
     public readonly partial struct CustomAttributeTypedArgument
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CustomAttributeTypedArgument(object value) { throw null; }
         public CustomAttributeTypedArgument(System.Type argumentType, object? value) { throw null; }
         public System.Type ArgumentType { get { throw null; } }
@@ -6213,6 +6220,7 @@ namespace System.Reflection
     public readonly partial struct ParameterModifier
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public ParameterModifier(int parameterCount) { throw null; }
         public bool this[int index] { get { throw null; } set { } }
     }
@@ -6634,6 +6642,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ConfiguredTaskAwaitable
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter GetAwaiter() { throw null; }
         public readonly partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
         {
@@ -6648,6 +6657,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ConfiguredTaskAwaitable<TResult>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Runtime.CompilerServices.ConfiguredTaskAwaitable<TResult>.ConfiguredTaskAwaiter GetAwaiter() { throw null; }
         public readonly partial struct ConfiguredTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
         {
@@ -6662,10 +6672,12 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ConfiguredValueTaskAwaitable
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; }
         public readonly partial struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
         {
             private readonly object _dummy;
+            private readonly int _dummyPrimitive;
             public bool IsCompleted { get { throw null; } }
             public void GetResult() { }
             public void OnCompleted(System.Action continuation) { }
@@ -6675,10 +6687,12 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ConfiguredValueTaskAwaitable<TResult>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter GetAwaiter() { throw null; }
         public readonly partial struct ConfiguredValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
         {
             private readonly object _dummy;
+            private readonly int _dummyPrimitive;
             public bool IsCompleted { get { throw null; } }
             public TResult GetResult() { throw null; }
             public void OnCompleted(System.Action continuation) { }
@@ -6931,6 +6945,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public bool IsCompleted { get { throw null; } }
         public void GetResult() { }
         public void OnCompleted(System.Action continuation) { }
@@ -6939,6 +6954,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct TaskAwaiter<TResult> : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public bool IsCompleted { get { throw null; } }
         public TResult GetResult() { throw null; }
         public void OnCompleted(System.Action continuation) { }
@@ -6971,6 +6987,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ValueTaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public bool IsCompleted { get { throw null; } }
         public void GetResult() { }
         public void OnCompleted(System.Action continuation) { }
@@ -6979,6 +6996,7 @@ namespace System.Runtime.CompilerServices
     public readonly partial struct ValueTaskAwaiter<TResult> : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public bool IsCompleted { get { throw null; } }
         public TResult GetResult() { throw null; }
         public void OnCompleted(System.Action continuation) { }
@@ -7248,6 +7266,7 @@ namespace System.Runtime.Serialization
     public readonly partial struct SerializationEntry
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public string Name { get { throw null; } }
         public System.Type ObjectType { get { throw null; } }
         public object? Value { get { throw null; } }
@@ -7904,6 +7923,7 @@ namespace System.Text
         public partial struct ChunkEnumerator
         {
             private object _dummy;
+            private int _dummyPrimitive;
             public System.ReadOnlyMemory<char> Current { get { throw null; } }
             [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
             public System.Text.StringBuilder.ChunkEnumerator GetEnumerator() { throw null; }
@@ -7937,6 +7957,7 @@ namespace System.Threading
     public readonly partial struct CancellationToken
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public CancellationToken(bool canceled) { throw null; }
         public bool CanBeCanceled { get { throw null; } }
         public bool IsCancellationRequested { get { throw null; } }
index 7c8a86f..06fec22 100644 (file)
@@ -183,6 +183,7 @@ namespace System.Security.Cryptography
     public partial struct ECCurve
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public byte[] A;
         public byte[] B;
         public byte[] Cofactor;
index 85b2e39..06ced47 100644 (file)
@@ -326,6 +326,7 @@ namespace System.Security.Cryptography.Xml
     public partial struct X509IssuerSerial
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public string IssuerName { get { throw null; } set { } }
         public string SerialNumber { get { throw null; } set { } }
     }
index 222d6f3..31ab6da 100644 (file)
@@ -125,6 +125,7 @@ namespace System.Security.Cryptography
     public readonly partial struct HashAlgorithmName : System.IEquatable<System.Security.Cryptography.HashAlgorithmName>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public HashAlgorithmName(string name) { throw null; }
         public static System.Security.Cryptography.HashAlgorithmName MD5 { get { throw null; } }
         public string Name { get { throw null; } }
index 7253aea..80bbaf2 100644 (file)
@@ -33,6 +33,7 @@ namespace System.ServiceModel.Syndication
     public partial struct XmlDateTimeData
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public XmlDateTimeData(string dateTimeString, System.Xml.XmlQualifiedName elementQualifiedName) { throw null; }
         public string DateTimeString { get { throw null; } }
         public System.Xml.XmlQualifiedName ElementQualifiedName { get { throw null; } }
index 0731f94..cfd9ef9 100644 (file)
@@ -56,6 +56,7 @@ namespace System.Text.Json
     public partial struct JsonArrayEnumerator : System.Collections.Generic.IEnumerator<System.Text.Json.JsonNode>, System.Collections.IEnumerator, System.IDisposable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public JsonArrayEnumerator(System.Text.Json.JsonArray jsonArray) { throw null; }
         public System.Text.Json.JsonNode Current { get { throw null; } }
         object System.Collections.IEnumerator.Current { get { throw null; } }
@@ -198,6 +199,7 @@ namespace System.Text.Json
     public readonly partial struct JsonEncodedText : System.IEquatable<System.Text.Json.JsonEncodedText>
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public System.ReadOnlySpan<byte> EncodedUtf8Bytes { get { throw null; } }
         public static System.Text.Json.JsonEncodedText Encode(System.ReadOnlySpan<byte> utf8Value, System.Text.Encodings.Web.JavaScriptEncoder encoder = null) { throw null; }
         public static System.Text.Json.JsonEncodedText Encode(System.ReadOnlySpan<char> value, System.Text.Encodings.Web.JavaScriptEncoder encoder = null) { throw null; }
@@ -381,6 +383,7 @@ namespace System.Text.Json
     public partial struct JsonObjectEnumerator : System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Text.Json.JsonNode>>, System.Collections.IEnumerator, System.IDisposable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public JsonObjectEnumerator(System.Text.Json.JsonObject jsonObject) { throw null; }
         public System.Collections.Generic.KeyValuePair<string, System.Text.Json.JsonNode> Current { get { throw null; } }
         object System.Collections.IEnumerator.Current { get { throw null; } }
@@ -391,6 +394,7 @@ namespace System.Text.Json
     public readonly partial struct JsonProperty
     {
         private readonly object _dummy;
+        private readonly int _dummyPrimitive;
         public string Name { get { throw null; } }
         public System.Text.Json.JsonElement Value { get { throw null; } }
         public bool NameEquals(System.ReadOnlySpan<byte> utf8Text) { throw null; }
index 5834278..4171ed4 100644 (file)
@@ -24,6 +24,7 @@ namespace System.Runtime.CompilerServices
     public partial struct AsyncIteratorMethodBuilder
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public void Complete() { }
@@ -33,6 +34,7 @@ namespace System.Runtime.CompilerServices
     public partial struct AsyncTaskMethodBuilder
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.Threading.Tasks.Task Task { get { throw null; } }
         public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
@@ -45,6 +47,7 @@ namespace System.Runtime.CompilerServices
     public partial struct AsyncTaskMethodBuilder<TResult>
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.Threading.Tasks.Task<TResult> Task { get { throw null; } }
         public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
@@ -57,6 +60,7 @@ namespace System.Runtime.CompilerServices
     public partial struct AsyncVoidMethodBuilder
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
         public static System.Runtime.CompilerServices.AsyncVoidMethodBuilder Create() { throw null; }
index ecac7c3..ea9aeb5 100644 (file)
@@ -22,6 +22,7 @@ namespace System.Threading
     public partial struct AsyncFlowControl : System.IDisposable
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public void Dispose() { }
         public override bool Equals(object? obj) { throw null; }
         public bool Equals(System.Threading.AsyncFlowControl obj) { throw null; }
index 2337cd6..ac5e792 100644 (file)
@@ -245,6 +245,7 @@ namespace System.Xml.Serialization
     public partial struct XmlDeserializationEvents
     {
         private object _dummy;
+        private int _dummyPrimitive;
         public System.Xml.Serialization.XmlAttributeEventHandler OnUnknownAttribute { get { throw null; } set { } }
         public System.Xml.Serialization.XmlElementEventHandler OnUnknownElement { get { throw null; } set { } }
         public System.Xml.Serialization.XmlNodeEventHandler OnUnknownNode { get { throw null; } set { } }