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
);
227
if ( SourceSidsCount ==
Count
)
237
if ( SourceNTAccountsCount ==
Count
)
442
return ( _Current < _Collection.
Count
);
system\security\principal\ntaccount.cs (12)
258
if ( sourceAccounts.
Count
== 0 )
274
Win32Native.UNICODE_STRING[] Names = new Win32Native.UNICODE_STRING[ sourceAccounts.
Count
];
316
ReturnCode = Win32Native.LsaLookupNames2( LsaHandle, 0, sourceAccounts.
Count
, Names, ref ReferencedDomainsPtr, ref SidsPtr );
320
ReturnCode = Win32Native.LsaLookupNames( LsaHandle, sourceAccounts.
Count
, Names, ref ReferencedDomainsPtr, ref SidsPtr );
358
IdentityReferenceCollection Result = new IdentityReferenceCollection( sourceAccounts.
Count
);
364
SidsPtr.Initialize((uint)sourceAccounts.
Count
, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_SID2)));
366
Win32Native.LSA_TRANSLATED_SID2[] translatedSids = new Win32Native.LSA_TRANSLATED_SID2[sourceAccounts.
Count
];
369
for (int i = 0; i < sourceAccounts.
Count
; i++)
396
SidsPtr.Initialize((uint)sourceAccounts.
Count
, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_SID)));
408
Win32Native.LSA_TRANSLATED_SID[] translatedSids = new Win32Native.LSA_TRANSLATED_SID[sourceAccounts.
Count
];
411
for (int i = 0; i < sourceAccounts.
Count
; i++)
435
for (int i = 0; i < sourceAccounts.
Count
; i++)
system\security\principal\sid.cs (10)
928
if (sourceSids.
Count
== 0)
934
IntPtr[] SidArrayPtr = new IntPtr[sourceSids.
Count
];
935
GCHandle[] HandleArray = new GCHandle[ sourceSids.
Count
];
973
ReturnCode = Win32Native.LsaLookupSids( LsaHandle, sourceSids.
Count
, SidArrayPtr, ref ReferencedDomainsPtr, ref NamesPtr );
1003
NamesPtr.Initialize((uint)sourceSids.
Count
, (uint)Marshal.SizeOf(typeof(Win32Native.LSA_TRANSLATED_NAME)));
1010
IdentityReferenceCollection Result = new IdentityReferenceCollection( sourceSids.
Count
);
1027
Win32Native.LSA_TRANSLATED_NAME[] translatedNames = new Win32Native.LSA_TRANSLATED_NAME[sourceSids.
Count
];
1030
for (int i = 0; i < sourceSids.
Count
; i++)
1055
for (int i = 0; i < sourceSids.
Count
; i++)
1065
for (int i = 0; i < sourceSids.
Count
; i++)