Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0] Add missing DynamicallyAccessMembers attributes to System.Data.Common/ref #75980

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/libraries/System.Data.Common/ref/System.Data.Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ public override void Close() { }
public override decimal GetDecimal(int ordinal) { throw null; }
public override double GetDouble(int ordinal) { throw null; }
public override System.Collections.IEnumerator GetEnumerator() { throw null; }
[return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public override System.Type GetFieldType(int ordinal) { throw null; }
public override float GetFloat(int ordinal) { throw null; }
public override System.Guid GetGuid(int ordinal) { throw null; }
Expand All @@ -945,6 +946,7 @@ public override void Close() { }
public override long GetInt64(int ordinal) { throw null; }
public override string GetName(int ordinal) { throw null; }
public override int GetOrdinal(string name) { throw null; }
[return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public override System.Type GetProviderSpecificFieldType(int ordinal) { throw null; }
public override object GetProviderSpecificValue(int ordinal) { throw null; }
public override int GetProviderSpecificValues(object[] values) { throw null; }
Expand Down Expand Up @@ -2315,6 +2317,7 @@ protected virtual void Dispose(bool disposing) { }
public abstract double GetDouble(int ordinal);
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public abstract System.Collections.IEnumerator GetEnumerator();
[return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public abstract System.Type GetFieldType(int ordinal);
public System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(int ordinal) { throw null; }
public virtual System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(int ordinal, System.Threading.CancellationToken cancellationToken) { throw null; }
Expand All @@ -2327,6 +2330,7 @@ protected virtual void Dispose(bool disposing) { }
public abstract string GetName(int ordinal);
public abstract int GetOrdinal(string name);
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public virtual System.Type GetProviderSpecificFieldType(int ordinal) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public virtual object GetProviderSpecificValue(int ordinal) { throw null; }
Expand Down Expand Up @@ -2373,6 +2377,7 @@ protected DbDataRecord() { }
protected virtual System.Data.Common.DbDataReader GetDbDataReader(int i) { throw null; }
public abstract decimal GetDecimal(int i);
public abstract double GetDouble(int i);
[return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public abstract System.Type GetFieldType(int i);
public abstract float GetFloat(int i);
public abstract System.Guid GetGuid(int i);
Expand Down