Skip to content

Commit 429beb2

Browse files
committed
Moving attribute because building against .NET 4 failed.
1 parent 3fc17ed commit 429beb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MongoDB.Driver/MongoCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public string Mechanism
8383
/// Gets the password.
8484
/// </summary>
8585
[Obsolete("Use Evidence instead.")]
86-
[SecuritySafeCritical]
8786
public string Password
8887
{
88+
[SecuritySafeCritical]
8989
get
9090
{
9191
var passwordEvidence = _evidence as PasswordEvidence;

0 commit comments

Comments
 (0)