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