Skip to content

Commit b376854

Browse files
committed
Fix warning related to CLS compliance
1 parent 56d0a63 commit b376854

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Elasticsearch.Net/Configuration/Security/BasicAuthenticationCredentials.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public class BasicAuthenticationCredentials
66
{
77
public string Username { get; set; }
88
[Obsolete("Scheduled to be removed use Username instead, note the lowercase n")]
9+
[CLSCompliant(false)]
910
public string UserName { get { return Username; } set { Username = value; } }
1011
public string Password { get; set; }
1112

0 commit comments

Comments
 (0)