Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrii Kurdiumov <kant2002@gmail.com>2021-07-13 23:44:03 +0300
committerGitHub <noreply@github.com>2021-07-13 23:44:03 +0300
commit271eea2a1720bfbb4098bd950198c2ebb6a96637 (patch)
treef9935a16bcc50e4b13630df4a90e6e5d966dfc0a /src
parent39152805901172400f1aad2ce511719663aa4e52 (diff)
Remove IL205 warning for System.Data.Odbc (#54809)
Function which produce warning not used anywhere
Diffstat (limited to 'src')
-rw-r--r--src/libraries/System.Data.Odbc/src/ILLink/ILLink.Suppressions.xml6
-rw-r--r--src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcConnectionHandle.cs7
2 files changed, 0 insertions, 13 deletions
diff --git a/src/libraries/System.Data.Odbc/src/ILLink/ILLink.Suppressions.xml b/src/libraries/System.Data.Odbc/src/ILLink/ILLink.Suppressions.xml
index 6ea564dbbf6..c6e3fb619c2 100644
--- a/src/libraries/System.Data.Odbc/src/ILLink/ILLink.Suppressions.xml
+++ b/src/libraries/System.Data.Odbc/src/ILLink/ILLink.Suppressions.xml
@@ -3,12 +3,6 @@
<assembly fullname="System.Data.Odbc, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51">
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
<argument>ILLink</argument>
- <argument>IL2050</argument>
- <property name="Scope">member</property>
- <property name="Target">M:System.Data.Odbc.OdbcConnectionHandle.SetConnectionAttribute4(System.Data.Odbc.ODBC32.SQL_ATTR,System.Transactions.IDtcTransaction,System.Int32)</property>
- </attribute>
- <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
- <argument>ILLink</argument>
<argument>IL2026</argument>
<property name="Scope">member</property>
<property name="Target">M:System.Data.ProviderBase.DbMetaDataFactory.#ctor(System.IO.Stream,System.String,System.String)</property>
diff --git a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcConnectionHandle.cs b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcConnectionHandle.cs
index b2c7ee7cb33..8339b330196 100644
--- a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcConnectionHandle.cs
+++ b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcConnectionHandle.cs
@@ -263,12 +263,5 @@ namespace System.Data.Odbc
ODBC32.RetCode retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, buffer, length);
return retcode;
}
-
- internal ODBC32.RetCode SetConnectionAttribute4(ODBC32.SQL_ATTR attribute, System.Transactions.IDtcTransaction transaction, int length)
- {
- ODBC32.RetCode retcode = Interop.Odbc.SQLSetConnectAttrW(this, attribute, transaction, length);
- ODBC.TraceODBC(3, "SQLSetConnectAttrW", retcode);
- return retcode;
- }
}
}