Implemented interface member:
property
Count
System.Collections.Generic.ICollection<T>.Count
26 references to Count
mscorlib (26)
system\security\principal\ircollection.cs (4)
54_Identities.CopyTo( 0, array, offset, Count ); 227if ( SourceSidsCount == Count ) 237if ( SourceNTAccountsCount == Count ) 442return ( _Current < _Collection.Count );
system\security\principal\ntaccount.cs (12)
258if ( sourceAccounts.Count == 0 ) 274Win32Native.UNICODE_STRING[] Names = new Win32Native.UNICODE_STRING[ sourceAccounts.Count ]; 316ReturnCode = Win32Native.LsaLookupNames2( LsaHandle, 0, sourceAccounts.Count, Names, ref ReferencedDomainsPtr, ref SidsPtr ); 320ReturnCode = Win32Native.LsaLookupNames( LsaHandle, sourceAccounts.Count, Names, ref ReferencedDomainsPtr, ref SidsPtr ); 358IdentityReferenceCollection Result = new IdentityReferenceCollection( sourceAccounts.Count ); 364SidsPtr.Initialize((uint)sourceAccounts.Count, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_SID2))); 366Win32Native.LSA_TRANSLATED_SID2[] translatedSids = new Win32Native.LSA_TRANSLATED_SID2[sourceAccounts.Count]; 369for (int i = 0; i < sourceAccounts.Count; i++) 396SidsPtr.Initialize((uint)sourceAccounts.Count, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_SID))); 408Win32Native.LSA_TRANSLATED_SID[] translatedSids = new Win32Native.LSA_TRANSLATED_SID[sourceAccounts.Count]; 411for (int i = 0; i < sourceAccounts.Count; i++) 435for (int i = 0; i < sourceAccounts.Count; i++)
system\security\principal\sid.cs (10)
928if (sourceSids.Count == 0) 934IntPtr[] SidArrayPtr = new IntPtr[sourceSids.Count]; 935GCHandle[] HandleArray = new GCHandle[ sourceSids.Count ]; 973ReturnCode = Win32Native.LsaLookupSids( LsaHandle, sourceSids.Count, SidArrayPtr, ref ReferencedDomainsPtr, ref NamesPtr ); 1003NamesPtr.Initialize((uint)sourceSids.Count, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_NAME))); 1010IdentityReferenceCollection Result = new IdentityReferenceCollection( sourceSids.Count ); 1027Win32Native.LSA_TRANSLATED_NAME[] translatedNames = new Win32Native.LSA_TRANSLATED_NAME[sourceSids.Count]; 1030for (int i = 0; i < sourceSids.Count; i++) 1055for (int i = 0; i < sourceSids.Count; i++) 1065for (int i = 0; i < sourceSids.Count; i++)