45 references to IAssemblyName
Microsoft.CodeAnalysis.Scripting (45)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\ClrGlobalAssemblyCache.cs (10)
37int GetNextAssembly(out FusionAssemblyIdentity.IApplicationContext ppAppCtx, out FusionAssemblyIdentity.IAssemblyName ppName, uint dwFlags); 69private static extern int CreateAssemblyEnum(out IAssemblyEnum ppEnum, FusionAssemblyIdentity.IApplicationContext pAppCtx, FusionAssemblyIdentity.IAssemblyName pName, ASM_CACHE dwFlags, IntPtr pvReserved); 95FusionAssemblyIdentity.IAssemblyName nameObj; 125FusionAssemblyIdentity.IAssemblyName partialName, 136internal static IEnumerable<FusionAssemblyIdentity.IAssemblyName> GetAssemblyObjects( 137FusionAssemblyIdentity.IAssemblyName partialNameFilter, 174FusionAssemblyIdentity.IAssemblyName nameObject; 212FusionAssemblyIdentity.IAssemblyName nameObject = FusionAssemblyIdentity.ToAssemblyNameObject(displayName); 221var bestMatch = FusionAssemblyIdentity.GetBestMatch(candidates, cultureName); 231internal static unsafe string GetAssemblyLocation(FusionAssemblyIdentity.IAssemblyName nameObject)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (35)
101int IsEqual(IAssemblyName pName, uint dwCmpFlags); 104int Clone(out IAssemblyName pName); 115private static int CreateAssemblyNameObject(out IAssemblyName ppEnum, string szAssemblyName, uint dwFlags, IntPtr pvReserved) 124private static extern int RealCreateAssemblyNameObject(out IAssemblyName ppEnum, [MarshalAs(UnmanagedType.LPWStr)] string szAssemblyName, uint dwFlags, IntPtr pvReserved); 129internal static unsafe string GetDisplayName(IAssemblyName nameObject, ASM_DISPLAYF displayFlags) 158internal static unsafe byte[] GetPropertyBytes(IAssemblyName nameObject, PropertyId propertyId) 187internal static unsafe string GetPropertyString(IAssemblyName nameObject, PropertyId propertyId) 201internal static unsafe bool IsKeyOrTokenEmpty(IAssemblyName nameObject, PropertyId propertyId) 209internal static unsafe Version GetVersion(IAssemblyName nameObject) 222internal static Version GetVersion(IAssemblyName name, out AssemblyIdentityParts parts) 254internal static byte[] GetPublicKeyToken(IAssemblyName nameObject) 270internal static byte[] GetPublicKey(IAssemblyName nameObject) 286internal static unsafe uint? GetPropertyWord(IAssemblyName nameObject, PropertyId propertyId) 304internal static string GetName(IAssemblyName nameObject) 309internal static string GetCulture(IAssemblyName nameObject) 314internal static AssemblyContentType GetContentType(IAssemblyName nameObject) 319internal static ProcessorArchitecture GetProcessorArchitecture(IAssemblyName nameObject) 324internal static unsafe AssemblyNameFlags GetFlags(IAssemblyName nameObject) 337private static unsafe void SetProperty(IAssemblyName nameObject, PropertyId propertyId, string data) 357private static unsafe void SetProperty(IAssemblyName nameObject, PropertyId propertyId, byte[] data) 372private static unsafe void SetProperty(IAssemblyName nameObject, PropertyId propertyId, ushort data) 377private static unsafe void SetProperty(IAssemblyName nameObject, PropertyId propertyId, uint data) 382private static unsafe void SetPublicKeyToken(IAssemblyName nameObject, byte[] value) 396/// Converts <see cref="IAssemblyName"/> to <see cref="AssemblyName"/> with all metadata fields filled. 403internal static AssemblyIdentity ToAssemblyIdentity(IAssemblyName nameObject) 427/// Converts <see cref="AssemblyName"/> to an equivalent <see cref="IAssemblyName"/>. 429internal static IAssemblyName ToAssemblyNameObject(AssemblyName name) 436IAssemblyName result; 497/// Creates <see cref="IAssemblyName"/> object by parsing given display name. 499internal static IAssemblyName ToAssemblyNameObject(string displayName) 508IAssemblyName result; 523internal static IAssemblyName GetBestMatch(IEnumerable<IAssemblyName> candidates, string preferredCultureOpt) 525IAssemblyName bestCandidate = null; 528foreach (var candidate in candidates)