1 type derived from RuntimeAssembly
mscorlib (1)
system\reflection\emit\assemblybuilder.cs (1)
77internal sealed class InternalAssemblyBuilder : RuntimeAssembly
333 references to RuntimeAssembly
mscorlib (333)
system\activator.cs (4)
324assembly = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 326RuntimeAssembly assemblyFromResolveEvent; 327AssemblyName assemblyName = RuntimeAssembly.CreateAssemblyName(assemblyString, false /*forIntrospection*/, out assemblyFromResolveEvent); 336assembly = RuntimeAssembly.InternalLoadAssemblyName(
system\appdomain.cs (47)
742RuntimeAssembly callingAssembly = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 1846return RuntimeAssembly.InternalLoadAssemblyName(assemblyRef, null, null, ref stackMark, true /*thrownOnFileNotFound*/, false, false); 1854return RuntimeAssembly.InternalLoad(assemblyString, null, ref stackMark, false); 1862return RuntimeAssembly.nLoadImage(rawAssembly, 1878return RuntimeAssembly.nLoadImage(rawAssembly, 1905return RuntimeAssembly.nLoadImage(rawAssembly, 1921return RuntimeAssembly.InternalLoadAssemblyName(assemblyRef, assemblySecurity, null, ref stackMark, true /*thrownOnFileNotFound*/, false, false); 1931return RuntimeAssembly.InternalLoad(assemblyString, assemblySecurity, ref stackMark, false); 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); 2269internal static extern void PublishAnonymouslyHostedDynamicMethodsAssembly(RuntimeAssembly assemblyHandle); 2959private extern int _nExecuteAssembly(RuntimeAssembly assembly, String[] args); 2960internal int nExecuteAssembly(RuntimeAssembly assembly, String[] args) 3109private void OnAssemblyLoadEvent(RuntimeAssembly LoadedAssembly) 3120private RuntimeAssembly OnResourceResolveEvent(RuntimeAssembly assembly, String resourceName) 3130RuntimeAssembly ret = GetRuntimeAssembly(asm); 3140private RuntimeAssembly OnTypeResolveEvent(RuntimeAssembly assembly, String typeName) 3150RuntimeAssembly ret = GetRuntimeAssembly(asm); 3160private RuntimeAssembly OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) 3173RuntimeAssembly ret = GetRuntimeAssembly(asm); 3183private RuntimeAssembly OnReflectionOnlyAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) 3192RuntimeAssembly ret = GetRuntimeAssembly(asm); 3203private RuntimeAssembly[] OnReflectionOnlyNamespaceResolveEvent(RuntimeAssembly assembly, string namespaceName) 3228internal static RuntimeAssembly GetRuntimeAssembly(Assembly asm) 3233RuntimeAssembly rtAssembly = asm as RuntimeAssembly; 4029private bool IsAssemblyOnAptcaVisibleList(RuntimeAssembly assembly)
system\appdomainmanager.cs (1)
174RuntimeAssembly entryAssembly = null;
system\applicationactivator.cs (3)
33private RuntimeAssembly m_assembly; 66internal RuntimeAssembly EntryAssembly { 74m_assembly = (RuntimeAssembly)Assembly.LoadFrom(m_path);
system\delegate.cs (2)
692RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark);
system\io\isolatedstorage\isolatedstorage.cs (4)
562RuntimeAssembly assem; 665RuntimeAssembly callerAssembly; 1257internal static RuntimeAssembly GetCaller() 1259RuntimeAssembly retAssembly = null;
system\reflection\assembly.cs (101)
93left is RuntimeAssembly || right is RuntimeAssembly) 150return RuntimeAssembly.InternalLoadFrom( 172return RuntimeAssembly.InternalLoadFrom( 195return RuntimeAssembly.InternalLoadFrom( 220return RuntimeAssembly.InternalLoadFrom( 240return RuntimeAssembly.InternalLoadFrom( 264return RuntimeAssembly.InternalLoadFrom(assemblyFile, 284return RuntimeAssembly.InternalLoad(assemblyString, null, ref stackMark, false /*forIntrospection*/); 300RuntimeAssembly assembly; 301AssemblyName assemblyName = RuntimeAssembly.CreateAssemblyName( 311assembly = RuntimeAssembly.InternalLoadAssemblyName( 328return RuntimeAssembly.InternalLoad(assemblyString, null, ref stackMark, true /*forIntrospection*/); 340return RuntimeAssembly.InternalLoad(assemblyString, assemblySecurity, ref stackMark, false /*forIntrospection*/); 364return RuntimeAssembly.InternalLoadAssemblyName(assemblyRef, null, null, ref stackMark, true /*thrownOnFileNotFound*/, false /*forIntrospection*/, false /*suppressSecurityChecks*/); 376return RuntimeAssembly.InternalLoadAssemblyName(assemblyRef, assemblySecurity, null, ref stackMark, true /*thrownOnFileNotFound*/, false /*forIntrospection*/, false /*suppressSecurityChecks*/); 386return RuntimeAssembly.LoadWithPartialNameInternal(partialName, null, ref stackMark); 395return RuntimeAssembly.LoadWithPartialNameInternal(partialName, securityEvidence, ref stackMark); 416return RuntimeAssembly.nLoadImage( 438return RuntimeAssembly.nLoadImage( 468return RuntimeAssembly.nLoadImage( 499return RuntimeAssembly.nLoadImage(rawAssembly, 529return RuntimeAssembly.nLoadImage(rawAssembly, 565return RuntimeAssembly.nLoadImage( 588return RuntimeAssembly.nLoadFile(path, null); 610return RuntimeAssembly.nLoadFile(path, securityEvidence); 646return RuntimeAssembly.GetExecutingAssembly(ref stackMark); 657return RuntimeAssembly.GetExecutingAssembly(ref stackMark); 901RuntimeAssembly rtAssembly = this as RuntimeAssembly; 1165RuntimeAssembly rtAssembly = this as RuntimeAssembly; 1266if (RuntimeAssembly.IsFrameworkAssembly(GetName())) 1347private static extern void GetCodeBase(RuntimeAssembly assembly, 1375internal RuntimeAssembly GetNativeHandle() 1440private extern static void GetFullName(RuntimeAssembly assembly, StringHandleOnStack retString); 1462private static extern void GetEntryPoint(RuntimeAssembly assembly, ObjectHandleOnStack retMethod); 1482private static extern void GetType(RuntimeAssembly assembly, 1504internal extern static void GetForwardedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes); 1510private extern static void GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes); 1560private extern static void GetEvidence(RuntimeAssembly assembly, ObjectHandleOnStack retEvidence); 1566private extern static SecurityRuleSet GetSecurityRuleSet(RuntimeAssembly assembly); 1642return RuntimeAssembly.GetManifestModule(GetNativeHandle()); 1688internal static RuntimeAssembly InternalLoadFrom(String assemblyFile, 1717internal static RuntimeAssembly InternalLoad(String assemblyString, 1727internal static RuntimeAssembly InternalLoad(String assemblyString, 1735RuntimeAssembly assembly; 1755out RuntimeAssembly assemblyFromResolveEvent) 1781internal static RuntimeAssembly InternalLoadAssemblyName( 1784RuntimeAssembly reqAssembly, 1797internal static RuntimeAssembly InternalLoadAssemblyName( 1800RuntimeAssembly reqAssembly, 1898return RuntimeAssembly.nIsDesignerBindingContext(this); 1905private extern static bool nIsDesignerBindingContext(RuntimeAssembly assembly); 1911private static extern RuntimeAssembly _nLoad(AssemblyName fileName, 1914RuntimeAssembly locationHint, 1939private static RuntimeAssembly nLoad(AssemblyName fileName, 1942RuntimeAssembly locationHint, 1962private static unsafe RuntimeAssembly LoadWithPartialNameHack(String partialName, bool cropPublicKey) 2002internal static RuntimeAssembly LoadWithPartialNameInternal(String partialName, Evidence securityEvidence, ref StackCrawlMark stackMark) 2009internal static RuntimeAssembly LoadWithPartialNameInternal(AssemblyName an, Evidence securityEvidence, ref StackCrawlMark stackMark) 2024RuntimeAssembly result = null; 2137private static extern bool IsReflectionOnly(RuntimeAssembly assembly); 2210private extern static void LoadModule(RuntimeAssembly assembly, 2241private static extern void GetModule(RuntimeAssembly assembly, String name, ObjectHandleOnStack retModule); 2297private static extern String[] GetManifestResourceNames(RuntimeAssembly assembly); 2314internal static RuntimeAssembly GetExecutingAssembly(ref StackCrawlMark stackMark) 2316RuntimeAssembly retAssembly = null; 2325private static extern AssemblyName[] GetReferencedAssemblies(RuntimeAssembly assembly); 2337private static extern int GetManifestResourceInfo(RuntimeAssembly assembly, 2349RuntimeAssembly retAssembly = null; 2368private static extern void GetLocation(RuntimeAssembly assembly, StringHandleOnStack retString); 2395private extern static void GetImageRuntimeVersion(RuntimeAssembly assembly, StringHandleOnStack retString); 2414private extern static bool IsGlobalAssemblyCache(RuntimeAssembly assembly); 2429private extern static Int64 GetHostContext(RuntimeAssembly assembly); 2502private static extern bool GetIsStrongNameVerified(RuntimeAssembly assembly); 2510private static unsafe extern byte* GetResource(RuntimeAssembly assembly, 2549private static extern void GetVersion(RuntimeAssembly assembly, 2566private static extern void GetLocale(RuntimeAssembly assembly, StringHandleOnStack retString); 2584private static extern bool FCallIsDynamic(RuntimeAssembly assembly); 2614private static extern void GetSimpleName(RuntimeAssembly assembly, StringHandleOnStack retSimpleName); 2628private extern static AssemblyHashAlgorithm GetHashAlgorithm(RuntimeAssembly assembly); 2640private extern static AssemblyNameFlags GetFlags(RuntimeAssembly assembly); 2652private static extern void GetRawBytes(RuntimeAssembly assembly, ObjectHandleOnStack retRawBytes); 2668private static extern void GetPublicKey(RuntimeAssembly assembly, ObjectHandleOnStack retPublicKey); 2682private extern static void GetGrantSet(RuntimeAssembly assembly, ObjectHandleOnStack granted, ObjectHandleOnStack denied); 2715private extern static bool IsAllSecurityCritical(RuntimeAssembly assembly); 2729private extern static bool IsAllSecuritySafeCritical(RuntimeAssembly assembly); 2743private extern static bool IsAllPublicAreaSecuritySafeCritical(RuntimeAssembly assembly); 2757private extern static bool IsAllSecurityTransparent(RuntimeAssembly assembly); 2902internal RuntimeAssembly InternalGetSatelliteAssembly(String name, 2922RuntimeAssembly retAssembly = null; 3053private RuntimeAssembly InternalProbeForSatelliteAssemblyNextToParentAssembly(AssemblyName an, 3063RuntimeAssembly retAssembly = null; 3166static internal extern RuntimeAssembly nLoadFile(String path, Evidence evidence); 3171static internal extern RuntimeAssembly nLoadImage(byte[] rawAssembly, 3194private extern static void GetModules(RuntimeAssembly assembly, 3226internal static extern RuntimeModule GetManifestModule(RuntimeAssembly assembly); 3232internal static extern bool AptcaCheck(RuntimeAssembly targetAssembly, RuntimeAssembly sourceAssembly); 3238internal static extern int GetToken(RuntimeAssembly assembly);
system\reflection\assemblyname.cs (2)
426internal extern void nInit(out RuntimeAssembly assembly, bool forIntrospection, bool raiseResolveEvent); 431RuntimeAssembly dummy = null;
system\reflection\ConstructorInfo.cs (6)
186RuntimeAssembly rtAssembly = GetRuntimeAssembly(); 474internal RuntimeAssembly GetRuntimeAssembly() { return GetRuntimeModule().GetRuntimeAssembly(); } 612RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 718RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark);
system\reflection\customattribute.cs (17)
173internal static IList<CustomAttributeData> GetCustomAttributesInternal(RuntimeAssembly target) 177IList<CustomAttributeData> cad = GetCustomAttributes((RuntimeModule)target.ManifestModule, RuntimeAssembly.GetToken(target.GetNativeHandle())); 1023RuntimeAssembly assembly); 1047(RuntimeAssembly)customAttributeModule.Assembly); 1135public extern void Push(RuntimeAssembly assembly); 1305internal static bool IsDefined(RuntimeAssembly assembly, RuntimeType caType) 1313return IsCustomAttributeDefined(assembly.ManifestModule as RuntimeModule, RuntimeAssembly.GetToken(assembly.GetNativeHandle()), caType); 1554internal static Object[] GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) 1561int assemblyToken = RuntimeAssembly.GetToken(assembly.GetNativeHandle()); 1906RuntimeAssembly attributeAssembly = (RuntimeAssembly)attributeType.Assembly; 1907RuntimeAssembly decoratedModuleAssembly = (RuntimeAssembly)decoratedModule.Assembly; 1910!RuntimeAssembly.AptcaCheck(attributeAssembly, decoratedModuleAssembly)) 2383internal static Attribute[] GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType, bool includeSecCa, out int count) 2397GetSecurityAttributes(assembly.ManifestModule.ModuleHandle.GetRuntimeModule(), RuntimeAssembly.GetToken(assembly.GetNativeHandle()), true, out securityAttributes); 2418internal static bool IsDefined(RuntimeAssembly assembly, RuntimeType caType)
system\reflection\emit\assemblybuilder.cs (15)
183private static extern RuntimeModule GetInMemoryAssemblyModule(RuntimeAssembly assembly); 194private static extern RuntimeModule GetOnDiskAssemblyModule(RuntimeAssembly assembly); 272internal RuntimeAssembly GetNativeHandle() 448RuntimeAssembly creator = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 2191static private extern void DefineDynamicModule(RuntimeAssembly containingAssembly, 2202private static Module DefineDynamicModule(RuntimeAssembly containingAssembly, 2231static private extern void PrepareForSavingManifestToDisk(RuntimeAssembly assembly, RuntimeModule assemblyModule); // module to contain assembly information if assembly is embedded 2237static private extern void SaveManifestToDisk(RuntimeAssembly assembly, 2248static private extern int AddFile(RuntimeAssembly assembly, String strFileName); 2254static private extern void SetFileHashValue(RuntimeAssembly assembly, 2262static private extern int AddExportedTypeInMemory(RuntimeAssembly assembly, 2272static private extern int AddExportedTypeOnDisk(RuntimeAssembly assembly, 2283static private extern void AddStandAloneResource(RuntimeAssembly assembly, 2294static private extern void AddDeclarativeSecurity(RuntimeAssembly assembly, SecurityAction action, byte[] blob, int length);
system\reflection\emit\dynamicmethod.cs (14)
55private RuntimeAssembly m_creatorAssembly; 430m_creatorAssembly = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 646RuntimeAssembly assembly = m_typeOwner.Assembly as RuntimeAssembly; 653RuntimeAssembly assembly = m_module.Assembly as RuntimeAssembly; 672RuntimeAssembly assembly = m_typeOwner.Assembly as RuntimeAssembly; 679RuntimeAssembly assembly = m_module.Assembly as RuntimeAssembly; 698RuntimeAssembly assembly = m_typeOwner.Assembly as RuntimeAssembly; 705RuntimeAssembly assembly = m_module.Assembly as RuntimeAssembly;
system\reflection\emit\methodrental.cs (1)
98RuntimeAssembly rtAssembly = internalMB.GetRuntimeAssembly();
system\reflection\fieldinfo.cs (6)
417RuntimeAssembly rtAssembly = GetRuntimeAssembly(); 488private RuntimeAssembly GetRuntimeAssembly() { return m_declaringType.GetRuntimeAssembly(); } 579RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark); 654RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark);
system\reflection\methodinfo.cs (4)
152RuntimeAssembly rtAssembly = GetRuntimeAssembly(); 562internal RuntimeAssembly GetRuntimeAssembly() { return GetRuntimeModule().GetRuntimeAssembly(); } 721RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark);
system\reflection\module.cs (2)
948private RuntimeAssembly m_runtimeAssembly; 1221internal RuntimeAssembly GetRuntimeAssembly()
system\resources\manifestbasedresourcegroveler.cs (7)
69RuntimeAssembly satellite = null; 239if (GetNeutralResourcesLanguageAttribute(((RuntimeAssembly)a).GetNativeHandle(), 430private Stream GetManifestResourceStream(RuntimeAssembly satellite, String fileName, ref StackCrawlMark stackMark) 455private Stream CaseInsensitiveManifestResourceStreamLookup(RuntimeAssembly satellite, String name) 538private RuntimeAssembly GetSatelliteAssembly(CultureInfo lookForCulture, ref StackCrawlMark stackMark) 546RuntimeAssembly satellite = null; 695internal static extern bool GetNeutralResourcesLanguageAttribute(RuntimeAssembly assemblyHandle, StringHandleOnStack cultureName, out short fallbackLocation);
system\resources\resourcemanager.cs (16)
232private RuntimeAssembly m_callingAssembly; // Assembly who created the ResMgr. 278m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 362if (!(assembly is RuntimeAssembly)) 372m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 399if (!(assembly is RuntimeAssembly)) 410m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 437m_callingAssembly = (RuntimeAssembly)Assembly.GetCallingAssembly(); 474this.m_callingAssembly = (RuntimeAssembly)_callingAssembly; 718RuntimeAssembly mainAssembly = (RuntimeAssembly)MainAssembly; 1056private bool ShouldUseSatelliteAssemblyResourceLookupUnderAppX(RuntimeAssembly resourcesAssembly) 1101RuntimeAssembly resourcesAssembly = (RuntimeAssembly)MainAssembly; 1676internal RuntimeAssembly CallingAssembly 1681internal RuntimeAssembly MainAssembly 1683get { return (RuntimeAssembly)_rm.MainAssembly; }
system\resources\resourcereader.cs (2)
1151RuntimeAssembly a = (RuntimeAssembly)resourceType.Assembly;
system\rttype.cs (4)
2681RuntimeAssembly rtAssembly = GetRuntimeAssembly(); 3563internal RuntimeAssembly GetRuntimeAssembly() 5465RuntimeAssembly caller = RuntimeAssembly.GetExecutingAssembly(ref stackMark);
system\runtime\compilerservices\TypeForwardedToAttribute.cs (2)
31internal static TypeForwardedToAttribute[] GetCustomAttribute(RuntimeAssembly assembly) 34RuntimeAssembly.GetForwardedTypes(assembly.GetNativeHandle(), JitHelpers.GetObjectHandleOnStack(ref types));
system\runtime\designerservices\windowsruntimedesignercontext.cs (1)
149return RuntimeAssembly.InternalLoad(assemblyName, null, ref stackMark, m_contextObject, false /*forIntrospection*/);
system\runtime\interopservices\marshal.cs (6)
1461RuntimeAssembly rtAssembly = asm as RuntimeAssembly; 1472private static extern void FCallGetTypeLibGuidForAssembly(ref Guid result, RuntimeAssembly asm); 1480private static extern void _GetTypeLibVersionForAssembly(RuntimeAssembly inputAssembly, out int majorVersion, out int minorVersion); 1490RuntimeAssembly rtAssembly = inputAssembly as RuntimeAssembly;
system\runtime\interopservices\registrationservices.cs (6)
109RuntimeAssembly rtAssembly = assembly as RuntimeAssembly; 172RuntimeAssembly rtAssembly = assembly as RuntimeAssembly; 229if (!(assembly is RuntimeAssembly)) 868private void RegisterPrimaryInteropAssembly(RuntimeAssembly assembly, String strAsmCodeBase, PrimaryInteropAssemblyAttribute attr)
system\runtime\interopservices\tceadaptergen\eventitfinfo.cs (4)
17RuntimeAssembly asmImport, 18RuntimeAssembly asmSrcItf) 51private RuntimeAssembly m_asmImport; 52private RuntimeAssembly m_asmSrcItf;
system\runtime\interopservices\typelibconverter.cs (12)
171RuntimeAssembly rtAssembly; 176rtAssembly = assembly as RuntimeAssembly; 483private static extern void nConvertTypeLibToMetadata(Object typeLib, RuntimeAssembly asmBldr, RuntimeModule modBldr, String nameSpace, TypeLibImporterFlags flags, ITypeLibImporterNotifySink notifySink, out ArrayList eventItfInfoList); 489private static extern Object nConvertAssemblyToTypeLib(RuntimeAssembly assembly, String strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink); 515Contract.Ensures(Contract.Result<Assembly>() != null && Contract.Result<Assembly>() is RuntimeAssembly); 528RuntimeAssembly rtAssembly = asm as RuntimeAssembly; 562foreach (RuntimeAssembly asm in m_AsmList) 581foreach (RuntimeAssembly asm in m_AsmList) 592foreach (RuntimeAssembly asm in m_AsmList) 605private List<RuntimeAssembly> m_AsmList = new List<RuntimeAssembly>();
system\runtime\interopservices\windowsruntime\windowsruntimemetadata.cs (4)
77internal static RuntimeAssembly[] OnReflectionOnlyNamespaceResolveEvent(AppDomain appDomain, RuntimeAssembly assembly, string namespaceName) 93RuntimeAssembly[] retAssemblies = new RuntimeAssembly[assembliesCollection.Count];
system\runtime\remoting\activationservices.cs (7)
300private static void CheckForInfrastructurePermission(RuntimeAssembly asm) 326RuntimeAssembly asm = (RuntimeAssembly)attr.GetType().Assembly; 362RuntimeAssembly asm = (RuntimeAssembly)attr.GetType().Assembly; 653RuntimeAssembly asm = null; 663asm = (RuntimeAssembly)prop.GetType().Assembly;
system\runtime\remoting\soap.cs (4)
233if (!(assembly is RuntimeAssembly)) 741RuntimeAssembly assem = type.GetRuntimeAssembly(); 768RuntimeAssembly assem = type.GetRuntimeAssembly(); 811String assemName = ((RuntimeAssembly)typeof(String).Module.Assembly).GetSimpleName();
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
1427Assembly assm = RuntimeAssembly.LoadWithPartialNameInternal(assemblyName, null, ref stackMark); 1429assm = RuntimeAssembly.LoadWithPartialNameInternal(assemblyName.Name, null, ref stackMark);
system\runtimehandles.cs (3)
272internal extern static RuntimeAssembly GetAssembly(RuntimeType type); 2065internal static RuntimeAssembly GetAssembly(RuntimeModule module) 2067RuntimeAssembly retAssembly = null;
system\security\codeaccesssecurityengine.cs (7)
106private static void ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed) 130Contract.Assert((assemblyOrString == null || assemblyOrString is RuntimeAssembly || assemblyOrString is String), "Must pass in an Assembly object or String object here"); 132if (assemblyOrString == null || assemblyOrString is RuntimeAssembly) 133ThrowSecurityException((RuntimeAssembly)assemblyOrString, granted, refused, rmh, action, demand, permThatFailed); 148RuntimeAssembly asm, 263RuntimeAssembly asm, 553internal static void CheckAssembly(RuntimeAssembly asm, CodeAccessPermission demand )
system\security\permissiontoken.cs (1)
108Contract.Assert( c_mscorlibName == ((RuntimeAssembly)Assembly.GetExecutingAssembly()).GetSimpleName(),
system\security\policy\appdomainevidencefactory.cs (2)
66RuntimeAssembly entryRuntimeAssembly = entryAssembly as RuntimeAssembly;
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\assemblyevidencefactory.cs (5)
28private RuntimeAssembly m_targetAssembly; 33private AssemblyEvidenceFactory(RuntimeAssembly targetAssembly, PEFileEvidenceFactory peFileFactory) 188private static extern void GetAssemblyPermissionRequests(RuntimeAssembly assembly, 205private static extern void GetStrongNameInformation(RuntimeAssembly assembly, 218private static Evidence UpgradeSecurityIdentity(Evidence peFileEvidence, RuntimeAssembly targetAssembly)
system\security\policy\hash.cs (2)
34private RuntimeAssembly m_assembly; 97m_assembly = assembly as RuntimeAssembly;
system\security\policy\strongname.cs (3)
34private RuntimeAssembly m_assembly = null; 59RuntimeAssembly rtAssembly = assembly as RuntimeAssembly;
system\typenameparser.cs (2)
219assembly = RuntimeAssembly.InternalLoad(asmName, null, ref stackMark, false /*forIntrospection*/); 227assembly = RuntimeAssembly.InternalLoad(asmName, null, ref stackMark, false /*forIntrospection*/);
system\unityserializationholder.cs (1)
129SerializationInfo info, int unityType, String data, RuntimeAssembly assembly)