Skip to content
Prev Previous commit
Next Next commit
Fix warning code value
  • Loading branch information
vitek-karas committed Aug 13, 2021
commit d844800cf77e6c87c50550cb96eb58f78d8095eb
2 changes: 1 addition & 1 deletion src/libraries/System.Data.OleDb/src/OleDbDataReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ private DataTable BuildSchemaTable(MetaData[] metadata)

DataColumn dataType = GetSystemTypeDataColumn();

[UnconditionalSuppressMessage("ReflectionAnalysis", "IL2110",
[UnconditionalSuppressMessage("ReflectionAnalysis", "IL2111",
Justification = "The problem is Type.TypeInitializer which requires static .ctor on the type" +
"which in this case is System.Type itself. System.Type.cctor will always be preserved anyway.")]
static DataColumn GetSystemTypeDataColumn() =>
Expand Down