Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Commit 2af01b3

Browse files
henricmakoeplinger
authored andcommitted
Updating reference assemblies with private struct fields
Updating 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.2 reference assemblies, created with new GenAPI, to now include private struct fields as described in mono/mono#7859.
1 parent 9325826 commit 2af01b3

File tree

371 files changed

+2007
-15
lines changed

Some content is hidden

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

371 files changed

+2007
-15
lines changed

generate-refasm-sources.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ for i in *.dll Facades/*.dll; do
1818
if [[ "$i" = "Facades"* ]]; then outpath="$outpath/Facades"; fi
1919

2020
echo "Processing $i"
21-
mono "$REPODIR/../api-snapshot/tools/genapi/GenAPI.exe" -assembly:"$i" -out:"$outpath" -typeforwardedTo -assemblyVersion -assemblyAttributes -headerFile:"$REPODIR/../api-snapshot/profiles/license-header.txt" -libPath:"$NETFXSOURCE"
21+
mono "$REPODIR/../api-snapshot/tools/genapi/Microsoft.DotNet.GenAPI.exe" -assembly:"$i" -out:"$outpath" -typeforwardedTo -assemblyVersion -assemblyAttributes -headerFile:"$REPODIR/../api-snapshot/profiles/license-header.txt" -libPath:"$NETFXSOURCE"
2222
done
2323

2424
cd "$REPODIR/src/$NETFXPROFILE"

src/v4.5.1/Microsoft.Build.Framework.cs

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ namespace Microsoft.Build.Framework
2626
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2727
public partial struct BuildEngineResult
2828
{
29+
private object _dummy;
30+
private int _dummyPrimitive;
2931
public BuildEngineResult(bool result, System.Collections.Generic.List<System.Collections.Generic.IDictionary<string, Microsoft.Build.Framework.ITaskItem[]>> targetOutputsPerProject) { throw null;}
3032
public bool Result { get { throw null; } }
3133
public System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string, Microsoft.Build.Framework.ITaskItem[]>> TargetOutputsPerProject { get { throw null; } }

src/v4.5.1/Microsoft.Build.Tasks.v4.0.cs

+2
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ protected override void LogToolCommand(string message) { }
354354
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
355355
public partial struct ExtractedClassName
356356
{
357+
private object _dummy;
358+
private int _dummyPrimitive;
357359
public bool IsInsideConditionalBlock { get { throw null; } set { } }
358360
public string Name { get { throw null; } set { } }
359361
}

src/v4.5.1/Microsoft.Build.cs

+2
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ internal ProjectXmlChangedEventArgs() { }
677677
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
678678
public partial struct ResolvedImport
679679
{
680+
private object _dummy;
681+
private int _dummyPrimitive;
680682
public Microsoft.Build.Construction.ProjectRootElement ImportedProject { get { throw null; } }
681683
public Microsoft.Build.Construction.ProjectImportElement ImportingElement { get { throw null; } }
682684
public bool IsImported { get { throw null; } }

src/v4.5.1/System.ComponentModel.Composition.cs

+2
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ namespace System.ComponentModel.Composition.ReflectionModel
655655
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
656656
public partial struct LazyMemberInfo
657657
{
658+
private object _dummy;
659+
private int _dummyPrimitive;
658660
public LazyMemberInfo(System.Reflection.MemberInfo member) { throw null;}
659661
public LazyMemberInfo(System.Reflection.MemberTypes memberType, System.Func<System.Reflection.MemberInfo[]> accessorsCreator) { throw null;}
660662
public LazyMemberInfo(System.Reflection.MemberTypes memberType, params System.Reflection.MemberInfo[] accessors) { throw null;}

src/v4.5.1/System.Core.cs

+6
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ public void UnionWith(System.Collections.Generic.IEnumerable<T> other) { }
178178
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
179179
public partial struct Enumerator : System.Collections.Generic.IEnumerator<T>, System.Collections.IEnumerator, System.IDisposable
180180
{
181+
private T current;
182+
private object _dummy;
183+
private int _dummyPrimitive;
181184
public T Current { get { throw null; } }
182185
object System.Collections.IEnumerator.Current { get { throw null; } }
183186
public void Dispose() { }
@@ -233,6 +236,7 @@ namespace System.Diagnostics.Eventing
233236
{
234237
public partial struct EventDescriptor
235238
{
239+
private int _dummyPrimitive;
236240
public EventDescriptor(int id, byte version, byte channel, byte level, byte opcode, int task, long keywords) { throw null;}
237241
public byte Channel { get { throw null; } }
238242
public int EventId { get { throw null; } }
@@ -3340,6 +3344,8 @@ public enum CngKeyUsages
33403344
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
33413345
public partial struct CngProperty : System.IEquatable<System.Security.Cryptography.CngProperty>
33423346
{
3347+
private object _dummy;
3348+
private int _dummyPrimitive;
33433349
public CngProperty(string name, byte[] value, System.Security.Cryptography.CngPropertyOptions options) { throw null;}
33443350
public string Name { get { throw null; } }
33453351
public System.Security.Cryptography.CngPropertyOptions Options { get { throw null; } }

src/v4.5.1/System.Data.Entity.cs

+5
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ public partial class EntityRecordInfo : System.Data.Common.DataRecordInfo
264264
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
265265
public partial struct FieldMetadata
266266
{
267+
private object _dummy;
268+
private int _dummyPrimitive;
267269
public FieldMetadata(int ordinal, System.Data.Metadata.Edm.EdmMember fieldType) { throw null;}
268270
public System.Data.Metadata.Edm.EdmMember FieldType { get { throw null; } }
269271
public int Ordinal { get { throw null; } }
@@ -3429,6 +3431,9 @@ internal ReadOnlyMetadataCollection() : base (default(System.Collections.Generic
34293431
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
34303432
public partial struct Enumerator : System.Collections.Generic.IEnumerator<T>, System.Collections.IEnumerator, System.IDisposable
34313433
{
3434+
private T _current;
3435+
private object _dummy;
3436+
private int _dummyPrimitive;
34323437
public T Current { get { throw null; } }
34333438
object System.Collections.IEnumerator.Current { get { throw null; } }
34343439
public void Dispose() { }

src/v4.5.1/System.Data.Linq.cs

+6
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ public DuplicateKeyException(object duplicate, string message, System.Exception
262262
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
263263
public partial struct EntityRef<TEntity> where TEntity : class
264264
{
265+
private TEntity entity;
266+
private object _dummy;
265267
public EntityRef(System.Collections.Generic.IEnumerable<TEntity> source) { throw null;}
266268
public EntityRef(System.Data.Linq.EntityRef<TEntity> entityRef) { throw null;}
267269
public EntityRef(TEntity entity) { throw null;}
@@ -354,6 +356,9 @@ public partial interface ITable<TEntity> : System.Collections.Generic.IEnumerabl
354356
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)]
355357
public partial struct Link<T>
356358
{
359+
private T underlyingValue;
360+
private object _dummy;
361+
private int _dummyPrimitive;
357362
[System.MonoTODOAttribute]
358363
public Link(System.Collections.Generic.IEnumerable<T> source) { throw null;}
359364
[System.MonoTODOAttribute]
@@ -390,6 +395,7 @@ public void Resolve(object value) { }
390395
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Size=1)]
391396
public partial struct ModifiedMemberInfo
392397
{
398+
private object _dummy;
393399
[System.MonoTODOAttribute]
394400
public object CurrentValue { get { throw null; } }
395401
[System.MonoTODOAttribute]

src/v4.5.1/System.Data.OracleClient.cs

+7
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public override void Write(byte[] buffer, int offset, int count) { }
9898
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
9999
public partial struct OracleBinary : System.Data.SqlTypes.INullable, System.IComparable
100100
{
101+
private object _dummy;
101102
public static readonly System.Data.OracleClient.OracleBinary Null;
102103
public OracleBinary(byte[] b) { throw null;}
103104
public bool IsNull { get { throw null; } }
@@ -136,6 +137,7 @@ public partial struct OracleBinary : System.Data.SqlTypes.INullable, System.ICom
136137
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
137138
public partial struct OracleBoolean : System.IComparable
138139
{
140+
private int _dummyPrimitive;
139141
public static readonly System.Data.OracleClient.OracleBoolean False;
140142
public static readonly System.Data.OracleClient.OracleBoolean Null;
141143
public static readonly System.Data.OracleClient.OracleBoolean One;
@@ -478,6 +480,7 @@ public override void Close() { }
478480
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
479481
public partial struct OracleDateTime : System.Data.SqlTypes.INullable, System.IComparable
480482
{
483+
private object _dummy;
481484
public static readonly System.Data.OracleClient.OracleDateTime MaxValue;
482485
public static readonly System.Data.OracleClient.OracleDateTime MinValue;
483486
public static readonly System.Data.OracleClient.OracleDateTime Null;
@@ -582,6 +585,7 @@ public enum OracleLobOpenMode
582585
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
583586
public partial struct OracleMonthSpan : System.Data.SqlTypes.INullable, System.IComparable
584587
{
588+
private int _dummyPrimitive;
585589
public static readonly System.Data.OracleClient.OracleMonthSpan MaxValue;
586590
public static readonly System.Data.OracleClient.OracleMonthSpan MinValue;
587591
public static readonly System.Data.OracleClient.OracleMonthSpan Null;
@@ -614,6 +618,7 @@ public partial struct OracleMonthSpan : System.Data.SqlTypes.INullable, System.I
614618
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
615619
public partial struct OracleNumber : System.Data.SqlTypes.INullable, System.IComparable
616620
{
621+
private object _dummy;
617622
public static readonly System.Data.OracleClient.OracleNumber E;
618623
public static readonly int MaxPrecision;
619624
public static readonly int MaxScale;
@@ -832,6 +837,7 @@ public sealed partial class OracleRowUpdatingEventArgs : System.Data.Common.RowU
832837
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
833838
public partial struct OracleString : System.Data.SqlTypes.INullable, System.IComparable
834839
{
840+
private object _dummy;
835841
public static readonly System.Data.OracleClient.OracleString Empty;
836842
public static readonly System.Data.OracleClient.OracleString Null;
837843
public OracleString(string s) { throw null;}
@@ -865,6 +871,7 @@ public partial struct OracleString : System.Data.SqlTypes.INullable, System.ICom
865871
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
866872
public partial struct OracleTimeSpan : System.Data.SqlTypes.INullable, System.IComparable
867873
{
874+
private object _dummy;
868875
public static readonly System.Data.OracleClient.OracleTimeSpan MaxValue;
869876
public static readonly System.Data.OracleClient.OracleTimeSpan MinValue;
870877
public static readonly System.Data.OracleClient.OracleTimeSpan Null;

src/v4.5.1/System.Data.cs

+14
Original file line numberDiff line numberDiff line change
@@ -4715,6 +4715,7 @@ public SqlAlreadyFilledException(string message, System.Exception e) { }
47154715
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
47164716
public partial struct SqlBinary : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
47174717
{
4718+
private object _dummy;
47184719
public static readonly System.Data.SqlTypes.SqlBinary Null;
47194720
public SqlBinary(byte[] value) { throw null;}
47204721
public bool IsNull { get { throw null; } }
@@ -4755,6 +4756,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
47554756
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
47564757
public partial struct SqlBoolean : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
47574758
{
4759+
private int _dummyPrimitive;
47584760
public static readonly System.Data.SqlTypes.SqlBoolean False;
47594761
public static readonly System.Data.SqlTypes.SqlBoolean Null;
47604762
public static readonly System.Data.SqlTypes.SqlBoolean One;
@@ -4826,6 +4828,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
48264828
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
48274829
public partial struct SqlByte : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
48284830
{
4831+
private int _dummyPrimitive;
48294832
public static readonly System.Data.SqlTypes.SqlByte MaxValue;
48304833
public static readonly System.Data.SqlTypes.SqlByte MinValue;
48314834
public static readonly System.Data.SqlTypes.SqlByte Null;
@@ -4970,6 +4973,7 @@ public enum SqlCompareOptions
49704973
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
49714974
public partial struct SqlDateTime : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
49724975
{
4976+
private int _dummyPrimitive;
49734977
public static readonly System.Data.SqlTypes.SqlDateTime MaxValue;
49744978
public static readonly System.Data.SqlTypes.SqlDateTime MinValue;
49754979
public static readonly System.Data.SqlTypes.SqlDateTime Null;
@@ -5022,6 +5026,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
50225026
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
50235027
public partial struct SqlDecimal : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
50245028
{
5029+
private int _dummyPrimitive;
50255030
public static readonly byte MaxPrecision;
50265031
public static readonly byte MaxScale;
50275032
public static readonly System.Data.SqlTypes.SqlDecimal MaxValue;
@@ -5109,6 +5114,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
51095114
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
51105115
public partial struct SqlDouble : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
51115116
{
5117+
private int _dummyPrimitive;
51125118
public static readonly System.Data.SqlTypes.SqlDouble MaxValue;
51135119
public static readonly System.Data.SqlTypes.SqlDouble MinValue;
51145120
public static readonly System.Data.SqlTypes.SqlDouble Null;
@@ -5201,6 +5207,7 @@ public override void WriteByte(byte value) { }
52015207
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
52025208
public partial struct SqlGuid : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
52035209
{
5210+
private object _dummy;
52045211
public static readonly System.Data.SqlTypes.SqlGuid Null;
52055212
public SqlGuid(byte[] value) { throw null;}
52065213
public SqlGuid(System.Guid g) { throw null;}
@@ -5243,6 +5250,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
52435250
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
52445251
public partial struct SqlInt16 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
52455252
{
5253+
private int _dummyPrimitive;
52465254
public static readonly System.Data.SqlTypes.SqlInt16 MaxValue;
52475255
public static readonly System.Data.SqlTypes.SqlInt16 MinValue;
52485256
public static readonly System.Data.SqlTypes.SqlInt16 Null;
@@ -5318,6 +5326,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
53185326
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
53195327
public partial struct SqlInt32 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
53205328
{
5329+
private int _dummyPrimitive;
53215330
public static readonly System.Data.SqlTypes.SqlInt32 MaxValue;
53225331
public static readonly System.Data.SqlTypes.SqlInt32 MinValue;
53235332
public static readonly System.Data.SqlTypes.SqlInt32 Null;
@@ -5393,6 +5402,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
53935402
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
53945403
public partial struct SqlInt64 : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
53955404
{
5405+
private int _dummyPrimitive;
53965406
public static readonly System.Data.SqlTypes.SqlInt64 MaxValue;
53975407
public static readonly System.Data.SqlTypes.SqlInt64 MinValue;
53985408
public static readonly System.Data.SqlTypes.SqlInt64 Null;
@@ -5468,6 +5478,7 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
54685478
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
54695479
public partial struct SqlMoney : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
54705480
{
5481+
private int _dummyPrimitive;
54715482
public static readonly System.Data.SqlTypes.SqlMoney MaxValue;
54725483
public static readonly System.Data.SqlTypes.SqlMoney MinValue;
54735484
public static readonly System.Data.SqlTypes.SqlMoney Null;
@@ -5555,6 +5566,7 @@ public SqlNullValueException(string message, System.Exception e) { }
55555566
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
55565567
public partial struct SqlSingle : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
55575568
{
5569+
private int _dummyPrimitive;
55585570
public static readonly System.Data.SqlTypes.SqlSingle MaxValue;
55595571
public static readonly System.Data.SqlTypes.SqlSingle MinValue;
55605572
public static readonly System.Data.SqlTypes.SqlSingle Null;
@@ -5620,6 +5632,8 @@ void System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter wri
56205632
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
56215633
public partial struct SqlString : System.Data.SqlTypes.INullable, System.IComparable, System.Xml.Serialization.IXmlSerializable
56225634
{
5635+
private object _dummy;
5636+
private int _dummyPrimitive;
56235637
public static readonly int BinarySort;
56245638
public static readonly int BinarySort2;
56255639
public static readonly int IgnoreCase;

0 commit comments

Comments
 (0)