Skip to content

Commit 0d7ecb7

Browse files
Merge pull request #34 from SapientGuardian/securitycritical
Unbreak consumption in net461
2 parents 18e4548 + 51b50b1 commit 0d7ecb7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: Source/MySql.Data/Field.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
using System;
2929
using System.Collections;
3030
using System.Collections.Generic;
31+
using System.Security;
3132

3233
namespace MySql.Data.MySqlClient
3334
{
@@ -77,9 +78,10 @@ internal class MySqlField
7778
protected bool binaryOk;
7879
protected List<Type> typeConversions = new List<Type>();
7980

80-
#endregion
81+
#endregion
8182

82-
public MySqlField(Driver driver)
83+
[SecuritySafeCritical]
84+
public MySqlField(Driver driver)
8385
{
8486
this.driver = driver;
8587
connVersion = driver.Version;

Diff for: Source/MySql.Data/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "6.9.815",
2+
"version": "6.9.816",
33
"description": "MySQL client library targeting netstandard 1.3",
44
"authors": [ "Oracle", "SapientGuardian", "ebyte23" ],
55
"buildOptions": {

0 commit comments

Comments
 (0)