2 types derived from Assembly
mscorlib (2)
system\reflection\assembly.cs (1)
1194internal class RuntimeAssembly : Assembly
system\reflection\emit\assemblybuilder.cs (1)
177public sealed class AssemblyBuilder : Assembly, _AssemblyBuilder
1851 references to Assembly
ComSvcConfig (6)
ComAdminWrapper.cs (1)
41static Assembly ListenerAssembly = typeof(Message).Assembly;
ComplusTypeValidator.cs (2)
39Assembly asm = null; 42asm = typeOfInterfaceResolver.InvokeMember("ResolveAssemblyFromIID", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Assembly;
EndpointConfigContainer.cs (2)
696string runtimeVersion = Assembly.GetExecutingAssembly().ImageRuntimeVersion; 746return (version == Assembly.GetExecutingAssembly().ImageRuntimeVersion);
parent\WcfCommonResStrings\CommonResStrings.cs (1)
10private static ResourceManager resmgr = new ResourceManager("CommonResStrings", Assembly.GetExecutingAssembly());
Microsoft.Activities.Build (6)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
102Assembly localAssembly = Utilities.GetLocalAssembly(buildContext, SR.LocalAssemblyNotLoaded_Expressions);
Microsoft\Activities\Build\Utilities.cs (3)
59internal static Assembly GetLocalAssembly(BuildExtensionContext context, string errorMessage) 64return Assembly.LoadFile(path); 77internal static Type[] GetTypes(Assembly assembly)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (1)
75Assembly localAssembly = Utilities.GetLocalAssembly(this.buildContext, SR.LocalAssemblyNotLoaded);
Microsoft\Activities\Build\WorkflowBuildMessageTask.cs (1)
17: base(new System.Resources.ResourceManager("Microsoft.Activities.Build.SR", System.Reflection.Assembly.GetExecutingAssembly()))
mscorlib (346)
system\activator.cs (5)
322Assembly assembly = null; 437Assembly assembly = Assembly.LoadFrom(assemblyFile, securityInfo); 637Assembly assembly = Assembly.LoadFrom(assemblyName, hashValue, hashAlgorithm);
system\appdomain.cs (37)
67private Assembly _RequestingAssembly; 75public Assembly RequestingAssembly 88public ResolveEventArgs(String name, Assembly requestingAssembly) 98private Assembly _LoadedAssembly; 100public Assembly LoadedAssembly { 106public AssemblyLoadEventArgs(Assembly loadedAssembly) 118public delegate Assembly ResolveEventHandler(Object sender, ResolveEventArgs args); 191Assembly assembly=Assembly.Load(Info[i].TargetTypeAssembly); 629Assembly assembly = Assembly.GetEntryAssembly(); 1155private Assembly ResolveAssemblyForIntrospection(Object sender, ResolveEventArgs args) 1158return Assembly.ReflectionOnlyLoad(ApplyPolicy(args.Name)); 1183args.ResolvedAssemblies.Add(Assembly.ReflectionOnlyLoadFrom(fileName)); 1843public Assembly Load(AssemblyName assemblyRef) 1851public Assembly Load(String assemblyString) 1859public Assembly Load(byte[] rawAssembly) 1874public Assembly Load(byte[] rawAssembly, 1893public Assembly Load(byte[] rawAssembly, 1917public Assembly Load(AssemblyName assemblyRef, 1927public Assembly Load(String assemblyString, 1964RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile, assemblySecurity); 1976RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile); 2000RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile, 2017RuntimeAssembly assembly = (RuntimeAssembly)Assembly.LoadFrom(assemblyFile, 2055RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName, assemblySecurity); 2065RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName); 2085RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName, assemblySecurity); 2095RuntimeAssembly assembly = (RuntimeAssembly)Assembly.Load(assemblyName); 2238public Assembly[] GetAssemblies() 2244public Assembly[] ReflectionOnlyGetAssemblies() 2252private extern Assembly[] nGetAssemblies(bool forIntrospection); 3129Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(resourceName, assembly)); 3149Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(typeName, assembly)); 3172Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(assemblyFullName, assembly)); 3191Assembly asm = ((ResolveEventHandler)ds[i])(this, new ResolveEventArgs(assemblyFullName, assembly)); 3228internal static RuntimeAssembly GetRuntimeAssembly(Assembly asm)
system\appdomainmanager.cs (2)
155private Assembly m_entryAssembly = null; 156public virtual Assembly EntryAssembly {
system\applicationactivator.cs (1)
74m_assembly = (RuntimeAssembly)Assembly.LoadFrom(m_path);
system\attribute.cs (8)
748public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType) 753public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType, bool inherit) 768public static Attribute[] GetCustomAttributes(Assembly element) 773public static Attribute[] GetCustomAttributes(Assembly element, bool inherit) 782public static bool IsDefined (Assembly element, Type attributeType) 787public static bool IsDefined (Assembly element, Type attributeType, bool inherit) 803public static Attribute GetCustomAttribute(Assembly element, Type attributeType) 808public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit)
system\delegateserializationholder.cs (2)
216RuntimeType type = (RuntimeType)Assembly.GetType_Compat(de.assembly, de.type); 217RuntimeType targetType = (RuntimeType)Assembly.GetType_Compat(de.targetTypeAssembly, de.targetTypeName);
system\diagnostics\contracts\contractsbcl.cs (3)
66Assembly thisAssembly = typeof(Contract).Assembly; // In case we refactor mscorlib, use Contract class instead of Object. 68Assembly probablyNotRewritten = null; 71Assembly caller = stack.GetFrame(i).GetMethod().DeclaringType.Assembly;
system\diagnostics\eventing\frameworkeventsource.cs (25)
343public void ResourceManagerLookupStarted(String baseName, Assembly mainAssembly, String cultureName) { 349public void ResourceManagerLookingForResourceSet(String baseName, Assembly mainAssembly, String cultureName) { 355public void ResourceManagerFoundResourceSetInCache(String baseName, Assembly mainAssembly, String cultureName) { 361public void ResourceManagerFoundResourceSetInCacheUnexpected(String baseName, Assembly mainAssembly, String cultureName) { 367public void ResourceManagerStreamFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) { 373public void ResourceManagerStreamNotFound(String baseName, Assembly mainAssembly, String cultureName, Assembly loadedAssembly, String resourceFileName) { 379public void ResourceManagerGetSatelliteAssemblySucceeded(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) { 385public void ResourceManagerGetSatelliteAssemblyFailed(String baseName, Assembly mainAssembly, String cultureName, String assemblyName) { 391public void ResourceManagerCaseInsensitiveResourceStreamLookupSucceeded(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) { 397public void ResourceManagerCaseInsensitiveResourceStreamLookupFailed(String baseName, Assembly mainAssembly, String assemblyName, String resourceFileName) { 403public void ResourceManagerManifestResourceAccessDenied(String baseName, Assembly mainAssembly, String assemblyName, String canonicalName) { 409public void ResourceManagerNeutralResourcesSufficient(String baseName, Assembly mainAssembly, String cultureName) { 415public void ResourceManagerNeutralResourceAttributeMissing(Assembly mainAssembly) { 421public void ResourceManagerCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName, String fileName) { 427public void ResourceManagerNotCreatingResourceSet(String baseName, Assembly mainAssembly, String cultureName) { 433public void ResourceManagerLookupFailed(String baseName, Assembly mainAssembly, String cultureName) { 439public void ResourceManagerReleasingResources(String baseName, Assembly mainAssembly) { 445public void ResourceManagerNeutralResourcesNotFound(String baseName, Assembly mainAssembly, String resName) { 451public void ResourceManagerNeutralResourcesFound(String baseName, Assembly mainAssembly, String resName) { 457public void ResourceManagerAddingCultureFromConfigFile(String baseName, Assembly mainAssembly, String cultureName) { 463public void ResourceManagerCultureNotFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) { 469public void ResourceManagerCultureFoundInConfigFile(String baseName, Assembly mainAssembly, String cultureName) { 474private static string GetName(Assembly assembly) {
system\diagnostics\eventing\StubEnvironment.cs (2)
207public static Assembly Assembly(this Type type) { return type.Assembly; } 210public static bool ReflectionOnly(this Assembly assm) { return assm.ReflectionOnly; }
system\globalization\compareinfo.cs (2)
143public static CompareInfo GetCompareInfo(int culture, Assembly assembly){ 170public static CompareInfo GetCompareInfo(String name, Assembly assembly){
system\globalization\globalizationassembly.cs (1)
40internal unsafe static byte* GetGlobalizationResourceBytePtr(Assembly assembly, String tableName) {
system\iappdomain.cs (8)
180Assembly Load(AssemblyName assemblyRef); 182Assembly Load(String assemblyString); 184Assembly Load(byte[] rawAssembly); 186Assembly Load(byte[] rawAssembly, 189Assembly Load(byte[] rawAssembly, 193Assembly Load(AssemblyName assemblyRef, 196Assembly Load(String assemblyString, 226Assembly[] GetAssemblies();
system\io\isolatedstorage\isolatedstorage.cs (1)
616Assembly assem;
system\marshalbyrefobject.cs (2)
219Assembly asm = Assembly.Load(assemblyName);
system\reflection\assembly.cs (67)
73public static Assembly GetAssembly(Type type) 87public static bool operator ==(Assembly left, Assembly right) 100public static bool operator !=(Assembly left, Assembly right) 125public static Assembly LoadFrom(String assemblyFile) 127Contract.Ensures(Contract.Result<Assembly>() != null); 128Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 166public static Assembly ReflectionOnlyLoadFrom(String assemblyFile) 168Contract.Ensures(Contract.Result<Assembly>() != null); 188public static Assembly LoadFrom(String assemblyFile, 191Contract.Ensures(Contract.Result<Assembly>() != null); 211public static Assembly LoadFrom(String assemblyFile, 216Contract.Ensures(Contract.Result<Assembly>() != null); 234public static Assembly LoadFrom(String assemblyFile, 256public static Assembly UnsafeLoadFrom(string assemblyFile) 259Contract.Ensures(Contract.Result<Assembly>() != null); 260Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 278public static Assembly Load(String assemblyString) 280Contract.Ensures(Contract.Result<Assembly>() != null); 281Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 323public static Assembly ReflectionOnlyLoad(String assemblyString) 325Contract.Ensures(Contract.Result<Assembly>() != null); 334public static Assembly Load(String assemblyString, Evidence assemblySecurity) 336Contract.Ensures(Contract.Result<Assembly>() != null); 337Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 351public static Assembly Load(AssemblyName assemblyRef) 353Contract.Ensures(Contract.Result<Assembly>() != null); 354Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 370public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity) 372Contract.Ensures(Contract.Result<Assembly>() != null); 373Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 383public static Assembly LoadWithPartialName(String partialName) 392public static Assembly LoadWithPartialName(String partialName, Evidence securityEvidence) 408public static Assembly Load(byte[] rawAssembly) 410Contract.Ensures(Contract.Result<Assembly>() != null); 411Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 431public static Assembly ReflectionOnlyLoad(byte[] rawAssembly) 433Contract.Ensures(Contract.Result<Assembly>() != null); 458public static Assembly Load(byte[] rawAssembly, 462Contract.Ensures(Contract.Result<Assembly>() != null); 463Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 482public static Assembly Load(byte[] rawAssembly, 487Contract.Ensures(Contract.Result<Assembly>() != null); 488Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 512internal static Assembly LoadImageSkipIntegrityCheck(byte[] rawAssembly, 517Contract.Ensures(Contract.Result<Assembly>() != null); 518Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 543public static Assembly Load(byte[] rawAssembly, 548Contract.Ensures(Contract.Result<Assembly>() != null); 549Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 579public static Assembly LoadFile(String path) 582Contract.Ensures(Contract.Result<Assembly>() != null); 583Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 597public static Assembly LoadFile(String path, 601Contract.Ensures(Contract.Result<Assembly>() != null); 602Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly); 643public static Assembly GetExecutingAssembly() 651public static Assembly GetCallingAssembly() 661public static Assembly GetEntryAssembly() { 837public virtual Assembly GetSatelliteAssembly(CultureInfo culture) 843public virtual Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 2811Assembly sys = Assembly.Load("System, Version=" + ThisAssembly.Version + ", Culture=neutral, PublicKeyToken=" + AssemblyRef.EcmaPublicKeyToken); 2862public override Assembly GetSatelliteAssembly(CultureInfo culture) 2870public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 2878internal Assembly InternalGetSatelliteAssembly(CultureInfo culture,
system\reflection\cominterfaces.cs (4)
53Assembly Assembly { get; } 163[TypeLibImportClassAttribute(typeof(System.Reflection.Assembly))] 228Assembly GetSatelliteAssembly(CultureInfo culture); 229Assembly GetSatelliteAssembly(CultureInfo culture, Version version);
system\reflection\customattribute.cs (4)
48public static IList<CustomAttributeData> GetCustomAttributes(Assembly target) 1616Assembly lastAptcaOkAssembly = null; 1685Assembly lastAptcaOkAssembly = null; 1850ref Assembly lastAptcaOkAssembly,
system\reflection\CustomAttributeExtensions.cs (6)
8public static Attribute GetCustomAttribute(this Assembly element, Type attributeType) 25public static T GetCustomAttribute<T>(this Assembly element) where T : Attribute 62public static IEnumerable<Attribute> GetCustomAttributes(this Assembly element) 90public static IEnumerable<Attribute> GetCustomAttributes(this Assembly element, Type attributeType) 107public static IEnumerable<T> GetCustomAttributes<T>(this Assembly element) where T : Attribute 144public static bool IsDefined(this Assembly element, Type attributeType)
system\reflection\emit\assemblybuilder.cs (8)
529private static extern Assembly nCreateDynamicAssembly(AppDomain domain, 706Assembly assem = LoadISymWrapper(); 910Assembly assem = LoadISymWrapper(); 945private Assembly LoadISymWrapper() 950Assembly assem = Assembly.Load("ISymWrapper, Version=" + ThisAssembly.Version + 1389public override Assembly GetSatelliteAssembly(CultureInfo culture) 1397public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version)
system\reflection\emit\assemblybuilderdata.cs (1)
495internal Assembly m_ISymWrapperAssembly;
system\reflection\emit\enumbuilder.cs (1)
110public override Assembly Assembly {
system\reflection\emit\generictypeparameterbuilder.cs (1)
109public override Assembly Assembly { get { return m_type.Assembly; } }
system\reflection\emit\modulebuilder.cs (1)
1116public override Assembly Assembly
system\reflection\emit\symboltype.cs (1)
357public override Assembly Assembly
system\reflection\emit\typebuilder.cs (1)
1085public override Assembly Assembly
system\reflection\emit\typebuilderinstantiation.cs (1)
109public override Assembly Assembly { get { return m_type.Assembly; } }
system\reflection\manifestresourceinfo.cs (3)
23private Assembly _containingAssembly; 27public ManifestResourceInfo(Assembly containingAssembly, 36public virtual Assembly ReferencedAssembly
system\reflection\memberinfoserializationholder.cs (1)
79Assembly assem = FormatterServices.LoadAssemblyFromString(assemblyName);
system\reflection\module.cs (2)
523public virtual Assembly Assembly 1212public override Assembly Assembly
system\reflection\reflectioncontext.cs (2)
26public abstract Assembly MapAssembly(Assembly assembly);
system\reflection\typedelegator.cs (1)
58public override Assembly Assembly {
system\resources\manifestbasedresourcegroveler.cs (2)
223internal static CultureInfo GetNeutralResourcesLanguage(Assembly a, ref UltimateResourceFallbackLocation fallbackLocation) 284internal ResourceSet CreateResourceSet(Stream store, Assembly assembly)
system\resources\resourcemanager.cs (11)
193protected Assembly MainAssembly; // Need the assembly manifest sometimes. 228private Assembly _callingAssembly; // Assembly who created the ResMgr. 278m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 353public ResourceManager(String baseName, Assembly assembly) 372m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 384public ResourceManager(String baseName, Assembly assembly, Type usingResourceSet) 410m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 437m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 868protected static Version GetSatelliteContractVersion(Assembly a) 921protected static CultureInfo GetNeutralResourcesLanguage(Assembly a) 1665internal Version ObtainSatelliteContractVersion(Assembly a)
system\rttype.cs (2)
3555public override Assembly Assembly 3851return Assembly.CreateQualifiedName(this.Assembly.FullName, fullname);
system\runtime\designerservices\windowsruntimedesignercontext.cs (3)
143public Assembly GetAssembly(String assemblyName) 145Contract.Ensures(Contract.Result<Assembly>() != null); 146Contract.Ensures(!Contract.Result<Assembly>().ReflectionOnly);
system\runtime\interopservices\iregistrationservices.cs (3)
37bool RegisterAssembly(Assembly assembly, AssemblyRegistrationFlags flags); 40bool UnregisterAssembly(Assembly assembly); 43Type[] GetRegistrableTypesInAssembly(Assembly assembly);
system\runtime\interopservices\itypelibconverter.cs (3)
88Assembly ResolveRef( 104Assembly assembly); 124Assembly assembly,
system\runtime\interopservices\marshal.cs (7)
1455public static Guid GetTypeLibGuidForAssembly(Assembly asm) 1484public static void GetTypeLibVersionForAssembly(Assembly inputAssembly, out int majorVersion, out int minorVersion) 1599Assembly AsmBldr = null; 1639Assembly[] aAssemblies = Thread.GetDomain().GetAssemblies(); 2478Assembly sys = Assembly.Load("System, Version="+ ThisAssembly.Version + 2758public Assembly ResolveRef(Object TypeLib)
system\runtime\interopservices\registrationservices.cs (4)
99public virtual bool RegisterAssembly(Assembly assembly, AssemblyRegistrationFlags flags) 162public virtual bool UnregisterAssembly(Assembly assembly) 222public virtual Type[] GetRegistrableTypesInAssembly(Assembly assembly) 898private void UnregisterPrimaryInteropAssembly(Assembly assembly, PrimaryInteropAssemblyAttribute attr)
system\runtime\interopservices\runtimeenvironment.cs (1)
70public static bool FromGlobalAccessCache(Assembly a)
system\runtime\interopservices\typelibconverter.cs (9)
169public Object ConvertAssemblyToTypeLib(Assembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink) 513public Assembly ResolveRef(Object typeLib) 515Contract.Ensures(Contract.Result<Assembly>() != null && Contract.Result<Assembly>() is RuntimeAssembly); 519Assembly asm = m_UserSink.ResolveRef(typeLib); 546public Assembly ResolveEvent(Object sender, ResolveEventArgs args) 579public Assembly ResolveAsmEvent(Object sender, ResolveEventArgs args) 590public Assembly ResolveROAsmEvent(Object sender, ResolveEventArgs args) 600return Assembly.ReflectionOnlyLoad(asmName);
system\runtime\interopservices\windowsruntime\windowsruntimemetadata.cs (8)
90Collection<Assembly> assembliesCollection = eventArgs.ResolvedAssemblies; 95foreach (Assembly asm in assembliesCollection) 154private Assembly _RequestingAssembly; 155private Collection<Assembly> _ResolvedAssemblies; 165public Assembly RequestingAssembly 173public Collection<Assembly> ResolvedAssemblies 181public NamespaceResolveEventArgs(string namespaceName, Assembly requestingAssembly) 185_ResolvedAssemblies = new Collection<Assembly>();
system\runtime\remoting\activationservices.cs (1)
48internal static readonly Assembly s_MscorlibAssembly = typeof(Object).Assembly;
system\runtime\remoting\configuration.cs (10)
968Assembly assembly = Assembly.Load(entry.UrtAssemblyName); 979Assembly assembly = Assembly.Load(entry.UrtAssemblyName); 989Assembly assembly = Assembly.Load(entry.AssemblyName); 1075Assembly asm = Assembly.Load(cae.AssemblyName); 1694Assembly asm = null; 1702asm = Assembly.Load(assemblyName);
system\runtime\remoting\objref.cs (1)
792Assembly asm = FormatterServices.LoadAssemblyFromStringNoThrow(assemName);
system\runtime\remoting\remotingconfigparser.cs (2)
382Assembly asm = Assembly.Load(assemblyName);
system\runtime\remoting\remotingservices.cs (1)
1375Assembly assem = FormatterServices.LoadAssemblyFromStringNoThrow(assemNamespace);
system\runtime\remoting\soap.cs (3)
227public static void PreLoad(Assembly assembly) 743Assembly systemAssembly = typeof(String).Module.Assembly; 770Assembly systemAssembly = typeof(String).Module.Assembly;
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (4)
127if (Assembly.GetAssembly(type) == Converter.urtAssembly) 388private Assembly assembly; 396internal BinaryAssemblyInfo(String assemblyString, Assembly assembly) 402internal Assembly GetAssembly()
system\runtime\serialization\formatters\binary\binaryconverter.cs (2)
510internal static Assembly urtAssembly = Assembly.GetAssembly(typeofString);
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
310Assembly objectAssembly = objectType.Assembly;
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (13)
1361Assembly assm = null; 1391assm = Assembly.Load(assemblyName); 1424private static Assembly ResolveSimpleAssemblyName(AssemblyName assemblyName) 1427Assembly assm = RuntimeAssembly.LoadWithPartialNameInternal(assemblyName, null, ref stackMark); 1434private static void GetSimplyNamedTypeFromAssembly(Assembly assm, string typeName, ref Type type) 1475Assembly sourceAssembly = assemblyInfo.GetAssembly(); 1502private static void CheckTypeForwardedTo(Assembly sourceAssembly, Assembly destAssembly, Type resolvedType) 1517Assembly typeFowardedFromAssembly = null; 1521typeFowardedFromAssembly = Assembly.Load(typeInfo.AssemblyString); 1542private Assembly m_topLevelAssembly; 1544public TopLevelAssemblyTypeResolver(Assembly topLevelAssembly) 1549public Type ResolveType(Assembly assembly, string simpleTypeName, bool ignoreCase)
system\runtime\serialization\formatters\sertrace.cs (1)
121public static Assembly LoadAssemblyFromString(String assemblyString)
system\runtime\serialization\formatterservices.cs (5)
440public static Type GetTypeFromAssembly(Assembly assem, String name) { 458internal static Assembly LoadAssemblyFromString(String assemblyName) { 463Assembly found = Assembly.Load(assemblyName); 467internal static Assembly LoadAssemblyFromStringNoThrow(String assemblyName) {
system\security\codeaccesssecurityengine.cs (1)
118if(asm != Assembly.GetExecutingAssembly()) // this condition is to avoid having to marshal mscorlib's evidence (which is always in teh default domain) to the current domain
system\security\hostsecuritymanager.cs (3)
80public virtual Evidence ProvideAssemblyEvidence (Assembly loadedAssembly, Evidence inputEvidence) { 201public virtual Type[] GetHostSuppliedAssemblyEvidenceTypes(Assembly assembly) { 215public virtual EvidenceBase GenerateAssemblyEvidence(Type evidenceType, Assembly assembly) {
system\security\permissionlistset.cs (1)
388Assembly assembly;
system\security\permissions\principalpermission.cs (3)
446System.Reflection.Assembly asm = Reflection.Assembly.GetCallingAssembly(); 449if(asm != Assembly.GetExecutingAssembly()) // this condition is to avoid having to marshal mscorlib's evidence (which is always in teh default domain) to the current domain
system\security\permissionset.cs (2)
1795Contract.Assert( objectToInsert.GetType().Module.Assembly == System.Reflection.Assembly.GetExecutingAssembly(), 1902Contract.Assert( objectToInsert.GetType().Module.Assembly == System.Reflection.Assembly.GetExecutingAssembly(),
system\security\permissiontoken.cs (2)
108Contract.Assert( c_mscorlibName == ((RuntimeAssembly)Assembly.GetExecutingAssembly()).GetSimpleName(), 283if (perm.GetType().Module.Assembly == Assembly.GetExecutingAssembly() &&
system\security\policy\appdomainevidencefactory.cs (2)
65Assembly entryAssembly = Assembly.GetEntryAssembly();
system\security\policy\applicationsecuritymanager.cs (1)
163"System.Security.Policy.TrustManager, System.Windows.Forms, Version=" + ((RuntimeAssembly)Assembly.GetExecutingAssembly()).GetVersion() + ", Culture=neutral, PublicKeyToken=" + AssemblyRef.EcmaPublicKeyToken);
system\security\policy\evidence.cs (4)
537Assembly targetAssembly = m_target.Target as Assembly; 1312Assembly targetAssembly = m_target.Target as Assembly;
system\security\policy\hash.cs (1)
88public Hash(Assembly assembly)
system\security\policy\strongname.cs (1)
45internal StrongName(StrongNamePublicKeyBlob blob, String name, Version version, Assembly assembly)
system\security\util\xmlutil.cs (2)
28using Assembly = System.Reflection.Assembly; 496Contract.Assert( groupClass.Module.Assembly != Assembly.GetExecutingAssembly(),
system\threading\compressedstack.cs (1)
605internal extern static bool GetDescriptorInfo(IntPtr dcs, int index, out PermissionSet granted, out PermissionSet refused, out Assembly assembly, out FrameSecurityDescriptor fsd);
system\type.cs (7)
112Func<AssemblyName, Assembly> assemblyResolver, 113Func<Assembly, string, bool, Type> typeResolver) 122Func<AssemblyName, Assembly> assemblyResolver, 123Func<Assembly, string, bool, Type> typeResolver, 133Func<AssemblyName, Assembly> assemblyResolver, 134Func<Assembly, string, bool, Type> typeResolver, 322public abstract Assembly Assembly {
system\typenameparser.cs (10)
79Func<AssemblyName, Assembly> assemblyResolver, 80Func<Assembly, string, bool, Type> typeResolver, 132Func<AssemblyName, Assembly> assemblyResolver, 133Func<Assembly, string, bool, Type> typeResolver, 139Assembly assembly = null; 209private static Assembly ResolveAssembly(string asmName, Func<AssemblyName, Assembly> assemblyResolver, bool throwOnError, ref StackCrawlMark stackMark) 213Assembly assembly = null; 247private static Type ResolveType(Assembly assembly, string[] names, Func<Assembly, string, bool, Type> typeResolver, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark)
system\unityserializationholder.cs (4)
226Assembly assembly; 279assembly = Assembly.Load(m_assemblyName); 294assembly = Assembly.Load(m_assemblyName); 313assembly = Assembly.Load(m_assemblyName);
PresentationBuildTasks (54)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
389internal Assembly LocalAssembly 2385AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName); 3434private Assembly _localAssembly = null;
BuildTasks\MS\Internal\Tasks\IncrementalCompileAnalyzer.cs (1)
92if (IsFileChanged(Assembly.GetExecutingAssembly().Location) ||
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (3)
75string acPath = Assembly.GetExecutingAssembly().Location; 374Assembly curAsm = Assembly.GetExecutingAssembly();
Framework\System\Windows\Markup\BamlMapTable.cs (3)
1013private Assembly GetAssemblyFromAssemblyInfo(BamlAssemblyInfoRecord assemblyInfoRecord) 1141internal void EnsureAssemblyRecord(Assembly asm) 1585Assembly ownerAsm = ownerType.Assembly;
Framework\System\Windows\Markup\BamlRecords.cs (2)
4489internal Assembly Assembly 4502Assembly _assembly;
Framework\System\Windows\Markup\KnownTypes.cs (6)
4744private static Assembly _asmFramework; 4745private static Assembly _asmCore; 4746private static Assembly _asmBase; 4748public void Initialize(Assembly asmFramework, Assembly asmCore, Assembly asmBase)
Framework\System\Windows\Markup\KnownTypesHelper.cs (3)
36internal static void InitializeKnownTypes(Assembly asmFramework, Assembly asmCore, Assembly asmBase)
Framework\System\Windows\Markup\ParserContext.cs (1)
892Assembly xamlAssembly = attributeType.Assembly;
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
3375Assembly asmPC = ReflectionHelper.GetAlreadyReflectionOnlyLoadedAssembly("PRESENTATIONCORE"); 6732Assembly asmXml = ReflectionHelper.GetAlreadyReflectionOnlyLoadedAssembly("SYSTEM.XML");
Framework\System\Windows\Markup\XamlTypeMapper.cs (9)
467private Assembly OnReferencedAssemblyResolve( 477Assembly asm = ReflectionHelper.GetAlreadyReflectionOnlyLoadedAssembly(assemblyShortName); 2570private static bool IsFriendAssembly(Assembly assembly) 2706Assembly assembly ; 4348internal static Assembly AssemblyWB = null; 4349internal static Assembly AssemblyPC = null; 4350internal static Assembly AssemblyPF = null; 4557internal Assembly Assembly 4610Assembly _assembly;
Framework\System\Windows\Markup\XmlnsCache.cs (7)
102List<Assembly> interestingAssemblies = new List<Assembly>(); 108Assembly assy; 139Assembly[] asmList = interestingAssemblies.ToArray(); 230private CustomAttributeData[] GetAttributes(Assembly asm, string fullClrName) 313private void LoadClrnsToAssemblyNameMappingCache(Assembly[] asmList) 383private void ProcessXmlnsCompatibleWithAttributes(Assembly[] asmList)
Shared\System\Windows\Markup\ReflectionHelper.cs (14)
62Assembly a = null; 151Assembly asmSystem = LoadAssembly("System", null); 358internal static Assembly LoadAssembly(string assemblyName, string assemblyPath) 453internal static bool IsFriendAssembly(Assembly sourceAssembly) 507internal static Assembly GetAlreadyReflectionOnlyLoadedAssembly(string assemblyNameLookup) 509return (Assembly)_reflectionOnlyLoadedAssembliesHash[assemblyNameLookup]; 517private static Assembly ReflectionOnlyLoadAssembly(string assemblyGivenName, string fullpath) 525Assembly asm = (Assembly)_reflectionOnlyLoadedAssembliesHash[assemblyShortName]; 544Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 573asm = Assembly.ReflectionOnlyLoad(asmContents); 598Assembly[] assemblies = AppDomain.CurrentDomain.ReflectionOnlyGetAssemblies(); 613asm = Assembly.ReflectionOnlyLoadFrom(fullpath); 621asm = Assembly.ReflectionOnlyLoad(assemblyGivenName);
PresentationCore (25)
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (4)
29private static void ConstructFontResourceCache(Assembly entryAssembly, Dictionary<string, List<string>> folderResourceMap) 66Assembly uriAssembly; 150private static Dictionary<Assembly, Dictionary<string, List<string>>> _assemblyCaches 151= new Dictionary<Assembly, Dictionary<string, List<string>>>(1);
Core\CSharp\MS\Internal\Resources\ContentFileHelper.cs (1)
42static internal Dictionary<string, string> GetContentFiles(Assembly asm)
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (3)
42internal ResourceManagerWrapper(Assembly assembly) 111internal Assembly Assembly 285private Assembly _assembly = null;
Core\CSharp\System\Windows\Interop\HwndSourceParameters.cs (1)
428if (string.Compare(System.Reflection.Assembly.GetEntryAssembly().GetName().Name, "drthwndsource", true) == 0)
Core\CSharp\System\Windows\Media\ColorContext.cs (2)
129_colorProfileResources, Assembly.GetAssembly(typeof(ColorContext)) 627ResourceManager resourceManager = new ResourceManager(_colorProfileResources, Assembly.GetAssembly(typeof(ColorContext)));
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (9)
196internal static void GetAssemblyAndPartNameFromPackAppUri(Uri uri, out Assembly assembly, out string partName) 230internal static Assembly GetLoadedAssembly(string assemblyName, string assemblyVersion, string assemblyKey) 232Assembly assembly; 257assembly = Assembly.Load(asmName); 366Assembly assembly = ResourceAssembly; 458static internal Assembly ResourceAssembly 464_resourceAssembly = Assembly.GetEntryAssembly(); 481static internal Uri AppendAssemblyVersion(Uri uri, Assembly assemblyInfo) 708private static Assembly _resourceAssembly;
Shared\MS\Internal\SafeSecurityHelper.cs (4)
93internal static string GetAssemblyPartialName(Assembly assembly) 182internal static Assembly GetLoadedAssembly(AssemblyName assemblyName) 184Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 208static AssemblyName GetAssemblyName(Assembly assembly)
Shared\MS\Utility\PerfService.cs (1)
52Assembly asm = type.Assembly;
PresentationFramework (121)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (2)
59Assembly a = args.LoadedAssembly; 101private string AssemblyNameWithFileVersion(Assembly a)
src\Framework\MS\Internal\AppModel\BamlStream.cs (3)
48internal BamlStream(Stream stream, Assembly assembly) 66Assembly IStreamInfo.Assembly 289private SecurityCriticalDataForSet<Assembly> _assembly;
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (2)
96Assembly deploymentDll = Assembly.GetAssembly(hostingManager.GetType());
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (4)
65Assembly asmApplication = Application.ResourceAssembly; 268Assembly assembly = args.LoadedAssembly; 320private void UpdateCachedRMW(string key, Assembly assembly) 361Assembly assembly;
src\Framework\MS\Internal\AppModel\XappLauncher.cs (4)
397Assembly customPageAssembly = string.IsNullOrEmpty(pageAssemblyName) ? typeof(TenFeetInstallationProgress).Assembly : Assembly.Load(pageAssemblyName); 1222Assembly assy = Assembly.Load(assyName);
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (2)
831Assembly assm = Assembly.Load(assemblyName);
src\Framework\MS\Internal\Navigation\BindStream.cs (2)
459Assembly IStreamInfo.Assembly 463Assembly assembly = null;
src\Framework\System\Windows\Application.cs (4)
1150public static Assembly ResourceAssembly 1159_resourceAssembly = Assembly.GetEntryAssembly(); 1171if ((_resourceAssembly == null) && (Assembly.GetEntryAssembly() == null)) 2778static private Assembly _resourceAssembly;
src\Framework\System\Windows\ComponentResourceKey.cs (1)
72public override Assembly Assembly
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
764System.Reflection.Assembly assembly = this.GetType().Assembly;
src\Framework\System\Windows\Documents\FixedSchema.cs (3)
461ResourceManager resourceManager = new ResourceManager( "Schemas_S0", Assembly.GetAssembly(typeof(XpsS0Schema))); 473ResourceManager resourceManager = new ResourceManager( "Schemas_S0", Assembly.GetAssembly(typeof(XpsS0Schema))); 795ResourceManager resourceManager = new ResourceManager("Schemas_DocStructure", Assembly.GetAssembly(typeof(XpsDocStructSchema)));
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (4)
149Assembly plugIn = Assembly.LoadFrom(assemblyPath); 236Assembly plugIn = Assembly.ReflectionOnlyLoadFrom(sd._assemblyPath);
src\Framework\System\Windows\EventSetterHandlerConverter.cs (1)
62Assembly a = typeof(IRootObjectProvider).Assembly;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (2)
69public static Assembly GetKnownAssembly(Int16 assemblyId) 71Assembly assembly;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2127internal virtual string GetAssemblyNameForNamespace(Assembly assembly)
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (14)
22public Baml2006SchemaContext(Assembly localAssembly): 27internal Baml2006SchemaContext(Assembly localAssembly, XamlSchemaContext parentSchemaContext) 28: base(new Assembly[0]) 102internal Assembly LocalAssembly { get { return _localAssembly; } } 128internal Assembly GetAssembly(Int16 assemblyId) 475private Assembly ResolveAssembly(BamlAssembly bamlAssembly) 491bamlAssembly.Assembly = Assembly.Load(assemblyName.FullName); 511bamlAssembly.Assembly = Assembly.Load(shortName); 521bamlAssembly.Assembly = Assembly.LoadWithPartialName(assemblyName.Name); 551Assembly assembly = ResolveAssembly(bamlAssembly); 592Assembly assembly = KnownTypes.GetKnownAssembly(assemblyId); 709private Assembly _localAssembly; 733public BamlAssembly(Assembly assembly) 748internal Assembly Assembly;
src\Framework\System\Windows\Markup\Baml2006\Baml6Assembly.cs (6)
12private Assembly _assembly; 28public Baml6Assembly(Assembly assembly) 39public Assembly Assembly 57_assembly = Assembly.Load(assemblyName.FullName); 66_assembly = Assembly.Load(shortName); 71_assembly = Assembly.LoadWithPartialName(assemblyName.Name);
src\Framework\System\Windows\Markup\BamlMapTable.cs (4)
791Assembly assembly = GetAssemblyFromAssemblyInfo(assemblyInfoRecord); 1013private Assembly GetAssemblyFromAssemblyInfo(BamlAssemblyInfoRecord assemblyInfoRecord) 1141internal void EnsureAssemblyRecord(Assembly asm) 1585Assembly ownerAsm = ownerType.Assembly;
src\Framework\System\Windows\Markup\BamlReader.cs (3)
1875Assembly asm = Assembly.Load(asmRecord.AssemblyFullName); 2657Assembly typeAssembly = typeInfo.Type.Assembly;
src\Framework\System\Windows\Markup\BamlRecords.cs (2)
4489internal Assembly Assembly 4502Assembly _assembly;
src\Framework\System\Windows\Markup\BamlWriter.cs (4)
1085private Assembly GetAssembly(string assemblyName) 1087Assembly assy = _assemblies[assemblyName] as Assembly; 1120Assembly assembly = GetAssembly(assemblyName);
src\Framework\System\Windows\Markup\IStreamInfo.cs (1)
21Assembly Assembly { get; }
src\Framework\System\Windows\Markup\ParserContext.cs (3)
414internal Assembly StreamCreatedAssembly 860private SecurityCriticalDataForSet<Assembly> _streamCreatedAssembly; 892Assembly xamlAssembly = attributeType.Assembly;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (5)
1570private static Dictionary<Assembly, Dictionary<string, string>> XmlnsDefinitions = new Dictionary<Assembly, Dictionary<string, string>>(); 1574static Dictionary<string, string> GetMappingsFor(Assembly assembly) 1613Assembly referencedAssembly = Assembly.Load(new AssemblyName(definition.AssemblyName));
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (7)
241Assembly assem = ReflectionHelper.GetAlreadyLoadedAssembly(asmName); 2297Assembly assy = ReflectionHelper.LoadAssembly(usd.AssemblyName, null); 2317Assembly assy = namespaces[i].Assembly; 2706Assembly assembly ; 2820Assembly a = pc.StreamCreatedAssembly; 4557internal Assembly Assembly 4610Assembly _assembly;
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
235protected override Assembly OnAssemblyResolve(string assemblyName)
src\Framework\System\Windows\Markup\XmlnsCache.cs (6)
185Assembly[] asmList = new Assembly[asmNameList.Length]; 200Assembly[] asmList = AppDomain.CurrentDomain.GetAssemblies(); 289private Attribute[] GetAttributes(Assembly asm, Type attrType) 350Assembly[] asmList, 383private void ProcessXmlnsCompatibleWithAttributes(Assembly[] asmList)
src\Framework\System\Windows\ResourceKey.cs (1)
27public abstract Assembly Assembly
src\Framework\System\Windows\Standard\Utilities.cs (1)
30private static readonly Version _presentationFrameworkVersion = Assembly.GetAssembly(typeof(Window)).GetName().Version;
src\Framework\System\Windows\SystemResourceKey.cs (1)
1884public override Assembly Assembly
src\Framework\System\Windows\SystemResources.cs (20)
367Assembly assembly = (typeKey != null) ? typeKey.Assembly : resourceKey.Assembly; 467private static ResourceDictionaries EnsureDictionarySlot(Assembly assembly) 477_dictionaries = new Dictionary<Assembly, ResourceDictionaries>(1); 490private static bool IgnoreAssembly(Assembly assembly) 495private static Assembly MsCorLib 508private static Assembly PresentationFramework 521private static Assembly PresentationCore 534private static Assembly WindowsBase 556internal ResourceDictionaries(Assembly assembly) 777private void LoadExternalAssembly(bool classic, bool generic, out Assembly assembly, out string assemblyName) 803assembly = Assembly.Load(fullName); 912private ResourceDictionary LoadDictionary(Assembly assembly, string assemblyName, string resourceName, bool isTraceEnabled, out Uri dictionarySourceUri) 1022private Assembly _assembly; 1029private Assembly _themedDictionaryAssembly; 1030private Assembly _genericDictionaryAssembly; 1765private static Dictionary<Assembly, ResourceDictionaries> _dictionaries; 1772private static Assembly _mscorlib; 1773private static Assembly _presentationFramework; 1774private static Assembly _presentationCore; 1775private static Assembly _windowsBase;
src\Framework\System\Windows\SystemThemeKey.cs (2)
38public override Assembly Assembly 97private static Assembly _presentationFrameworkAssembly;
src\Framework\System\Windows\TemplateKey.cs (1)
132public override Assembly Assembly
src\Framework\System\Windows\ThemeInfoAttribute.cs (1)
52internal static ThemeInfoAttribute FromAssembly(Assembly assembly)
src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
93internal static string GetAssemblyPartialName(Assembly assembly) 116Assembly protoAssembly,
SMSvcHost (1)
System\ServiceModel\Activation\WorkerProcess.cs (1)
225Version ourVersion = Assembly.GetExecutingAssembly().GetName().Version;
svcutil (1)
parent\WcfCommonResStrings\CommonResStrings.cs (1)
10private static ResourceManager resmgr = new ResourceManager("CommonResStrings", Assembly.GetExecutingAssembly());
System (35)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
3496results.CompiledAssembly = Assembly.Load(assemblyBuff, symbolsBuff, options.Evidence);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2919results.CompiledAssembly = Assembly.Load(b, null, options.Evidence);
compmod\microsoft\win32\SystemEvents.cs (10)
1071Assembly entryAssembly = Assembly.GetEntryAssembly(); 1121Assembly entryAssembly = Assembly.GetEntryAssembly(); 1171Assembly entryAssembly = Assembly.GetEntryAssembly(); 1233Assembly exe = Assembly.GetEntryAssembly(); 1252Assembly asm = Assembly.GetEntryAssembly();
compmod\system\codedom\compiler\CodeCompiler.cs (6)
412results.CompiledAssembly = Assembly.Load(b, null, options.Evidence); 559internal static Assembly LoadImageSkipIntegrityCheck(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence) { 561MethodInfo methodInfo = typeof(Assembly).GetMethod("LoadImageSkipIntegrityCheck", BindingFlags.NonPublic | BindingFlags.Static); 565Assembly result = methodInfo != null ? 566(Assembly)methodInfo.Invoke(null, new object[] { rawAssembly, rawSymbolStore, securityEvidence }) : 568Assembly.Load(rawAssembly, rawSymbolStore, securityEvidence);
compmod\system\codedom\compiler\CompilerResults.cs (3)
35private Assembly compiledAssembly; 100public Assembly CompiledAssembly { 109compiledAssembly = Assembly.Load(assemName,evidence);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (5)
48public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { 81public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { 113resourceAssembly = Assembly.GetEntryAssembly(); 121foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) { 224private Stream CaseInsensitiveManifestResourceStreamLookup(Assembly satellite, string name)
compmod\system\componentmodel\design\ITypeResolutionService.cs (2)
23Assembly GetAssembly(AssemblyName name); 28Assembly GetAssembly(AssemblyName name, bool throwOnError);
compmod\system\componentmodel\design\PropertyTabAttribute.cs (2)
112Assembly a = Assembly.Load(assemblyName);
compmod\system\componentmodel\LicenseContext.cs (1)
35public virtual string GetSavedLicenseKey(Type type, Assembly resourceAssembly) {
compmod\system\componentmodel\LicenseManager.cs (1)
558public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) {
compmod\system\componentmodel\TypeDescriptor.cs (1)
3092public static void Refresh(Assembly assembly)
compmod\system\diagnostics\SwitchAttribute.cs (1)
51 public static SwitchAttribute[] GetAll(Assembly assembly) {
misc\SecurityUtils.cs (1)
72private static void DemandGrantSet(Assembly assembly) {
System.Activities (63)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
186Assembly tassembly = type.Assembly; 318Assembly tassembly = type.Assembly;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (24)
42public static readonly HashSet<Assembly> DefaultReferencedAssemblies = new HashSet<Assembly> 51public static AssemblyName GetFastAssemblyName(Assembly assembly) 89static Dictionary<HashSet<Assembly>, HostedCompilerWrapper> HostedCompilerCache; 95static HostedCompilerWrapper GetCachedHostedCompiler(HashSet<Assembly> assemblySet) 101new Dictionary<HashSet<Assembly>, HostedCompilerWrapper>(HostedCompilerCacheSize, HashSet<Assembly>.CreateSetComparer()), 118HashSet<Assembly> oldestCompiler = null; 119foreach (KeyValuePair<HashSet<Assembly>, HostedCompilerWrapper> kvp in HostedCompilerCache) 145HashSet<Assembly> referencedAssemblies; 174this.referencedAssemblies = new HashSet<Assembly>(); 176Assembly loaded = AssemblyReference.GetAssembly(assemblyName); 271helper.referencedAssemblies = new HashSet<Assembly>(); 297this.referencedAssemblies = new HashSet<Assembly>(); 337this.referencedAssemblies.ToList<Assembly>()); 435this.referencedAssemblies = new HashSet<Assembly>(); 496this.referencedAssemblies.ToList<Assembly>()); 1539static IEqualityComparer<HashSet<Assembly>> AssemblySetEqualityComparer = HashSet<Assembly>.CreateSetComparer(); 1544HashSet<Assembly> assemblies; 1549public RawTreeCacheKey(string expressionText, Type returnType, HashSet<Assembly> assemblies, HashSet<string> namespaces) 1553this.assemblies = new HashSet<Assembly>(assemblies); 1606List<Assembly> assemblies; 1609public VisualBasicScriptAndTypeScope(LocationReferenceEnvironment environmentProvider, List<Assembly> assemblies)
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
87internal Assembly EarlyBoundAssembly
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (6)
32IList<Assembly> xsCtxReferenceAssemblies = null; 205Assembly assembly = args.LoadedAssembly; 242Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 246Assembly assembly = assemblies[i]; 260static void CacheLoadedAssembly(Assembly assembly) 399internal Assembly EarlyBoundAssembly
System\Activities\Debugger\SourceLocationProvider.cs (2)
94Assembly localAssembly; 251internal static object Deserialize(byte[] buffer, Assembly localAssembly)
System\Activities\Debugger\XamlDebuggerXmlReader.cs (1)
77internal XamlDebuggerXmlReader(TextReader underlyingTextReader, XamlSchemaContext schemaContext, Assembly localAssembly)
System\Activities\Expressions\AssemblyReference.cs (14)
42private Assembly assembly; 51internal AssemblyReference(Assembly assembly, AssemblyName assemblyName) 59public Assembly Assembly 89public static implicit operator AssemblyReference(Assembly assembly) 140internal static Assembly GetAssembly(AssemblyName assemblyName) 157Assembly assembly = assemblyCache[assemblyName] as Assembly; 169Assembly[] currentAssemblies = AppDomain.CurrentDomain.GetAssemblies(); 172Assembly curAsm = currentAssemblies[i]; 216internal static AssemblyName GetFastAssemblyName(Assembly assembly) 254private static Assembly LoadAssembly(AssemblyName assemblyName) 256Assembly loaded = null; 265loaded = Assembly.Load(assemblyName.FullName); 287loaded = Assembly.LoadWithPartialName(assemblyName.FullName);
System\Activities\ExpressionUtilities.cs (1)
22static Assembly linqAssembly = typeof(Func<>).Assembly;
System\Activities\Runtime\CallbackWrapper.cs (2)
247Assembly callbackAssembly; 250callbackAssembly = Assembly.Load(this.declaringAssemblyName);
System\Activities\XamlIntegration\ActivityXamlServices.cs (5)
417Assembly typesAssembly = componentType.Assembly; 479static void GetContentsOfBeforeInitializeExtensionResource(Assembly assembly, string resource, out string xamlResourceName, out string helperClassName) 493static XamlSchemaContext GetXamlSchemaContext(Assembly assembly, string helperClassName) 606Assembly.Load(serviceModelDll); 607Assembly.Load(serviceModelActivitiesDll);
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (4)
38Assembly assembly = ResolveAssembly(result.AssemblyName, schemaContext.ReferenceAssemblies); 99private static Assembly ResolveAssembly(AssemblyName assemblyReference, IEnumerable<Assembly> assemblies) 101foreach (Assembly assembly in assemblies)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
152AssemblyName currentAssemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (2)
54foreach (Assembly loadedAssembly in AppDomain.CurrentDomain.GetAssemblies()) 73private void CheckAndWork(Assembly loadedAssembly)
System.Activities.Presentation (37)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (3)
48Assembly assembly = type.Assembly; 81Assembly assembly, 135private static ImageInfo ProcessResource(Assembly assembly, string resourceName)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1068public override Assembly Assembly { get { return _baseReflectionType.Assembly; } }
System.Activities.Presentation\System\Activities\Presentation\Hosting\IMultiTargetingSupportService.cs (1)
19Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
System.Activities.Presentation\System\Activities\Presentation\Hosting\MultiTargetingSupportService.cs (1)
25public abstract Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (5)
104Collection<Assembly> assemblies = new Collection<Assembly>(); 108Assembly assembly; 134Assembly assembly = AssemblyContextControlItem.GetAssembly(localAssembly, multiTargetingService); 141foreach (Assembly assembly in assemblies)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
219Assembly toolAssembly = Assembly.Load(this.AssemblyName);
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
139AssemblyName currentAssemblyName = Assembly.GetExecutingAssembly().GetName();
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (9)
69foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies()) 82public IEnumerable<Assembly> GetEnvironmentAssemblies (IMultiTargetingSupportService multiTargetingService) 86return AppDomain.CurrentDomain.GetAssemblies().Where<Assembly>(assembly => !assembly.IsDynamic); 90List<Assembly> assemblies = new List<Assembly>(); 93Assembly assembly = GetAssembly(assemblyName, multiTargetingService); 105public static Assembly GetAssembly(AssemblyName assemblyName, IMultiTargetingSupportService multiTargetingService) 107Assembly assembly = null; 116assembly = Assembly.Load(assemblyName);
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (8)
533Assembly assembly = AssemblyContextControlItem.GetAssembly(updatedReference, multiTargetingService); 543private void OnReferenceUpdated(Assembly assembly, bool isAdded) 615private void UpdateAvailableNamespaces(Assembly assembly, AssemblyContextControlItem assemblyContextItem) 638IEnumerable<string> GetUniqueNamespacesInAssembly(Assembly assembly, AssemblyContextControlItem assemblyContextItem) 691IEnumerable<Assembly> allAssemblies = assemblyItem.GetEnvironmentAssemblies(multiTargetingService); 694allAssemblies = allAssemblies.Union<Assembly>(new Collection<Assembly> { 699foreach (Assembly assembly in allAssemblies)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (6)
133Assembly local = AssemblyContextControlItem.GetAssembly(this.assemblyContext.LocalAssemblyName, multiTargetingSupportService); 164IEnumerable<Assembly> assemblies = this.assemblyContext.GetEnvironmentAssemblies(multiTargetingSupportService); 165foreach (Assembly assembly in assemblies.OrderBy<Assembly, string>(p => p.FullName)) 517Assembly assembly; 522public AssemblyNode(Assembly assembly, bool isLocal, Func<Type, bool> filter, EditingContext context)
System.AddIn (53)
System\Addin\Hosting\ActivationWorker.cs (10)
99Assembly.LoadFrom(_pipeline._contract.Location); 112Assembly.LoadFrom(_pipeline._addinBase.Location); 114Assembly addInAssembly = Assembly.LoadFrom(_pipeline._addin.Location); 115Assembly addinAdapterAssembly = Assembly.LoadFrom(_pipeline._addinAdapter.Location); 150foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies()) 175internal System.AddIn.Contract.IContract CreateAddInAdapter(Object addIn, Assembly addinAdapterAssembly) 200internal Assembly ResolveAssembly(Object sender, ResolveEventArgs args) 222Assembly a = Utils.FindLoadedAssemblyRef(assemblyRef);
System\Addin\Hosting\AddInActivator.cs (18)
116Assembly sysAddIn = typeof(AddInActivator).Assembly; 144Assembly a = permission.GetType().Assembly; 326Assembly addInAssembly = Assembly.LoadFrom(pipeline._addin.Location); 499Assembly hostAdapterAssembly = Assembly.LoadFrom(hostAdapter.Location); 500Assembly contractAssembly = Assembly.LoadFrom(contract.Location); 584List<Assembly> contracts = new List<Assembly>(); 585List<Assembly> addinAdapters = new List<Assembly>(); 586foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies()) { 596foreach (Assembly a in addinAdapters) { 613foreach (Assembly a in contracts) 646internal Assembly ResolveAssemblyForHostAdapter(Object sender, ResolveEventArgs args) 657Assembly a = Utils.FindLoadedAssemblyRef(assemblyRef); 687internal static StrongName CreateStrongName(Assembly assembly)
System\Addin\Hosting\AddInControllerImpl.cs (3)
212Assembly.LoadFrom(_token._contract.Location); 213Assembly addinAdapterAssembly = Assembly.LoadFrom(_token._addinAdapter.Location);
System\Addin\Hosting\AddInServer.cs (1)
59Assembly sysCore = typeof(AddInActivator).Assembly;
System\Addin\Hosting\InspectionWorker.cs (11)
40private static Assembly SystemAddInInReflectionOnlyContext; 41private static Assembly SystemAddInContractsInReflectionOnlyContext; 49SystemAddInInReflectionOnlyContext = Assembly.ReflectionOnlyLoad(typeof(AddInStore).Assembly.FullName); 50SystemAddInContractsInReflectionOnlyContext = Assembly.ReflectionOnlyLoad(typeof(System.AddIn.Contract.IContract).Assembly.FullName); 56internal Assembly ResolveAssembly(Object sender, ResolveEventArgs args) 143Assembly a = Assembly.ReflectionOnlyLoadFrom(fileName); 164return Assembly.ReflectionOnlyLoad(assemblyRef); 172return Assembly.ReflectionOnlyLoad(AppDomain.CurrentDomain.ApplyPolicy(assemblyRef)); 228Assembly a = Assembly.ReflectionOnlyLoadFrom(_assemblyFileName);
System\Addin\Hosting\Store\PipelineComponent.cs (2)
161internal static void SetTypesFromReflectionLoaderContext(System.Reflection.Assembly systemAddInInReflLoaderContext, 162System.Reflection.Assembly systemAddInContractsInReflLoaderContext)
System\Addin\Hosting\Utils.cs (5)
203internal static Assembly FindLoadedAssemblyRef(String assemblyRef) 207foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies()) { 217internal static Assembly LoadAssemblyFrom(List<String> dirsToLookIn, String assemblyRef) 239Assembly assembly = Assembly.LoadFrom(fileName);
System\Addin\MiniReflection\MiniAssembly.cs (2)
38private System.Reflection.Assembly _reflectionAssembly; 49public MiniAssembly(System.Reflection.Assembly assembly)
System\Addin\MiniReflection\TypeInfo.cs (1)
166System.Reflection.Assembly mscorlib = typeof(Object).Assembly;
System.Configuration (10)
System\Configuration\ClientConfigPaths.cs (3)
71Assembly exeAssembly = null; 84exeAssembly = Assembly.GetEntryAssembly(); 447private void SetNamesAndVersion(string applicationFilename, Assembly exeAssembly, bool isHttp) {
System\Configuration\ClientConfigPerf.cs (1)
17using Assembly = System.Reflection.Assembly;
System\Configuration\ClientConfigurationSystem.cs (1)
17using Assembly = System.Reflection.Assembly;
System\Configuration\RuntimeConfigurationRecord.cs (1)
19using Assembly = System.Reflection.Assembly;
System\Configuration\TypeUtil.cs (4)
36Assembly systemAssembly = typeof(ConfigurationException).Assembly; 227Assembly assembly = type.Assembly; 244private static bool HasAptcaBit(Assembly assembly) { 306Assembly assembly = t.Assembly;
System.Core (3)
Microsoft\Scripting\Ast\TypeUtils.cs (3)
684private static readonly Assembly _mscorlib = typeof(object).Assembly; 685private static readonly Assembly _systemCore = typeof(Expression).Assembly; 702var asm = t.Assembly;
System.Data (48)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (3)
63string assemblyLocation = Assembly.GetExecutingAssembly().Location; 193private Assembly ResolveExtensionAssembly(object sender, ResolveEventArgs args) 200return Assembly.LoadFrom(assemblyFullPath);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\manifestimages.cs (3)
48Assembly assembly = type.Assembly; 81Assembly assembly, 135private static ImageInfo ProcessResource(Assembly assembly, string resourceName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1068public override Assembly Assembly { get { return _baseReflectionType.Assembly; } }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\IMultiTargetingSupportService.cs (1)
19Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\MultiTargetingSupportService.cs (1)
25public abstract Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (5)
104Collection<Assembly> assemblies = new Collection<Assembly>(); 108Assembly assembly; 134Assembly assembly = AssemblyContextControlItem.GetAssembly(localAssembly, multiTargetingService); 141foreach (Assembly assembly in assemblies)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
219Assembly toolAssembly = Assembly.Load(this.AssemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
139AssemblyName currentAssemblyName = Assembly.GetExecutingAssembly().GetName();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (9)
69foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies()) 82public IEnumerable<Assembly> GetEnvironmentAssemblies (IMultiTargetingSupportService multiTargetingService) 86return AppDomain.CurrentDomain.GetAssemblies().Where<Assembly>(assembly => !assembly.IsDynamic); 90List<Assembly> assemblies = new List<Assembly>(); 93Assembly assembly = GetAssembly(assemblyName, multiTargetingService); 105public static Assembly GetAssembly(AssemblyName assemblyName, IMultiTargetingSupportService multiTargetingService) 107Assembly assembly = null; 116assembly = Assembly.Load(assemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (8)
533Assembly assembly = AssemblyContextControlItem.GetAssembly(updatedReference, multiTargetingService); 543private void OnReferenceUpdated(Assembly assembly, bool isAdded) 615private void UpdateAvailableNamespaces(Assembly assembly, AssemblyContextControlItem assemblyContextItem) 638IEnumerable<string> GetUniqueNamespacesInAssembly(Assembly assembly, AssemblyContextControlItem assemblyContextItem) 691IEnumerable<Assembly> allAssemblies = assemblyItem.GetEnvironmentAssemblies(multiTargetingService); 694allAssemblies = allAssemblies.Union<Assembly>(new Collection<Assembly> { 699foreach (Assembly assembly in allAssemblies)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (6)
133Assembly local = AssemblyContextControlItem.GetAssembly(this.assemblyContext.LocalAssemblyName, multiTargetingSupportService); 164IEnumerable<Assembly> assemblies = this.assemblyContext.GetEnvironmentAssemblies(multiTargetingSupportService); 165foreach (Assembly assembly in assemblies.OrderBy<Assembly, string>(p => p.FullName)) 517Assembly assembly; 522public AssemblyNode(Assembly assembly, bool isLocal, Func<Type, bool> filter, EditingContext context)
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
888Module mod = Assembly.GetExecutingAssembly().ManifestModule;
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
108XMLStream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("System.Data.Odbc.OdbcMetaData.xml");
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
94XMLStream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("System.Data.OleDb.OleDbMetaData.xml");
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (2)
215Assembly assembly = Assembly.GetEntryAssembly();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
2204private Assembly ResolveTypeAssembly(AssemblyName asmRef, bool throwOnError) { 2216return Assembly.Load(asmRef);
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
206XMLStream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("System.Data.SqlClient.SqlMetaData.xml");
System.Data.Entity (216)
System\Data\Common\DbProviderServices.cs (2)
350Assembly executingAssembly = Assembly.GetExecutingAssembly();
System\Data\Common\EntityUtil.cs (3)
2064public static Type[] GetTypesSpecial(Assembly assembly) 2087Assembly entryAssembly = Assembly.GetEntryAssembly(); // entry assembly can be unmanaged.
System\Data\Common\Utils\MetadataHelper.cs (1)
169workspace.ImplicitLoadAssemblyForType(nonNullabelType, System.Reflection.Assembly.GetCallingAssembly());
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
1279System.Reflection.Assembly executingAssembly = System.Reflection.Assembly.GetExecutingAssembly();
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (6)
42private List<Assembly> m_knownViewGenAssemblies = new List<Assembly>(); 370IList<Assembly> allViewGenAssemblies = ObjectItemCollection.ViewGenerationAssemblies; 373foreach (Assembly assembly in allViewGenAssemblies) 550Assembly entryAssembly = Assembly.GetEntryAssembly();
System\Data\Metadata\AspProxy.cs (6)
23private Assembly _webAssembly; 84_webAssembly = Assembly.Load(AssemblyRef.SystemWeb); 212internal IEnumerable<Assembly> GetBuildManagerReferencedAssemblies() 233return new List<Assembly>(); 242return new List<Assembly>(); 244return referencedAssemblies.Cast<Assembly>();
System\Data\Metadata\CustomAssemblyResolver.cs (7)
18private Func<AssemblyName, Assembly> _referenceResolver; 19private Func<IEnumerable<Assembly>> _wildcardAssemblyEnumerator; 21internal CustomAssemblyResolver(Func<IEnumerable<Assembly>> wildcardAssemblyEnumerator, Func<AssemblyName, Assembly> referenceResolver) 29internal override bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly) 35internal override IEnumerable<Assembly> GetWildcardAssemblies() 37IEnumerable<Assembly> wildcardAssemblies = _wildcardAssemblyEnumerator();
System\Data\Metadata\DefaultAssemblyResolver.cs (22)
21internal override bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly) 28internal override IEnumerable<Assembly> GetWildcardAssemblies() 33internal Assembly ResolveAssembly(AssemblyName referenceName) 35Assembly assembly = null; 38foreach (Assembly current in GetAlreadyLoadedNonSystemAssemblies()) 62private bool TryFindWildcardAssemblyMatch(AssemblyName referenceName, out Assembly assembly) 66foreach (Assembly current in GetAllDiscoverableAssemblies()) 85private static IEnumerable<Assembly> GetAlreadyLoadedNonSystemAssemblies() 87Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 99private static IEnumerable<Assembly> GetAllDiscoverableAssemblies() 101Assembly assembly = Assembly.GetEntryAssembly(); 102HashSet<Assembly> assemblyList = new HashSet<Assembly>( 105foreach (Assembly loadedAssembly in GetAlreadyLoadedNonSystemAssemblies()) 120foreach (Assembly referenceAssembly in MetadataAssemblyHelper.GetNonSystemReferencedAssemblies(assembly)) 130IEnumerable<Assembly> referencedAssemblies = aspProxy.GetBuildManagerReferencedAssemblies(); 134foreach (Assembly referencedAssembly in referencedAssemblies) 149internal sealed class AssemblyComparer : IEqualityComparer<Assembly> 167public bool Equals(Assembly x, Assembly y) 178public int GetHashCode(Assembly assembly)
System\Data\Metadata\EdmItemCollection.OcAssemblyCache.cs (4)
19private Dictionary<Assembly, ImmutableAssemblyCacheEntry> _conventionalOcCache; 23_conventionalOcCache = new Dictionary<Assembly, ImmutableAssemblyCacheEntry>(); 33internal bool TryGetConventionalOcCacheFromAssemblyCache(Assembly assemblyToLookup, out ImmutableAssemblyCacheEntry cacheEntry) 45internal void AddAssemblyToOcCacheFromAssemblyCache(Assembly assembly, ImmutableAssemblyCacheEntry cacheEntry)
System\Data\Metadata\MetadataArtifactAssemblyResolver.cs (2)
17internal abstract bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly); 18internal abstract IEnumerable<Assembly> GetWildcardAssemblies();
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (11)
167foreach (Assembly assembly in resolver.GetWildcardAssemblies()) 178Assembly assembly = ResolveAssemblyName(assemblyName, resolver); 191private static bool AssemblyContainsResource(Assembly assembly, ref string resourceName) 212private static void LoadResourcesFromAssembly(Assembly assembly, string resourceName, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders, MetadataArtifactAssemblyResolver resolver) 228private static void LoadAllResourcesFromAssembly(Assembly assembly, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders, MetadataArtifactAssemblyResolver resolver) 239private static void CreateAndAddSingleResourceLoader(Assembly assembly, string resourceName, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders) 251internal static string CreateResPath(Assembly assembly, string resourceName) 263internal static string[] GetManifestResourceNamesForAssembly(Assembly assembly) 277private static Assembly ResolveAssemblyName(string assemblyName, MetadataArtifactAssemblyResolver resolver) 282Assembly assembly; 316Assembly assembly = ResolveAssemblyName(assemblyName, resolver);
System\Data\Metadata\MetadataArtifactLoaderResource.cs (2)
25private readonly Assembly _assembly; 33internal MetadataArtifactLoaderResource(Assembly assembly, string resourceName, ICollection<string> uriRegistry)
System\Data\Metadata\MetadataWorkspace.cs (11)
54public MetadataWorkspace(IEnumerable<string> paths, IEnumerable<Assembly> assembliesToConsider) 63Func<AssemblyName, Assembly> resolveReference = (AssemblyName referenceName)=> 65foreach(Assembly assembly in assembliesToConsider) 81private void CreateMetadataWorkspaceWithResolver(IEnumerable<string> paths, Func<IEnumerable<Assembly>> wildcardAssemblies, Func<AssemblyName, Assembly> resolveReference) 349public void LoadFromAssembly(Assembly assembly) 360public void LoadFromAssembly(Assembly assembly, Action<string> logLoadMessage) 367private void ExplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection, Action<string> logLoadMessage) 378private void ImplicitLoadFromAssembly(Assembly assembly, ObjectItemCollection collection) 397internal void ImplicitLoadAssemblyForType(Type type, Assembly callingAssembly) 444internal void ImplicitLoadFromEntityType(EntityType type, Assembly callingAssembly)
System\Data\Metadata\ObjectItemCollection.cs (15)
69internal static IList<Assembly> ViewGenerationAssemblies 82internal static bool IsCompiledViewGenAttributePresent(Assembly assembly) 93internal void ImplicitLoadAllReferencedAssemblies(Assembly assembly, EdmItemCollection edmItemCollection) 102internal void ImplicitLoadViewsFromAllReferencedAssemblies(Assembly assembly) 113foreach (Assembly referenceAssembly in MetadataAssemblyHelper.GetNonSystemReferencedAssemblies(assembly)) 125public void LoadFromAssembly(Assembly assembly) 136public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 146public void LoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection) 157internal void ExplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection, Action<String> logLoadMessage) 173internal void ImplicitLoadFromAssembly(Assembly assembly, EdmItemCollection edmItemCollection) 238internal static Dictionary<string, EdmType> LoadTypesExpensiveWay(Assembly assembly) 283internal static IEnumerable<AssociationType> GetAllRelationshipTypesExpensiveWay(Assembly assembly) 300private static bool LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, 407foreach (Assembly loadedAssembly in knownAssemblies.Assemblies) 422private static void CollectIfViewGenAssembly(Assembly assembly)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (13)
20private readonly static Dictionary<Assembly, ImmutableAssemblyCacheEntry> s_globalAssemblyCache = new Dictionary<Assembly, ImmutableAssemblyCacheEntry>(); 25private static IList<Assembly> s_viewGenAssemblies = new ThreadSafeList<Assembly>(); 32internal static void LoadAssembly(Assembly assembly, bool loadReferencedAssemblies, 39internal static void LoadAssembly(Assembly assembly, bool loadReferencedAssemblies, 42Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>, "This is a bad loader cookie"); 94private static void LoadAssembly(Assembly assembly, bool loadReferencedAssemblies, ObjectItemLoadingSessionData loadingData) 127foreach (Assembly referencedAssembly in MetadataAssemblyHelper.GetNonSystemReferencedAssemblies(assembly)) 137private static void UpdateCache(EdmItemCollection edmItemCollection, Dictionary<Assembly, MutableAssemblyCacheEntry> assemblies) 146private static void UpdateCache(LockedAssemblyCache lockedAssemblyCache, Dictionary<Assembly, MutableAssemblyCacheEntry> assemblies) 149foreach (KeyValuePair<Assembly, MutableAssemblyCacheEntry> entry in assemblies) 156internal static IList<Assembly> ViewGenerationAssemblies
System\Data\Metadata\ObjectLayer\AssemblyCacheEntry.cs (1)
18internal abstract IList<Assembly> ClosureAssemblies { get; }
System\Data\Metadata\ObjectLayer\ImmutableAssemblyCacheEntry.cs (3)
20private readonly System.Collections.ObjectModel.ReadOnlyCollection<Assembly> _closureAssemblies; 24_closureAssemblies = new List<Assembly>(mutableEntry.ClosureAssemblies).AsReadOnly(); 32internal override IList<Assembly> ClosureAssemblies
System\Data\Metadata\ObjectLayer\KnownAssembliesSet.cs (7)
33private Dictionary<Assembly, KnownAssemblyEntry> _assemblies; 36_assemblies = new Dictionary<Assembly, KnownAssemblyEntry>(); 41_assemblies = new Dictionary<Assembly, KnownAssemblyEntry>(set._assemblies); 44internal bool TryGetKnownAssembly(Assembly assembly, object loaderCookie, EdmItemCollection itemCollection, out KnownAssemblyEntry entry) 59internal IEnumerable<Assembly> Assemblies 69internal bool Contains(Assembly assembly, object loaderCookie, EdmItemCollection itemCollection) 75internal void Add(Assembly assembly, KnownAssemblyEntry knownAssemblyEntry)
System\Data\Metadata\ObjectLayer\LockedAssemblyCache.cs (4)
20private Dictionary<Assembly, ImmutableAssemblyCacheEntry> _globalAssemblyCache; 21internal LockedAssemblyCache(object lockObject, Dictionary<Assembly, ImmutableAssemblyCacheEntry> globalAssemblyCache) 55internal bool TryGetValue(Assembly assembly, out ImmutableAssemblyCacheEntry cacheEntry) 61internal void Add(Assembly assembly, ImmutableAssemblyCacheEntry assemblyCacheEntry)
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (11)
21private static Memoizer<Assembly, bool> _filterAssemblyCacheByAssembly = new Memoizer<Assembly, bool>(MetadataAssemblyHelper.ComputeShouldFilterAssembly, EqualityComparer<Assembly>.Default); 23internal static Assembly SafeLoadReferencedAssembly(AssemblyName assemblyName) 25Assembly assembly = null; 29assembly = Assembly.Load(assemblyName); 39private static bool ComputeShouldFilterAssembly(Assembly assembly) 45internal static bool ShouldFilterAssembly(Assembly assembly) 75internal static IEnumerable<Assembly> GetNonSystemReferencedAssemblies(Assembly assembly) 81Assembly referenceAssembly = SafeLoadReferencedAssembly(name);
System\Data\Metadata\ObjectLayer\MutableAssemblyCacheEntry.cs (3)
20private readonly List<Assembly> _closureAssemblies = new List<Assembly>(); 27internal override IList<Assembly> ClosureAssemblies
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (10)
25private Assembly _assembly; 28protected ObjectItemAssemblyLoader(Assembly assembly, AssemblyCacheEntry cacheEntry, ObjectItemLoadingSessionData sessionData) 56internal static ObjectItemAssemblyLoader CreateLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData) 117Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>, "Non loader cookie passed in"); 118return IsAttributeLoader(loaderCookie as Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>); 121internal static bool IsAttributeLoader(Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader> loaderFactory) 131internal static bool IsConventionLoader(Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader> loaderFactory) 147protected static void LoadAssemblies(IEnumerable<Assembly> assemblies, ObjectItemLoadingSessionData sessionData) 149foreach (Assembly assembly in assemblies) 164protected Assembly SourceAssembly { get { return _assembly; } }
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
36internal ObjectItemAttributeAssemblyLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData) 743internal static bool IsSchemaAttributePresent(Assembly assembly) 748internal static ObjectItemAssemblyLoader Create(Assembly assembly, ObjectItemLoadingSessionData sessionData)
System\Data\Metadata\ObjectLayer\ObjectItemCachedAssemblyLoader.cs (1)
18internal ObjectItemCachedAssemblyLoader(Assembly assembly, ImmutableAssemblyCacheEntry cacheEntry, ObjectItemLoadingSessionData sessionData)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
28internal ObjectItemConventionAssemblyLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData) 773internal static ObjectItemAssemblyLoader Create(Assembly assembly, ObjectItemLoadingSessionData sessionData)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (7)
18private Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader> _loaderFactory; 35private readonly Dictionary<Assembly, MutableAssemblyCacheEntry> _listOfAssembliesLoaded = new Dictionary<Assembly, MutableAssemblyCacheEntry>(); 49internal Dictionary<Assembly, MutableAssemblyCacheEntry> AssembliesLoaded { get { return _listOfAssembliesLoaded; } } 102internal Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader> ObjectItemAssemblyLoaderFactory 132Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>, "This is a bad loader cookie"); 143_loaderFactory = (Func<Assembly, ObjectItemLoadingSessionData, ObjectItemAssemblyLoader>)loaderCookie;
System\Data\Metadata\ObjectLayer\ObjectItemNoOpAssemblyLoader.cs (1)
15internal ObjectItemNoOpAssemblyLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData)
System\Data\Objects\CompiledQuery.cs (16)
383arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 395arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 407arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 419arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 431arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 443arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 455arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 467arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 479arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 491arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 503arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 515arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 527arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 539arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 551arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly()); 563arg0.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResult), System.Reflection.Assembly.GetCallingAssembly());
System\Data\Objects\ELinq\MethodCallTranslator.cs (9)
176private static void InitializeVBMethods(Assembly vbAssembly) 188private static IEnumerable<CallTranslator> GetVisualBasicCallTranslators(Assembly vbAssembly) 581private static void InitializeVBMethods(Assembly vbAssembly) 1396internal VBCanonicalFunctionDefaultTranslator(Assembly vbAssembly) 1399private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly) 1432internal VBCanonicalFunctionRenameTranslator(Assembly vbAssembly) 1435private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly) 1469internal VBDatePartTranslator(Assembly vbAssembly) 1483private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly)
System\Data\Objects\ELinq\Translator.cs (4)
393private static void InitializeVBProperties(Assembly vbAssembly) 405private static IEnumerable<PropertyTranslator> GetVisualBasicPropertyTranslators(Assembly vbAssembly) 616internal VBDateAndTimeNowTranslator(Assembly vbAssembly) 619private static PropertyInfo GetProperty(Assembly vbAssembly)
System\Data\Objects\Internal\EntityProxyFactory.cs (9)
54private static Dictionary<Assembly, ModuleBuilder> s_ModuleBuilders = new Dictionary<Assembly, ModuleBuilder>(); 61private static HashSet<Assembly> ProxyRuntimeAssemblies = new HashSet<Assembly>(); 65Assembly assembly = ospaceEntityType.ClrType.Assembly; 402Assembly typeAssembly = proxyType.Assembly; 436private static void AddAssemblyToResolveList(Assembly assembly) 794var scriptIgnoreAttributeAssembly = Assembly.Load(AssemblyRef.SystemWebExtensions);
System\Data\Objects\ObjectContext.cs (7)
1638MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(T), System.Reflection.Assembly.GetCallingAssembly()); 1915this.MetadataWorkspace.ImplicitLoadAssemblyForType(entityCLRType, System.Reflection.Assembly.GetCallingAssembly()); 1945MetadataWorkspace.ImplicitLoadFromEntityType(entitySet.ElementType, System.Reflection.Assembly.GetCallingAssembly()); 2501MetadataWorkspace.ImplicitLoadFromEntityType(entitySet.ElementType, System.Reflection.Assembly.GetCallingAssembly()); 3073this.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TElement), System.Reflection.Assembly.GetCallingAssembly()); 3121this.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TElement), System.Reflection.Assembly.GetCallingAssembly()); 3147this.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TEntity), System.Reflection.Assembly.GetCallingAssembly());
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (5)
106context.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(T), System.Reflection.Assembly.GetCallingAssembly()); 147context.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(T), System.Reflection.Assembly.GetCallingAssembly()); 191context.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(T), System.Reflection.Assembly.GetCallingAssembly()); 360this.QueryState.ObjectContext.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResultType), System.Reflection.Assembly.GetCallingAssembly()); 475this.QueryState.ObjectContext.MetadataWorkspace.ImplicitLoadAssemblyForType(typeof(TResultType), System.Reflection.Assembly.GetCallingAssembly());
System\Data\SqlClient\SqlSpatialServices.cs (1)
60private static bool TryGetSpatialServiceFromAssembly(Assembly assembly, out SqlSpatialServices services)
System\Data\SqlClient\SqlTypesAssembly.cs (5)
99Assembly sqlTypesAssembly = null; 105sqlTypesAssembly = Assembly.Load(asmName); 123internal static bool TryGetSqlTypesAssembly(Assembly assembly, out SqlTypesAssembly sqlAssembly) 134private static bool IsKnownAssembly(Assembly assembly) 153private SqlTypesAssembly(Assembly sqlSpatialAssembly)
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
544using (Stream sourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
System\Data\Entity\Design\EntityFrameworkVersions.cs (1)
60Assembly dataEntity = typeof(EdmItemCollection).Assembly;
System.Data.Linq (4)
Mapping\MappedMetaModel.cs (1)
334foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies()) {
parent\parent\misc\SecurityUtils.cs (1)
72private static void DemandGrantSet(Assembly assembly) {
SqlClient\Common\TypeSystem.cs (2)
234private Assembly assembly; 238private MetaPosition(Assembly assembly, int metadataToken) {
System.Data.Services (5)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1714private static void InitializeObjectItemCollection(ObjectContext objectContext, Assembly assembly)
System\Data\Services\Providers\ReflectionServiceProvider.cs (4)
854HashSet<Assembly> assemblies = new HashSet<Assembly>(EqualityComparer<Assembly>.Default); 866Assembly assembly = resourceType.InstanceType.Assembly;
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
491foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
389assemblyBuilder.AddAssemblyReference(System.Reflection.Assembly.Load("WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"));
System.Data.SqlXml (6)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
348foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) {
System\Xml\Xsl\Xslt\Scripts.cs (2)
166Assembly assembly = CompileAssembly(scriptsForLang); 195private Assembly CompileAssembly(List<ScriptClass> scriptsForLang) {
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
1194asmLocation = Assembly.Load(name).Location; 1209asmLocation = Assembly.LoadFrom(ResolveUri(href, input.BaseUri).ToString()).Location;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
819Assembly assembly = results.CompiledAssembly;
System.Drawing (14)
commonui\System\Drawing\BitmapSelector.cs (8)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 89private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, string typeName) { 93private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, Type attrType) { 104internal static bool SatelliteAssemblyOptIn(Assembly assembly) { 115internal static bool SameAssemblyOptIn(Assembly assembly) { 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 158Assembly satellite = Assembly.Load(assemblyName);
commonui\System\Drawing\Design\ToolboxItem.cs (6)
597Assembly a = ts.GetAssembly(assemblyName); 611Assembly a = null; 613a = Assembly.Load(assemblyName); 624a = Assembly.LoadFrom(assemblyName.CodeBase); 678Assembly a = null; 681a = Assembly.Load(name);
System.Management (31)
Instrumentation\AssemblyNameUtility.cs (4)
28 public static string UniqueToAssemblyMinorVersion(Assembly assembly) 34 public static string UniqueToAssemblyFullVersion(Assembly assembly) 41static string UniqueToAssemblyVersion(Assembly assembly) 47public static string UniqueToAssemblyBuild(Assembly assembly)
Instrumentation\Attributes.cs (2)
139internal static InstrumentedAttribute GetAttribute(Assembly assembly) 147internal static Type[] GetInstrumentedTypes(Assembly assembly)
Instrumentation\Instrumentation.cs (8)
64public static void RegisterAssembly(Assembly assemblyToRegister) 81public static bool IsAssemblyRegistered(Assembly assemblyToRegister) 124Assembly assembly = instanceData as Assembly; 191private static void Initialize(Assembly assembly) 222 private static InstrumentedAssembly GetInstrumentedAssembly(Assembly assembly) 311public InstrumentedAssembly(Assembly assembly, SchemaNaming naming) 316Assembly compiledAssembly = naming.PrecompiledAssembly;
Instrumentation\ManagementInstaller.cs (2)
91Assembly assembly = Assembly.LoadFrom(assemblyPath);
Instrumentation\MetaDataInfo.cs (2)
104public MetaDataInfo(Assembly assembly) : this(assembly.Location) {} 172public static Guid GetMvid(Assembly assembly)
Instrumentation\SchemaRegistration.cs (6)
41public static SchemaNaming GetSchemaNaming(Assembly assembly) 52Assembly assembly; 53SchemaNaming(string namespaceName, string securityDescriptor, Assembly assembly) 85public AssemblySpecificNaming(string namespaceName, string securityDescriptor, Assembly assembly) 219public Assembly PrecompiledAssembly 225return Assembly.LoadFrom(PrecompiledAssemblyPath);
MgmtResManager.cs (2)
14static readonly ResourceManager resMgr = new ResourceManager(Assembly.GetExecutingAssembly().GetName().Name ,Assembly.GetExecutingAssembly(),null);
WmiGenerator.cs (5)
4933Assembly asm = null; 4961curAssemblyName = Assembly.GetExecutingAssembly().GetName(); 4968asm = Assembly.Load(assemblyName); 4983curAssemblyName = Assembly.GetExecutingAssembly().GetName(); 4990asm = Assembly.Load(assemblyName);
System.Runtime.Remoting (26)
channels\http\httpremotinghandler.cs (2)
463Assembly a = Assembly.Load("System.Web.Services, Version="+ThisAssembly.Version+", Culture=neutral, PublicKeyToken= "+AssemblyRef.MicrosoftPublicKey);
metadata\wsdlparser.cs (4)
4456Assembly assem = null; 4461assem = Assembly.LoadWithPartialName(assemName, null); 5203Assembly assem = null; 5208assem = Assembly.LoadWithPartialName(assemName, null);
metadata\wsdlwriter.cs (20)
87internal WsdlGenerator(Type[] types, TextWriter output, Assembly assembly, String url) 96internal WsdlGenerator(Type[] types, SdlType sdlType, TextWriter output, Assembly assembly, String url) 229Assembly assem; 419Assembly assembly = type.Module.Assembly; 438Assembly assem; 471private static bool GetNSAndAssembly(Type type, out String ns, out Assembly assem) 497private XMLNamespace LookupNamespace(String name, Assembly assem) 510private XMLNamespace AddNamespace(String name, Assembly assem) 515private XMLNamespace AddNamespace(String name, Assembly assem, bool bInteropType) 534Assembly assem = null; 805private Assembly _dynamicAssembly; 1517Assembly assem; 1996Assembly fassem; 2312Assembly assem = type.Module.Assembly; 2577internal XMLNamespace(String name, Assembly assem, String serviceEndpoint, Hashtable typeToServiceEndpoint, String prefix, bool bInteropType, WsdlGenerator generator ){ 2585Assembly systemAssembly = typeof(String).Module.Assembly; 2622internal Assembly Assem{ 2803internal XMLNamespace LookupSchemaNamespace(String ns, Assembly assem){ 2826private XMLNamespace LookupSUDSNamespace(String ns, Assembly assem){ 2994private Assembly _assem;
System.Runtime.Serialization (28)
System\Runtime\Serialization\CodeExporter.cs (3)
50AddReferencedAssembly(Assembly.GetExecutingAssembly()); 126void AddReferencedAssembly(Assembly assembly) 518AssemblyName assemblyName = Assembly.GetExecutingAssembly().GetName();
System\Runtime\Serialization\DataContract.cs (1)
2430internal static bool IsAssemblyFriendOfSerialization(Assembly assembly)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (20)
165Assembly assembly; 220Type ResolveDataContractTypeInSharedTypeMode(string assemblyName, string typeName, out Assembly assembly) 241assembly = Assembly.Load(assemblyName); 293DataContract ResolveDataContractInSharedTypeMode(string assemblyName, string typeName, out Assembly assembly, out Type type) 314Assembly assembly; 387static Assembly ResolveSimpleAssemblyName(AssemblyName assemblyName) 392static Assembly ResolveSimpleAssemblyName(string assemblyName) 394Assembly assembly; 401assembly = Assembly.LoadWithPartialName(assemblyName); 406assembly = Assembly.LoadWithPartialName(an.FullName); 415static void CheckTypeForwardedTo(Assembly sourceAssembly, Assembly destinationAssembly, Type resolvedType) 426Assembly typeForwardedFromAssembly = null; 430typeForwardedFromAssembly = Assembly.Load(typeInfo.AssemblyString); 446Assembly topLevelAssembly; 448public TopLevelAssemblyTypeResolver(Assembly topLevelAssembly) 452public Type ResolveType(Assembly assembly, string simpleTypeName, bool ignoreCase) 463Assembly assembly; 465public XmlObjectDataContractTypeInfo(Assembly assembly, Type type) 471public Assembly Assembly
System\Runtime\Serialization\XsdDataContractExporter.cs (4)
95public void Export(ICollection<Assembly> assemblies) 105foreach (Assembly assembly in assemblies) 277public bool CanExport(ICollection<Assembly> assemblies) 285foreach (Assembly assembly in assemblies)
System.ServiceModel (29)
System\ServiceModel\Activation\AspNetEnvironment.cs (1)
360foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3421Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1539singleton = defaultDomain.CreateInstanceAndUnwrap(Assembly.GetExecutingAssembly().FullName, typeof(AllowHelper).FullName) as AllowHelper;
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (2)
131Assembly asm = Assembly.GetExecutingAssembly();
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
93static Assembly ResolveAssembly(object sender, ResolveEventArgs args)
System\ServiceModel\ComIntegration\ITypeCacheManager.cs (1)
14Assembly ResolveAssembly(Guid assembly);
System\ServiceModel\ComIntegration\TypeCacheManager.cs (14)
55private Dictionary<Guid, Assembly> assemblyTable; 62assemblyTable = new Dictionary<Guid, Assembly>(); 162private Assembly ResolveAssemblyFromIID(Guid iid, bool noAssemblyGeneration, bool isServer) 172private Assembly ResolveAssemblyFromTypeLibID(Guid iid, Guid typeLibraryID, string version, bool parseVersionAsHex, bool noAssemblyGeneration) 176Assembly asm; 202asm = Assembly.Load(assembly); // Assembly.Load will get a full assembly name 250Assembly ITypeCacheManager.ResolveAssembly(Guid assembly) 252Assembly ret = null; 269Assembly asm = ResolveAssemblyFromTypeLibID(Guid.Empty, typeLibId, typeLibVersion, false, noAssemblyGeneration); 299Assembly asm = ResolveAssemblyFromIID(iid, noAssemblyGeneration, isServer); 385Assembly asm = Assembly.Load(assemblyName); 431Assembly asm = Assembly.Load(assemblyName);
System\ServiceModel\ComIntegration\TypeLibraryHelper.cs (6)
19internal static Assembly GenerateAssemblyFromNativeTypeLibrary(Guid iid, Guid typeLibraryID, ITypeLib typeLibrary) 77Assembly ITypeLibImporterNotifySink.ResolveRef(object typeLib) 99Dictionary<Guid, Assembly> TypelibraryAssembly = new Dictionary<Guid, Assembly>(); 108private Assembly GenerateAssemblyFromNativeTypeLibInternal(Guid iid, Guid typeLibraryID, ITypeLib typeLibrary) 110Assembly asm = null;
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
74internal void AddReferencedAssembly(Assembly assembly) 553AssemblyName assemblyName = Assembly.GetExecutingAssembly().GetName();
System.ServiceModel.Activation (20)
System\ServiceModel\Activation\ServiceBuildProvider.cs (1)
87foreach (Assembly assembly in parser.AssemblyDependencies)
System\ServiceModel\Activation\ServiceHostFactory.cs (3)
56Assembly assembly = null; 59assembly = Assembly.Load(assemblyName); 84Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
System\ServiceModel\Activation\ServiceParser.cs (10)
263internal string CreateParseString(Assembly compiledAssembly) 288foreach (Assembly assembly in this.referencedAssemblies) 317foreach (Assembly assembly in this.referencedAssemblies) 326foreach (Assembly assembly in this.AssemblyDependencies) 347Type GetCompiledType(Assembly compiledAssembly) 649Assembly a = BuildManager.GetCompiledAssembly(fullVirtualPath); 657Assembly a = Assembly.Load(assemblyName); 661void AddAssemblyDependency(Assembly assembly) 925foreach (Assembly assembly in assemblies)
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (3)
378foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies()) 404Assembly assembly = Assembly.Load(components[i]);
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
103Assembly compiledAssembly = BuildManager.GetCompiledAssembly(virtualPath);
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1324Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 1866Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
System.ServiceModel.Internals (3)
System\Runtime\PartialTrustHelpers.cs (3)
78Assembly assembly = type.Assembly; 91static bool IsAssemblyAptca(Assembly assembly) 103static bool IsAssemblySigned(Assembly assembly)
System.ServiceModel.Web (3)
SR.cs (3)
24ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 50ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 72ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly());
System.Web (197)
Compilation\AssemblyBuilder.cs (3)
203public void AddAssemblyReference(Assembly a) { 213internal void AddAssemblyReference(Assembly a, CodeCompileUnit ccu) { 713foreach (Assembly assembly in _additionalReferencedAssemblies) {
Compilation\AssemblyResolver.cs (18)
28internal ICollection<Assembly> UnresolvedAssemblies { 56private static Dictionary<Assembly, string> s_assemblyLocations; 57private static Dictionary<Assembly, AssemblyResolutionResult> s_assemblyResults; 58private static Dictionary<Assembly, ReferenceAssemblyType> s_assemblyTypes; 180private static Dictionary<Assembly, string> AssemblyLocations { 183s_assemblyLocations = new Dictionary<Assembly, string>(); 189private static Dictionary<Assembly, AssemblyResolutionResult> AssemblyResolutionResults { 192s_assemblyResults = new Dictionary<Assembly, AssemblyResolutionResult>(); 198private static Dictionary<Assembly, ReferenceAssemblyType> ReferenceAssemblyTypes { 201s_assemblyTypes = new Dictionary<Assembly, ReferenceAssemblyType>(); 274Assembly assembly = Assembly.Load(assemblyName); 287Assembly referenceAssembly = CompilationSection.LoadAndRecordAssembly(name); 341internal static ReferenceAssemblyType GetPathToReferenceAssembly(Assembly a, out string path) { 345private static void StoreResults(Assembly a, string path, AssemblyResolutionResult result, ReferenceAssemblyType assemblyType) { 355internal static ReferenceAssemblyType GetPathToReferenceAssembly(Assembly a, out string path, 360internal static ReferenceAssemblyType GetPathToReferenceAssembly(Assembly a, out string path, 393private static ReferenceAssemblyType GetPathToReferenceAssembly(Assembly a, out string path,
Compilation\BaseTemplateBuildProvider.cs (1)
121foreach (Assembly assembly in _parser.AssemblyDependencies) {
Compilation\BrowserCapabilitiesCompiler.cs (5)
39internal static Assembly AspBrowserCapsFactoryAssembly { get; set; } 42Assembly assembly = null; 57assembly = Assembly.Load("ASP.BrowserCapsFactory, Version=" + version + ", Culture=neutral, PublicKeyToken=" + publicKeyToken); 139Assembly assembly = results.CompiledAssembly; 479Assembly assembly = BrowserCapabilitiesCompiler.GetBrowserCapabilitiesFactoryBaseType().Assembly;
Compilation\BuildManager.cs (34)
216private List<Assembly> _topLevelReferencedAssemblies = new List<Assembly>() { 221private List<Assembly> TopLevelReferencedAssemblies { get { return _topLevelReferencedAssemblies; } } 247private Assembly _appResourcesAssembly; 248internal static Assembly AppResourcesAssembly { get { return _theBuildManager._appResourcesAssembly; } } 272private static HashSet<Assembly> s_dynamicallyAddedReferencedAssembly = new HashSet<Assembly>(); 274public static void AddReferencedAssembly(Assembly assembly) { 292Assembly[] assemblies = a.AssemblyInternal; 316foreach (Assembly assembly in s_dynamicallyAddedReferencedAssembly) { 331Assembly[] assemblies = a.AssemblyInternal; 350foreach (Assembly assembly in s_dynamicallyAddedReferencedAssembly) { 528Assembly.Load(LicensesAssemblyName); 788ICollection<Assembly> cachedPreStartAssemblies = LoadCachedPreAppStartAssemblies(preStartInitListPath); 862internal static ICollection<Assembly> LoadCachedPreAppStartAssemblies(string preStartInitListPath) { 869return assemblyList.Select(Assembly.Load) 918var referencedAssemblies = BuildManager.GetReferencedAssemblies(compConfig).Cast<Assembly>(); 927internal static ICollection<MethodInfo> GetPreStartInitMethodsFromAssemblyCollection(IEnumerable<Assembly> assemblies, bool buildingFromCache) { 929foreach (Assembly assembly in assemblies) { 987private Assembly CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, 1006Assembly codeAssembly = CodeDirectoryCompiler.GetCodeDirectoryAssembly( 1340IEnumerable<Assembly> configAssemblies = GetAssembliesForAppLevel(); 1354private static IEnumerable<Assembly> GetAssembliesForAppLevel() { 1361return s_dynamicallyAddedReferencedAssembly.OfType<Assembly>(); 1819Assembly resourceAssembly = null; 1858internal static Assembly GetLocalResourcesAssembly(VirtualPath virtualDir) { 1859return (Assembly)_theBuildManager._localResourcesAssemblies[virtualDir]; 2117Assembly resultAssembly = info.Assembly; 3220public static Assembly GetCompiledAssembly(string virtualPath) { 3283private Assembly ResolveAssembly(object sender, ResolveEventArgs e) { 3289Assembly assembly = (Assembly)_assemblyResolveMapping[name]; 3299return (Assembly)_assemblyResolveMapping[normalizedName]; 3422internal Assembly Assembly;
Compilation\BuildManagerHost.cs (5)
123private Assembly ResolveAssembly(object sender, ResolveEventArgs e) { 134return Assembly.LoadFrom(assemblyLocation); 334List<Assembly> assemblyList = new List<Assembly>(); 343Assembly[] assemblies = assemblyInfo.AssemblyInternal;
Compilation\BuildProvider.cs (1)
335var assembly = results.CompiledAssembly;
Compilation\BuildResult.cs (18)
421internal BuildResultCustomString(Assembly a, string customString) : base(a) { 461internal abstract Assembly ResultAssembly { get; set; } 468internal static Assembly GetPreservedAssembly(PreservationFileReader pfr) { 476Assembly a = Assembly.Load(assemblyName); 512private static void CheckAssemblyIsValid(Assembly a, Hashtable checkedAssemblies) { 518Assembly referencedAssembly = Assembly.Load(aName); 541internal static bool AssemblyIsInCodegenDir(Assembly a) { 557private static bool AssemblyIsInvalid(Assembly a) { 615private Assembly _assembly; 619internal BuildResultCompiledAssembly(Assembly a) { 625internal override Assembly ResultAssembly { 650internal BuildResultMainCodeAssembly(Assembly a) : base(a) { 737internal BuildResultResourceAssembly(Assembly a) : base(a) { } 810internal override Assembly ResultAssembly { 905Assembly localResAssembly = BuildManager.GetLocalResourcesAssembly(virtualDir); 917Assembly a = GetPreservedAssembly(pfr);
Compilation\BuildResultCache.cs (6)
56internal static string GetAssemblyCacheKey(Assembly assembly) { 84Assembly a = args.LoadedAssembly; 184Assembly a = (Assembly) HttpRuntime.Cache.InternalCache.Get(assemblyKey); 337Assembly assembly = (Assembly)HttpRuntime.Cache.InternalCache.Get(cacheKey);
Compilation\ClientBuildManager.cs (2)
469Assembly a = Assembly.LoadFrom(typeAndAsemblyName[1]);
Compilation\CodeDirectoryCompiler.cs (2)
49internal static Assembly GetCodeDirectoryAssembly(VirtualPath virtualDir, 70Assembly resultAssembly = null;
Compilation\DelayLoadType.cs (3)
30Assembly a = Assembly.Load(_assemblyName); 50public override Assembly Assembly {
Compilation\IResourceProvider.cs (3)
128Assembly pageResAssembly = GetLocalResourceAssembly(); 146Assembly pageResAssembly = GetLocalResourceAssembly(); 170private Assembly GetLocalResourceAssembly() {
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
198Assembly a = t.Assembly;
Compilation\ProfileBuildProvider.cs (1)
59internal static Type GetProfileTypeFromAssembly(Assembly assembly, bool isPrecompiledApp) {
Compilation\SimpleHandlerBuildProvider.cs (1)
66foreach (Assembly assembly in _parser.AssemblyDependencies) {
Compilation\XsdBuildProvider.cs (1)
71foreach (Assembly a in TypedDataSetGenerator.ReferencedAssemblies) {
Configuration\AssemblyInfo.cs (2)
35private Assembly[] _assembly; 72internal Assembly[] AssemblyInternal {
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
836Assembly resultAssembly = results.CompiledAssembly;
Configuration\CompilationSection.cs (24)
198private static readonly Lazy<ConcurrentDictionary<Assembly, string>> _assemblyNames = 199new Lazy<ConcurrentDictionary<Assembly, string>>(); 675internal static string GetOriginalAssemblyName(Assembly a) { 685internal Assembly[] LoadAssembly(AssemblyInfo ai) { 686Assembly[] assemblies = null; 691Assembly a; 694assemblies = new Assembly[1]; 702internal static Assembly LoadAndRecordAssembly(AssemblyName name) { 703Assembly a = Assembly.Load(name); 708internal static void RecordAssembly(string assemblyName, Assembly a) { 716internal Assembly LoadAssembly(string assemblyName, bool throwOnFail) { 723Assembly a = Assembly.Load(assemblyName); 741Assembly[] a = ai.AssemblyInternal; 762private Assembly LoadAssemblyHelper(string assemblyName, bool starDirective) { 766Assembly retAssembly = null; 769retAssembly = System.Reflection.Assembly.Load(assemblyName); 834internal Assembly[] LoadAllAssembliesFromAppDomainBinDirectory() { 838Assembly assembly = null; 839Assembly[] assemblies = null; 868assemblies = (System.Reflection.Assembly[])list.ToArray(typeof(System.Reflection.Assembly)); 874assemblies = new Assembly[0];
Handlers\AssemblyResourceLoader.cs (16)
71private static int CreateWebResourceUrlCacheKey(Assembly assembly, string resourceName, 130internal static Assembly GetAssemblyFromType(Type type) { 131Assembly assembly = (Assembly)_typeAssemblyCache[type]; 139private static Pair GetAssemblyInfo(Assembly assembly) { 150private static Pair GetAssemblyInfoWithAssertInternal(Assembly assembly) { 192Assembly assembly = GetAssemblyFromType(type); 241private static WebResourceAttribute FindWebResourceAttribute(Assembly assembly, string resourceName) { 252internal static string FormatCdnUrl(Assembly assembly, string cdnPath) { 265private static string GetCdnPath(string resourceName, Assembly assembly, bool secureConnection) { 277internal static string GetWebResourceUrlInternal(Assembly assembly, string resourceName, 284internal static string GetWebResourceUrlInternal(Assembly assembly, string resourceName, 296Assembly effectiveAssembly = assembly; 540Assembly assembly = null; 571assembly = Assembly.Load(realName); 579assembly = Assembly.Load(assemblyName);
HttpContext.cs (1)
58internal static readonly Assembly SystemWebAssembly = typeof(HttpContext).Assembly;
HttpRuntime.cs (4)
1170try { Assembly.Load(System.Web.UI.Util.GetAssemblyNameFromFileName(fi.Name)); } 1173try { Assembly.LoadFrom(fi.FullName); } 2743private static bool HasAPTCABit(Assembly assembly) { 2758Assembly assembly = t.Assembly;
Management\regiisutil.cs (5)
71Assembly webAssembly = Assembly.GetExecutingAssembly(); 99Assembly webAssembly = Assembly.GetAssembly(Type.GetType(typeName, true)); 451public Object ResolveRef(Assembly assemblyReference)
parent\parent\parent\Misc\SecurityUtils.cs (1)
72private static void DemandGrantSet(Assembly assembly) {
UI\ClientScriptManager.cs (4)
64private Dictionary<Assembly, Dictionary<String, Object>> _registeredResourcesToSuppress; 93internal Dictionary<Assembly, Dictionary<String, Object>> RegisteredResourcesToSuppress { 96_registeredResourcesToSuppress = new Dictionary<Assembly, Dictionary<String, Object>>(); 1447public Assembly Assembly {
UI\IScriptResourceDefinition.cs (1)
19Assembly ResourceAssembly { get; }
UI\IScriptResourceMapping.cs (1)
13IScriptResourceDefinition GetDefinition(string resourceName, Assembly resourceAssembly);
UI\SimpleWebHandlerParser.cs (5)
172internal Type GetTypeToCache(Assembly builtAssembly) { 429Assembly a = result.ResultAssembly; 448Assembly a = Assembly.Load(assemblyName); 453private void AddAssemblyDependency(Assembly assembly) {
UI\TagNameToTypeMapper.cs (3)
55private Assembly _assembly; 58internal NamespaceTagNameToTypeMapper(TagNamespaceRegisterEntry nsRegisterEntry, Assembly assembly, TemplateParser parser) { 329Assembly assembly = null;
UI\TargetFrameworkUtil.cs (1)
476Assembly a = type.Assembly;
UI\TemplateParser.cs (13)
2018Assembly assembly = null; 2054string src, Assembly assembly) { 2222private Assembly ImportSourceFile(VirtualPath virtualPath) { 2247Assembly a = result.ResultAssembly; 2334internal Assembly LoadAssembly(string assemblyName, bool throwOnFail) { 2354Assembly a = null; 2912Assembly a = type.Module.Assembly; 2933internal Assembly AddAssemblyDependency(string assemblyName, bool addDependentAssemblies) { 2935Assembly assembly = LoadAssembly(assemblyName, !FInDesigner /*throwOnFail*/); 2942internal Assembly AddAssemblyDependency(string assemblyName) { 2949internal void AddAssemblyDependency(Assembly assembly, bool addDependentAssemblies) { 2964internal void AddAssemblyDependency(Assembly assembly) { 2975foreach (Assembly a in assemblyDependencies)
UI\Util.cs (8)
1244internal static string GetAssemblyShortName(Assembly a) { 1266internal static string GetAssemblyCodeBase(Assembly assembly) { 1282internal static void AddAssemblyToStringCollection(Assembly assembly, StringCollection toList) { 1327foreach (Assembly assembly in fromList) { 1336internal static AssemblySet GetReferencedAssemblies(Assembly a) { 1342Assembly referencedAssembly = Assembly.Load(aname); 1378foreach (Assembly assembly in assemblies) {
UI\WebControls\DataBoundControlHelper.cs (1)
130Type dataControlExtensionsType = Assembly.Load(AssemblyRef.SystemWebDynamicData).GetType("System.Web.UI.DataControlExtensions");
Util\AssemblyUtil.cs (1)
14public static string GetAssemblyFileVersion(Assembly assembly) {
System.Web.ApplicationServices (2)
Hosting\CustomLoaderHelper.cs (2)
94Assembly customLoaderAssembly = Assembly.Load(customLoaderAssemblyName);
System.Web.DataVisualization (6)
Common\Borders3D\Borders3D.cs (1)
706 _resourceManager = new ResourceManager("System.Web.UI.DataVisualization.Charting", Assembly.GetExecutingAssembly());
Common\ChartTypes\ChartTypeRegistry.cs (1)
246_resourceManager = new ResourceManager(typeof(Chart).Namespace + ".Design", Assembly.GetExecutingAssembly());
Common\Utilities\ImageLoader.cs (1)
228System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager(resourceRootName, Assembly.GetExecutingAssembly());
Common\Utilities\XmlSerializer.cs (1)
2973Assembly assembly = listItemPI.PropertyType.Assembly;
WebForm\ChartWebControl.cs (2)
2038 Assembly assembly = Assembly.GetExecutingAssembly();
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceView.cs (3)
1153foreach (Assembly assembly in codeAssemblies) 1189_ctx.MetadataWorkspace.LoadFromAssembly(System.Reflection.Assembly.GetCallingAssembly()); 1761private static bool ShouldTryLoadTypesFrom(Assembly assembly)
System.Web.Entity.Design (12)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (8)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 89private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, string typeName) { 93private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, Type attrType) { 104internal static bool SatelliteAssemblyOptIn(Assembly assembly) { 115internal static bool SameAssemblyOptIn(Assembly assembly) { 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 158Assembly satellite = Assembly.Load(assemblyName);
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (4)
68private HashSet<Assembly> _assemblies; 616foreach (Assembly assembly in _assemblies) 660_assemblies = new HashSet<Assembly>(); 668var assembly = type.Assembly;
System.Web.Extensions (132)
Compilation\WCFBuildProvider.cs (6)
588private System.Reflection.Assembly[] _referencedAssemblies; 590private IEnumerable<System.Reflection.Assembly> ReferencedAssemblies 597_referencedAssemblies = new System.Reflection.Assembly[referencedAssemblyCollection.Count]; 613System.Reflection.Assembly IContractGeneratorReferenceTypeLoader.LoadAssembly(string assemblyName) 617foreach (System.Reflection.Assembly assembly in ReferencedAssemblies) 629void IContractGeneratorReferenceTypeLoader.LoadAllAssemblies(out IEnumerable<System.Reflection.Assembly> loadedAssemblies, out IEnumerable<Exception> loadingErrors)
Compilation\WCFModel\IContractGeneratorReferenceTypeLoader.cs (3)
33Assembly LoadAssembly(string assemblyName); 35void LoadAllAssemblies(out IEnumerable<Assembly> loadedAssemblies, out IEnumerable<Exception> loadingErrors); 48IEnumerable<Type> LoadExportedTypes(Assembly assembly);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (7)
843IEnumerable<Assembly> referencedAssemblies = LoadReferenedAssemblies(proxyOptions, typeLoader, importErrors); 846foreach (Assembly referencedAssembly in referencedAssemblies) 1122private static IEnumerable<Assembly> LoadReferenedAssemblies(ClientOptions proxyOptions, IContractGeneratorReferenceTypeLoader typeLoader, IList<ProxyGenerationError> importErrors) 1124List<Assembly> referencedAssemblies = new List<Assembly>(); 1130IEnumerable<Assembly> allAssemblies = null; 1163Assembly refAssembly = typeLoader.LoadAssembly(referencedAssembly.AssemblyName);
Handlers\IScriptResourceHandler.cs (2)
17Assembly assembly, string resourceName, CultureInfo culture, bool zip); 20List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, bool zip);
Handlers\ScriptResourceHandler.cs (21)
55Assembly assembly, 61Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create(assembly, scriptResourceName, culture); 127private static Assembly GetAssembly(string assemblyName) { 145Assembly assembly = null; 147assembly = Assembly.Load(realName); 162private static Tuple<AssemblyName, String> GetAssemblyInfo(Assembly assembly) { 173private static Tuple<AssemblyName, String> GetAssemblyInfoInternal(Assembly assembly) { 179private static CultureInfo GetAssemblyNeutralCulture(Assembly assembly) { 204Assembly assembly, 214List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 401Assembly assembly = GetAssembly(assemblyName); 439Assembly assembly = hasAssembly ? GetAssembly(assemblyName) : null; 567Assembly assembly, string resourceName, CultureInfo culture, bool zip) { 570new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>() { 571new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 581List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 589foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 602foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 628List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 675foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 719Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create(
Script\AjaxFrameworkAssemblyAttribute.cs (2)
10protected internal virtual Assembly GetDefaultAjaxFrameworkAssembly(Assembly currentAssembly) {
Script\Services\ProxyGenerator.cs (2)
43Assembly wcfWebAssembly = Assembly.Load(AssemblyRef.SystemServiceModelWeb);
Script\Services\WebServiceClientProxyGenerator.cs (1)
25private static DateTime GetAssemblyModifiedTime(Assembly assembly) {
UI\AssemblyCache.cs (11)
21public static readonly Assembly SystemWebExtensions = typeof(ScriptManager).Assembly; 22public static readonly Assembly SystemWeb = typeof(Page).Assembly; 33private static readonly ConcurrentDictionary<Assembly, AjaxFrameworkAssemblyAttribute> _ajaxAssemblyAttributeCache = 34new ConcurrentDictionary<Assembly, AjaxFrameworkAssemblyAttribute>(); 45public static Version GetVersion(Assembly assembly) { 56public static Assembly Load(string assemblyName) { 58Assembly assembly = (Assembly)_assemblyCache[assemblyName]; 66assembly = Assembly.Load(assemblyName); 73public static bool IsAjaxFrameworkAssembly(Assembly assembly) { 77public static AjaxFrameworkAssemblyAttribute GetAjaxFrameworkAssemblyAttribute(Assembly assembly) {
UI\ClientScriptManagerWrapper.cs (1)
24Dictionary<Assembly, Dictionary<String, Object>> IClientScriptManager.RegisteredResourcesToSuppress {
UI\CompositeScriptReference.cs (6)
81List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> resources = 82new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>(); 83Tuple<Assembly, List<Tuple<string, CultureInfo>>> resourceList = null; 96Assembly resourceAssembly = null; 98Assembly cacheAssembly = null; 130resourceList = new Tuple<Assembly, List<Tuple<string, CultureInfo>>>(
UI\IClientScriptManager.cs (1)
15Dictionary<Assembly, Dictionary<String, Object>> RegisteredResourcesToSuppress {
UI\ScriptManager.cs (19)
53private static Assembly _defaultAjaxFrameworkAssembly = null; 54private Assembly _ajaxFrameworkAssembly = DefaultAjaxFrameworkAssembly; 128Assembly ajaxFrameworkAssembly, 143public virtual Assembly AjaxFrameworkAssembly { 312internal static Assembly DefaultAjaxFrameworkAssembly { 315IEnumerable<Assembly> referencedAssemblies; 321referencedAssemblies = BuildManager.GetReferencedAssemblies().OfType<Assembly>(); 328foreach (Assembly assembly in referencedAssemblies) { 955Assembly frameworkAssembly = frameworkScript.GetAssembly(this); 1159internal string GetScriptResourceUrl(string resourceName, Assembly assembly) { 1256Assembly ajaxFrameworkAssembly = AjaxFrameworkAssembly; 1799private static void RegisterResourceWithClientScriptManager(IClientScriptManager clientScriptManager, Assembly assembly, String key) { 1806Dictionary<Assembly, Dictionary<String, Object>> suppressedResources = clientScriptManager.RegisteredResourcesToSuppress; 1896Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ? 1897new Tuple<string, Assembly>(sr.EffectivePath, null) : 1898new Tuple<string, Assembly>(sr.EffectiveResourceName, sr.GetAssembly(this)); 1934Tuple<string, Assembly> key = (String.IsNullOrEmpty(sr.EffectiveResourceName)) ? 1935new Tuple<string, Assembly>(sr.EffectivePath, null) : 1936new Tuple<string, Assembly>(sr.EffectiveResourceName, sr.GetAssembly(this));
UI\ScriptReference.cs (19)
77internal Assembly EffectiveAssembly { 176internal bool DetermineResourceNameAndAssembly(ScriptManager scriptManager, bool isDebuggingEnabled, ref string resourceName, ref Assembly assembly) { 214internal Assembly GetAssembly() { 218internal Assembly GetAssembly(ScriptManager scriptManager) { 224Assembly assembly = EffectiveAssembly; 259Assembly assembly = GetAssembly(scriptManager); 276internal Assembly ApplyFallbackResource(Assembly assembly, string releaseName) { 290Assembly assembly, 299private static string GetScriptPathCached(string resourceName, Assembly assembly, CultureInfo culture) { 300Tuple<string, Assembly, CultureInfo> key = Tuple.Create(resourceName, assembly, culture); 375Assembly assembly = null; 395private string GetUrlForCdn(ScriptManager scriptManager, string resourceName, Assembly assembly, bool hasDebugResource) { 421Assembly assembly = GetAssembly(scriptManager); 495internal bool ShouldUseDebugScript(string releaseName, Assembly assembly, 496bool isDebuggingEnabled, Assembly currentAjaxAssembly) { 552private Assembly _assembly; 565Assembly assembly = scriptReference.GetAssembly(); 596public Assembly Assembly {
UI\ScriptRegistrationManager.cs (1)
264Assembly assembly = AssemblyResourceLoader.GetAssemblyFromType(type);
UI\ScriptResourceAttribute.cs (4)
105string content, Assembly assembly, bool zip, StringBuilder output) { 139internal static ResourceManager GetResourceManager(string resourceName, Assembly assembly) { 154Assembly assembly, string resourceName, CultureInfo culture, 334private static void WriteScript(Assembly assembly,
UI\ScriptResourceDefinition.cs (2)
9private Assembly _resourceAssembly; 89public Assembly ResourceAssembly {
UI\ScriptResourceInfo.cs (4)
36public ScriptResourceInfo(WebResourceAttribute wra, ScriptResourceAttribute sra, Assembly assembly) 96public static ScriptResourceInfo GetInstance(Assembly assembly, string resourceName) { 115Tuple<Assembly, string> cacheKey = new Tuple<Assembly, string>(assembly, resourceName);
UI\ScriptResourceMapping.cs (12)
10private readonly ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition> _definitions = 11new ConcurrentDictionary<Tuple<String, Assembly>, ScriptResourceDefinition>(); 17public void AddDefinition(string name, Assembly assembly, ScriptResourceDefinition definition) { 33_definitions[new Tuple<String, Assembly>(name, assembly)] = definition; 54public ScriptResourceDefinition GetDefinition(string name, Assembly assembly) { 60_definitions.TryGetValue(new Tuple<string, Assembly>(name, assembly), out definition); 69Assembly assembly = null; 82public ScriptResourceDefinition RemoveDefinition(string name, Assembly assembly) { 88_definitions.TryRemove(new Tuple<String, Assembly>(name, assembly), out definition); 97IScriptResourceDefinition IScriptResourceMapping.GetDefinition(string name, Assembly assembly) { 102private static Assembly NormalizeAssembly(Assembly assembly) {
UI\Timer.cs (1)
149yield return new ScriptReference("MicrosoftAjaxTimer.js", Assembly.GetAssembly(typeof(Timer)).FullName) ;
UI\WebResourceUtil.cs (7)
27public static bool AssemblyContainsWebResource(Assembly assembly, string resourceName) { 35Tuple<string, Assembly> key = new Tuple<string, Assembly>(resourceName, assembly); 66Assembly assembly = AssemblyCache.SystemWebExtensions; 76public static void VerifyAssemblyContainsReleaseWebResource(Assembly assembly, string releaseResourceName, 77Assembly currentAjaxAssembly) { 98public static void VerifyAssemblyContainsDebugWebResource(Assembly assembly, string debugResourceName) {
System.Web.Services (4)
System\Web\Services\Description\WebCodeGenerator.cs (4)
42Assembly a = Assembly.GetEntryAssembly(); 44a = Assembly.GetExecutingAssembly(); 59private static string GetProductVersion(Assembly assembly) {
System.Windows.Forms (37)
misc\SecurityUtils.cs (1)
72private static void DemandGrantSet(Assembly assembly) {
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (8)
79private static Stream GetResourceStreamHelper(Assembly assembly, Type type, string name) { 89private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, string typeName) { 93private static bool DoesAssemblyHaveCustomAttribute(Assembly assembly, Type attrType) { 104internal static bool SatelliteAssemblyOptIn(Assembly assembly) { 115internal static bool SameAssemblyOptIn(Assembly assembly) { 136public static Stream GetResourceStream(Assembly assembly, Type type, string originalName) { 158Assembly satellite = Assembly.Load(assemblyName);
winforms\Managed\System\Resources\ResXDataNode.cs (7)
913public Assembly GetAssembly(AssemblyName name) { 921public Assembly GetAssembly(AssemblyName name, bool throwOnError) { 923Assembly result = null; 930result = cachedAssemblies[name] as Assembly; 939result = Assembly.LoadWithPartialName(name.FullName); 948result = Assembly.LoadFrom(GetPathOfAssembly(name)); 1032Assembly a = GetAssembly(names[i], false);
winforms\Managed\System\WinForms\Application.cs (15)
268Assembly entryAssembly = Assembly.GetEntryAssembly(); 368Assembly asm = Assembly.GetEntryAssembly(); 497Assembly entryAssembly = Assembly.GetEntryAssembly(); 561Assembly entryAssembly = Assembly.GetEntryAssembly(); 1098Assembly entryAssembly = Assembly.GetEntryAssembly(); 1099Assembly callingAssembly = Assembly.GetCallingAssembly(); 1223Assembly exe = Assembly.GetEntryAssembly(); 1397if (Assembly.GetEntryAssembly() == null)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
82Assembly a = null;
winforms\Managed\System\WinForms\Control.cs (1)
16480if (Assembly.GetEntryAssembly() == null) {
winforms\Managed\System\WinForms\Form.cs (1)
4267foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
winforms\Managed\System\WinForms\NativeWindow.cs (2)
549Assembly entry = Assembly.GetEntryAssembly();
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
191foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) {
System.Windows.Forms.DataVisualization (6)
Common\Borders3D\Borders3D.cs (1)
706 _resourceManager = new ResourceManager("System.Web.UI.DataVisualization.Charting", Assembly.GetExecutingAssembly());
Common\ChartTypes\ChartTypeRegistry.cs (1)
246_resourceManager = new ResourceManager(typeof(Chart).Namespace + ".Design", Assembly.GetExecutingAssembly());
Common\Utilities\ImageLoader.cs (1)
228System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager(resourceRootName, Assembly.GetExecutingAssembly());
Common\Utilities\XmlSerializer.cs (1)
2973Assembly assembly = listItemPI.PropertyType.Assembly;
WinForm\ChartWinControl.cs (2)
1874 Assembly assembly = Assembly.GetExecutingAssembly();
System.Workflow.Activities (28)
Common\BasePropertyDescriptor.cs (1)
641Type baseConverterType = Assembly.GetExecutingAssembly().GetType(baseConverterTypeName);
Common\CompModHelpers.cs (2)
581path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); 812Assembly assembly = typeProviderCreator.GetTransientAssembly(AssemblyName.GetAssemblyName(assemblyName));
Designers\ActivityDesignerResources.cs (1)
15private static ResourceManager resourceManager = new ResourceManager(ResourceSet, System.Reflection.Assembly.GetExecutingAssembly());
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
58foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
Rules\Design\Dialogs\RuleSetDialog.cs (1)
62foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
Rules\RuleValidation.cs (18)
794private Assembly root; 795private List<Assembly> references; 797internal SimpleRunTimeTypeProvider(Assembly startingAssembly) 821foreach (Assembly a in ReferencedAssemblies) 829Assembly[] loaded = AppDomain.CurrentDomain.GetAssemblies(); 853foreach (Assembly a in ReferencedAssemblies) 870public Assembly LocalAssembly 875public ICollection<Assembly> ReferencedAssemblies 882List<Assembly> list = new List<Assembly>(); 885list.Add(Assembly.Load(a)); 2302Assembly methodAssembly, bool isPrivate, bool isInternal, bool isStatic) 3299private List<Assembly> seenAssemblies; 3340seenAssemblies = new List<Assembly>(); 3341Assembly localAssembly = typeProvider.LocalAssembly; 3345foreach (Assembly a in typeProvider.ReferencedAssemblies) 3357internal void DetermineExtensionMethods(Assembly assembly) 3412private bool IsMarkedExtension(Assembly assembly)
SR.cs (4)
21ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 47ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 69ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 87resources = new System.Resources.ResourceManager("System.Workflow.Activities.StringResources", Assembly.GetExecutingAssembly());
System.Workflow.ComponentModel (87)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
127: base(new ResourceManager("System.Workflow.ComponentModel.BuildTasksStrings", Assembly.GetExecutingAssembly())) 1325Assembly.GetExecutingAssembly()))
AuthoringOM\Compiler\ReferencedAssemblyResolver.cs (8)
19private Assembly localAssembly; 23public ReferencedAssemblyResolver(StringCollection referencedAssemblies, Assembly localAssembly) 29public Assembly ResolveEventHandler(object sender, ResolveEventArgs args) 34internal void SetLocalAssembly(Assembly localAsm) 39private Assembly ResolveAssembly(string name) 62Assembly reference = null; 65reference = Assembly.Load(referenceAssemblyName); 69reference = Assembly.LoadFrom(assemblyPath);
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (6)
11private Assembly assembly = null; 55this.assembly = Assembly.Load(asmName.FullName); 59this.assembly = Assembly.Load(asmName); 71this.assembly = Assembly.LoadFrom(filePath); 81internal AssemblyLoader(TypeProvider typeProvider, Assembly assembly, bool isLocalAssembly) 136internal Assembly Assembly
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
154public override Assembly Assembly
AuthoringOM\Compiler\TypeSystem\Interfaces.cs (2)
16Assembly LocalAssembly { get; } 17ICollection<Assembly> ReferencedAssemblies { get; }
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (2)
111public override Assembly Assembly 650internal void OnAssemblyRemoved(Assembly removedAssembly)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (11)
36private Assembly localAssembly = null; 45public void SetLocalAssembly(Assembly assembly) 52public void AddAssembly(Assembly assembly) 73public void RemoveAssembly(Assembly assembly) 600public Assembly LocalAssembly 610public ICollection<Assembly> ReferencedAssemblies 616List<Assembly> referencedAssemblies = new List<Assembly>(); 623foreach (Assembly assembly in this.rawAssemblyLoaders.Keys) 967private void RemoveCachedAssemblyWrappedTypes(Assembly assembly) 1018resources = new ResourceManager("System.Workflow.ComponentModel.Compiler.StringResources", Assembly.GetExecutingAssembly());
AuthoringOM\Compiler\XomlCompiler.cs (3)
537WorkflowCompilerInternal compiler = (WorkflowCompilerInternal)compilerDomain.CreateInstanceAndUnwrap(Assembly.GetExecutingAssembly().FullName, typeof(WorkflowCompilerInternal).FullName); 542results.CompiledAssembly = Assembly.Load(File.ReadAllBytes(results.PathToAssembly)); 858private Assembly GenerateLocalAssembly(string[] files, string[] codeFiles, WorkflowCompilerParameters parameters, WorkflowCompilerResults results, out TempFileCollection tempFiles2, out string localAssemblyPath, out string createdDirectoryName)
AuthoringOM\Compiler\XomlCompilerParameters.cs (2)
313private Assembly localAssembly = null; 474internal Assembly LocalAssembly
AuthoringOM\Design\ComponentSerializationService.cs (7)
354Assembly a = activity.GetType().Assembly; 399Assembly a = Assembly.Load(n); 413Assembly a = Assembly.Load(n); 418Assembly aDep = Assembly.Load(dep);
AuthoringOM\Design\DesignerInterfaces.cs (3)
98Assembly GetReflectionAssembly(AssemblyName assemblyName); 1159Assembly GetLocalAssembly(object obj); 1160Assembly GetTransientAssembly(AssemblyName assemblyName);
AuthoringOM\Design\DesignerResources.cs (1)
14private static ResourceManager resourceManager = new ResourceManager(ResourceSet, System.Reflection.Assembly.GetExecutingAssembly());
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
706Assembly assembly = typeProviderCreator.GetTransientAssembly(toolboxItem.AssemblyName);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (8)
71TypeBrowserDialog.ResMgr = new ResourceManager("System.Workflow.ComponentModel.Design.ArtifactReference", System.Reflection.Assembly.GetExecutingAssembly()); 347List<Assembly> runtimeAssemblies = new List<Assembly>(currentTypeProvider.ReferencedAssemblies); 348foreach (Assembly runtimeAssembly in runtimeAssemblies) 350Assembly reflectionContextAssembly = extendedUIService.GetReflectionAssembly(runtimeAssembly.GetName()); 853else if (treeNode.Tag is Assembly) 939Assembly assembly = assemblyNode.Tag as Assembly;
AuthoringOM\Design\Themes.cs (1)
310path = new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath;
AuthoringOM\Design\WinOEToolBoxItem.cs (3)
32if ((type.Assembly == Assembly.GetExecutingAssembly() || 74System.Reflection.Assembly assembly = tpc.GetTransientAssembly(this.AssemblyName); 142activityType.Assembly.FullName.Equals(Assembly.GetExecutingAssembly().FullName, StringComparison.OrdinalIgnoreCase)) &&
AuthoringOM\ScheduleChanges.cs (2)
606Assembly referencedAssembly = null; 609referencedAssembly = Assembly.Load(assemblyName);
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (2)
219serializer.GetType().Assembly != Assembly.GetExecutingAssembly() && 220serializer.GetType().Assembly != Assembly.Load(AssemblyRef.ActivitiesAssemblyRef))
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (6)
28private Assembly localAssembly = null; 137public Assembly LocalAssembly 220if (assemblyName.Equals(Assembly.GetExecutingAssembly().FullName, StringComparison.Ordinal)) 222resolvedType = Assembly.GetExecutingAssembly().GetType(fullTypeName); 320Assembly assembly = null; 328assembly = Assembly.Load(assemblyName);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (9)
77WorkflowMarkupSerializerMapping.ComponentModel = new WorkflowMarkupSerializerMapping(StandardXomlKeys.WorkflowPrefix, StandardXomlKeys.WorkflowXmlNs, "System.Workflow.ComponentModel", Assembly.GetExecutingAssembly().FullName); 80WorkflowMarkupSerializerMapping.Serialization = new WorkflowMarkupSerializerMapping(StandardXomlKeys.Definitions_XmlNs_Prefix, StandardXomlKeys.Definitions_XmlNs, "System.Workflow.ComponentModel.Serialization", Assembly.GetExecutingAssembly().FullName); 86WorkflowMarkupSerializerMapping.ComponentModelDesign = new WorkflowMarkupSerializerMapping(StandardXomlKeys.WorkflowPrefix, StandardXomlKeys.WorkflowXmlNs, "System.Workflow.ComponentModel.Design", Assembly.GetExecutingAssembly().FullName); 90WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(StandardXomlKeys.WorkflowPrefix, StandardXomlKeys.WorkflowXmlNs, "System.Workflow.ComponentModel.Compiler", Assembly.GetExecutingAssembly().FullName)); 289List<Assembly> referencedAssemblies = new List<Assembly>(); 297foreach (Assembly assembly in referencedAssemblies) 346else if (type.Assembly == Assembly.GetExecutingAssembly()) 425private static string GetPrefix(WorkflowMarkupSerializationManager manager, Assembly assembly, string xmlNamespace)
AuthoringOM\SR.cs (4)
20ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 46ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 68ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 86resources = new System.Resources.ResourceManager("System.Workflow.ComponentModel.StringResources", Assembly.GetExecutingAssembly());
Shared\BasePropertyDescriptor.cs (1)
640Type baseConverterType = Assembly.GetExecutingAssembly().GetType(baseConverterTypeName);
Shared\CompModHelpers.cs (2)
579path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); 810Assembly assembly = typeProviderCreator.GetTransientAssembly(AssemblyName.GetAssemblyName(assemblyName));
System.Workflow.Runtime (6)
DebugEngine\DebugController.cs (1)
533foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
System\Activities\Statements\Interop.cs (2)
1038Assembly referencedAssembly = null; 1041referencedAssembly = Assembly.Load(assemblyName);
Tracking\SqlTrackingService.cs (1)
392t = Assembly.Load(reader[1] as string).GetType(reader[0] as string);
WorkflowRuntime.cs (2)
1430Assembly referencedAssembly = null; 1433referencedAssembly = Assembly.Load(assemblyName);
System.WorkflowServices (8)
SR.cs (2)
42ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly()); 71ResourceManager rm = new ResourceManager(resourceSet, Assembly.GetExecutingAssembly());
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (3)
180Assembly assembly = Assembly.Load(components[i]); 191foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
System\Workflow\Activities\ContractType.cs (1)
73public override Assembly Assembly
System\Workflow\Runtime\WorkflowDefinitionContext.cs (2)
72Assembly referencedAssembly = null; 75referencedAssembly = Assembly.Load(assemblyName);
System.Xml (50)
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
64Assembly asm = Assembly.GetExecutingAssembly();
System\Xml\Serialization\CodeExporter.cs (4)
99Assembly a = Assembly.GetEntryAssembly(); 101a = Assembly.GetExecutingAssembly(); 125private static string GetProductVersion(Assembly assembly) {
System\Xml\Serialization\Compilation.cs (18)
31Assembly assembly; 91internal TempAssembly(XmlMapping[] xmlMappings, Assembly assembly, XmlSerializerImplementation contract) { 150internal static Assembly LoadGeneratedAssembly(Type type, string defaultNamespace, out XmlSerializerImplementation contract) { 151Assembly serializer = null; 173serializer = Assembly.Load(name); 188serializer = Assembly.LoadWithPartialName(serializerName, null); 216serializer = Assembly.LoadWithPartialName(serializerName, null); 221serializer = Assembly.LoadFrom(serializerName); 250static AssemblyName GetName(Assembly assembly, bool copyName) { 258static bool IsSerializerVersionMatch(Assembly serializer, Type type, string defaultNamespace, string location) { 292internal static Assembly GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) { 307Assembly a = t.Assembly; 415internal static Assembly GenerateRefEmitAssembly(XmlMapping[] xmlMappings, Type[] types, string defaultNamespace, Evidence evidence) { 519static MethodInfo GetMethodFromType(Type type, string methodName, Assembly assembly) { 531internal static Type GetTypeFromAssembly(Assembly assembly, string typeName) { 630internal Assembly GetReferencedAssembly(string name) { 631return assemblies != null && name != null ? (Assembly)assemblies[name] : null;
System\Xml\Serialization\Compiler.cs (8)
82Assembly assembly = module.Assembly; 92Assembly originalAssembly = Assembly.Load(originalAssemblyInfo.AssemblyFullName); 103internal void AddImport(Assembly assembly) { 116internal static string GetTempAssemblyPath(string baseDir, Assembly assembly, string defaultNamespace) { 159internal Assembly Compile(Assembly parent, string ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) { 196Assembly assembly = null;
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
43internal Assembly OnAssemblyResolve(object sender, ResolveEventArgs args) {
System\Xml\Serialization\XmlSerializationReader.cs (1)
203protected static Assembly ResolveDynamicAssembly(string assemblyFullName){
System\Xml\Serialization\XmlSerializationWriter.cs (9)
101protected static Assembly ResolveDynamicAssembly(string assemblyFullName){ 3256Assembly assembly = type.Assembly; 3297internal static void Add(Assembly a) { 3303Assembly oldAssembly = nameToAssemblyMap[a.FullName] as Assembly; 3318internal static Assembly Get(string fullName){ 3319return nameToAssemblyMap!=null?(Assembly)nameToAssemblyMap[fullName]:null; 3321internal static string GetName(Assembly a){ 3482writer.Write("static "+ typeof(Assembly).FullName+" "+assemblyVariable+" = "+"ResolveDynamicAssembly(");
System\Xml\Serialization\XmlSerializer.cs (5)
198Assembly assembly = TempAssembly.LoadGeneratedAssembly(type, defaultNamespace, out contract); 474Assembly assembly = type == null ? null : TempAssembly.LoadGeneratedAssembly(type, null, out contract); 578public static Assembly GenerateSerializer(Type[] types, XmlMapping[] mappings) { 595public static Assembly GenerateSerializer(Type[] types, XmlMapping[] mappings, CompilerParameters parameters) { 606Assembly assembly = null;
System\Xml\Serialization\XmlSerializerFactory.cs (1)
95Assembly assembly = TempAssembly.LoadGeneratedAssembly(type, defaultNamespace, out contract);
System\Xml\XmlCharType.cs (1)
428UnmanagedMemoryStream memStream = (UnmanagedMemoryStream)Assembly.GetExecutingAssembly().GetManifestResourceStream( "XmlCharType.bin" );
UIAutomationClient (7)
MS\Internal\Automation\ProxyManager.cs (7)
66Assembly a = null; 69a = Assembly.Load( assemblyName ); 352Assembly callingAssembly = null; 354Assembly currentAssembly = Assembly.GetExecutingAssembly(); 364Assembly a = t.Assembly; 373AssemblyName ourAssembly = Assembly.GetAssembly(typeof(ProxyManager)).GetName();
WindowsBase (19)
Base\MS\Internal\AssemblyHelper.cs (3)
75Assembly[] assemblies = domain.GetAssemblies(); 218string assemblyName = Assembly.GetExecutingAssembly().FullName; 251private static void OnLoaded(Assembly assembly)
Base\MS\Internal\BaseHashHelper.cs (2)
29internal static void RegisterTypes(Assembly assembly, Type[] types) 54Assembly assembly = type.Assembly;
Base\System\Windows\SplashScreen.cs (2)
59public SplashScreen(string resourceName) : this(Assembly.GetEntryAssembly(), resourceName) 69public SplashScreen(Assembly resourceAssembly, string resourceName)
Shared\MS\Internal\SafeSecurityHelper.cs (3)
182internal static Assembly GetLoadedAssembly(AssemblyName assemblyName) 184Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); 208static AssemblyName GetAssemblyName(Assembly assembly)
Shared\System\Windows\Markup\ReflectionHelper.cs (9)
62Assembly a = null; 358internal static Assembly LoadAssembly(string assemblyName, string assemblyPath) 368internal static Assembly GetAlreadyLoadedAssembly(string assemblyNameLookup) 370return (Assembly)_loadedAssembliesHash[assemblyNameLookup]; 378private static Assembly LoadAssemblyHelper(string assemblyGivenName, string assemblyPath) 385Assembly retassem = (Assembly)_loadedAssembliesHash[assemblyShortName]; 418retassem = Assembly.LoadFile(assemblyPath); 428retassem = Assembly.Load(assemblyGivenName);
WsatConfig (1)
parent\WcfCommonResStrings\CommonResStrings.cs (1)
10private static ResourceManager resmgr = new ResourceManager("CommonResStrings", Assembly.GetExecutingAssembly());
WsatUI (1)
MMCUI\WSATPropertySheet.cs (1)
426string assemblyLocation = System.Reflection.Assembly.GetExecutingAssembly().Location;
XamlBuildTask (45)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (12)
80AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName); 1034public CodeCompileUnit GenerateHelperClass(string namespaceName, string className, IList<Assembly> loadedAssemblyList) 1050CodeTypeDeclaration GenerateHelperClassBody(string className, IList<Assembly> loadedAssemblyList) 1094Type = new CodeTypeReference(typeof(IList<Assembly>)), 1102Type = new CodeTypeReference(typeof(IList<Assembly>)), 1215ReturnType = new CodeTypeReference(typeof(Assembly)) 1235CodeVariableReferenceExpression asm = loadMethod.Statements.DeclareVar(typeof(Assembly), "asm", new CodePrimitiveExpression(null)); 1277CodeMemberMethod GenerateLoadAssembliesMethod(IEnumerable<Assembly> references) 1294ReturnType = new CodeTypeReference(typeof(IList<Assembly>)), 1297CodeVariableReferenceExpression assemblyList = loadAssembliesMethod.Statements.DeclareVar(typeof(IList<Assembly>), 1298"assemblyList", typeof(List<Assembly>).New()); 1300foreach (var reference in references)
Microsoft\Build\Tasks\Xaml\ClassValidator.cs (2)
21Assembly localAssembly; 24public ClassValidator(string xamlFileName, Assembly localAssembly, string rootNamespace)
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (1)
152Assembly.GetExecutingAssembly().FullName,
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (4)
155public IList<Tuple<AssemblyName, Assembly>> ReferencedAssemblies 198IList<Assembly> loadedAssemblyList = null; 204Assembly localAssembly = null; 297bool ProcessMarkupItem(string markupItem, XamlNsReplacingContext wxsc, Assembly localAssembly)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
250Assembly.GetExecutingAssembly().FullName,
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (4)
36IList<Assembly> assemblyNames; 155public IList<Assembly> LoadedAssemblyList 167this.assemblyNames = new List<Assembly>(); 185private static IList<Assembly> cachedAssemblyList = null;
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (6)
26public Dictionary<string, Assembly> ReferencedAssemblies 44public Assembly ResolveLocalProjectReferences(object sender, ResolveEventArgs args) 53Assembly targetAssembly = null; 68Assembly assembly = Assembly.LoadFrom(reference); 74this.ReferencedAssemblies = new Dictionary<string, Assembly>(StringComparer.OrdinalIgnoreCase);
Microsoft\Build\Tasks\Xaml\WrappingXamlSchemaContext.cs (1)
17public XamlNsReplacingContext(IEnumerable<Assembly> referenceAssemblies, string localAssemblyName, string realAssemblyName)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (12)
181public static Assembly ReflectionOnlyAssemblyResolve(object sender, ResolveEventArgs args) 184foreach (var asm in AppDomain.CurrentDomain.ReflectionOnlyGetAssemblies()) 232internal static IList<Assembly> Load(IList<ITaskItem> referenceAssemblies, bool isDesignTime) 239IList<Assembly> assemblies = new List<Assembly>(); 264foreach (Assembly asm in assemblies) 286internal static Assembly Load(string reference) 295return Assembly.ReflectionOnlyLoadFrom(fullPath); 643Assembly assembly = null; 651assembly = Assembly.Load(assemblyName); 669assembly = Assembly.LoadFrom(assemblyFile); 675assembly = Assembly.LoadFrom(Path.Combine(currentProjectDirectory, assemblyFile));
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (2)
24Assembly assembly; 36public XamlValidatingReader(XamlReader underlyingReader, Assembly assembly, string rootNamespace, string realAssemblyName)