Implemented interface member:
22 references to Count
System.Security.Principal.Windows (22)
System\Security\Principal\IRCollection.cs (4)
50_identities.CopyTo(0, array, offset, Count); 205if (SourceSidsCount == Count) 215if (SourceNTAccountsCount == Count) 415return (_current < _collection.Count);
System\Security\Principal\NTAccount.cs (8)
207if (sourceAccounts.Count == 0) 222Interop.Advapi32.MARSHALLED_UNICODE_STRING[] Names = new Interop.Advapi32.MARSHALLED_UNICODE_STRING[sourceAccounts.Count]; 260ReturnCode = Interop.Advapi32.LsaLookupNames2(LsaHandle, 0, sourceAccounts.Count, Names, out ReferencedDomainsPtr, out SidsPtr); 297IdentityReferenceCollection Result = new IdentityReferenceCollection(sourceAccounts.Count); 301SidsPtr.Initialize((uint)sourceAccounts.Count, (uint)sizeof(Interop.LSA_TRANSLATED_SID2)); 303Interop.LSA_TRANSLATED_SID2[] translatedSids = new Interop.LSA_TRANSLATED_SID2[sourceAccounts.Count]; 306for (int i = 0; i < sourceAccounts.Count; i++) 333for (int i = 0; i < sourceAccounts.Count; i++)
System\Security\Principal\SID.cs (10)
945if (sourceSids.Count == 0) 950IntPtr[] SidArrayPtr = new IntPtr[sourceSids.Count]; 951GCHandle[] HandleArray = new GCHandle[sourceSids.Count]; 987ReturnCode = Interop.Advapi32.LsaLookupSids(LsaHandle, sourceSids.Count, SidArrayPtr, out ReferencedDomainsPtr, out NamesPtr); 1017NamesPtr.Initialize((uint)sourceSids.Count, (uint)sizeof(Interop.LSA_TRANSLATED_NAME)); 1024IdentityReferenceCollection Result = new IdentityReferenceCollection(sourceSids.Count); 1041Interop.LSA_TRANSLATED_NAME[] translatedNames = new Interop.LSA_TRANSLATED_NAME[sourceSids.Count]; 1044for (int i = 0; i < sourceSids.Count; i++) 1069for (int i = 0; i < sourceSids.Count; i++) 1079for (int i = 0; i < sourceSids.Count; i++)