2 writes to context
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (2)
43this.context = context; 105this.context = context;
30 references to context
System.DirectoryServices (30)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (17)
239_sites.context = context; 258throw ExceptionHelper.GetExceptionFromCOMException(context, e); 278throw ExceptionHelper.GetExceptionFromCOMException(context, e); 300throw ExceptionHelper.GetExceptionFromCOMException(context, e); 327throw ExceptionHelper.GetExceptionFromCOMException(context, e); 347throw ExceptionHelper.GetExceptionFromCOMException(context, e); 391throw ExceptionHelper.GetExceptionFromCOMException(context, e); 411throw ExceptionHelper.GetExceptionFromCOMException(context, e); 455throw ExceptionHelper.GetExceptionFromCOMException(context, e); 476throw ExceptionHelper.GetExceptionFromCOMException(context, e); 523throw ExceptionHelper.GetExceptionFromCOMException(context, e); 548throw ExceptionHelper.GetExceptionFromCOMException(context, e); 572throw ExceptionHelper.GetExceptionFromCOMException(context, e); 588throw ExceptionHelper.GetExceptionFromCOMException(context, e); 618throw ExceptionHelper.GetExceptionFromCOMException(context, e); 642return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path); 720ActiveDirectorySite site = new ActiveDirectorySite(context, rdn, true);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkCollection.cs (9)
78string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 83string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 106string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 111string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 143string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 148string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 185string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 202string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 218string newdn = (string)PropertyManager.GetPropertyValue(newLink.context, newLink.cachedEntry, PropertyManager.DistinguishedName)!;
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkCollection.cs (4)
22string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName); 27string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName); 42string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName); 47string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName);