@@ -13,7 +13,7 @@ public void TestLdapAttributeSequenceGetBytesString()
1313 var packet = new LdapPacket ( 1 ) ;
1414
1515 var bindrequest = new LdapAttribute ( LdapOperation . BindRequest ) ;
16- bindrequest . ChildAttributes . Add ( new LdapAttribute ( UniversalDataType . Integer , ( Byte ) 3 ) ) ;
16+ bindrequest . ChildAttributes . Add ( new LdapAttribute ( UniversalDataType . Integer , ( byte ) 3 ) ) ;
1717 bindrequest . ChildAttributes . Add ( new LdapAttribute ( UniversalDataType . OctetString , "cn=bindUser,cn=Users,dc=dev,dc=company,dc=com" ) ) ;
1818 bindrequest . ChildAttributes . Add ( new LdapAttribute ( ( byte ) 0 , "bindUserPassword" ) ) ;
1919
@@ -31,7 +31,7 @@ public void TestLdapAttributeSequenceGetBytes2()
3131
3232 var bindresponse = new LdapAttribute ( LdapOperation . BindResponse ) ;
3333
34- var resultCode = new LdapAttribute ( UniversalDataType . Enumerated , ( Byte ) LdapResult . success ) ;
34+ var resultCode = new LdapAttribute ( UniversalDataType . Enumerated , ( byte ) LdapResult . success ) ;
3535 bindresponse . ChildAttributes . Add ( resultCode ) ;
3636
3737 var matchedDn = new LdapAttribute ( UniversalDataType . OctetString ) ;
@@ -105,8 +105,8 @@ public void TestLdapAttributeParseFromStream4()
105105 [ TestCase ]
106106 public void TestPacketMessageId ( )
107107 {
108- var packet = new LdapPacket ( Int32 . MaxValue ) ;
109- Assert . AreEqual ( Int32 . MaxValue , packet . MessageId ) ;
108+ var packet = new LdapPacket ( int . MaxValue ) ;
109+ Assert . AreEqual ( int . MaxValue , packet . MessageId ) ;
110110 }
111111
112112
@@ -176,7 +176,7 @@ public void TestPacketPartialAttribute()
176176
177177
178178 partialAttributeList . ChildAttributes . Add ( new LdapPartialAttribute ( "uid" , "useruidgoeshere" ) ) ;
179- partialAttributeList . ChildAttributes . Add ( new LdapPartialAttribute ( "objectClass" , new List < String > { "aaaaaaaaaaaa" , "bbbbbbbbbbbb" } ) ) ;
179+ partialAttributeList . ChildAttributes . Add ( new LdapPartialAttribute ( "objectClass" , new List < string > { "aaaaaaaaaaaa" , "bbbbbbbbbbbb" } ) ) ;
180180
181181 searchResultEntry . ChildAttributes . Add ( partialAttributeList ) ;
182182 responseEntryPacket . ChildAttributes . Add ( searchResultEntry ) ;
@@ -235,7 +235,7 @@ public void TestPacketThunderbirdSearch()
235235
236236
237237
238- private void RecurseAttributes ( LdapAttribute attribute , Int32 depth = 1 )
238+ private void RecurseAttributes ( LdapAttribute attribute , int depth = 1 )
239239 {
240240 if ( attribute != null )
241241 {
0 commit comments