5 writes to asAssemblyName
Microsoft.Build.Tasks.Core (5)
AssemblyNameExtension.cs (5)
85asAssemblyName = assemblyName; 150asAssemblyName = new AssemblyName 241asAssemblyName = GetAssemblyNameFromDisplayName(asString); 601newExtension.asAssemblyName = asAssemblyName.CloneIfPossible(); 982translator.Translate(ref asAssemblyName);
47 references to asAssemblyName
Microsoft.Build.Tasks.Core (47)
AssemblyNameExtension.cs (47)
162asAssemblyName.SetPublicKey(publicKey); 163asAssemblyName.SetPublicKeyToken(publicKeyToken); 239if (asAssemblyName == null) 243if (asAssemblyName != null) 258asString = asAssemblyName.FullName; 272return asAssemblyName.Name; 280asAssemblyName?.ProcessorArchitecture ?? ProcessorArchitecture.None; 292return asAssemblyName.Version; 329if (asAssemblyName.Version != version) 331asAssemblyName.Version = version; 348return asAssemblyName.CultureInfo; 363return (asAssemblyName.Flags & AssemblyNameFlags.Retargetable) == AssemblyNameFlags.Retargetable; 399return asAssemblyName; 425return asAssemblyName.GetPublicKeyToken(); 503AssemblyName a1 = asAssemblyName; 504AssemblyName a2 = that.asAssemblyName; 535if (asAssemblyName != null && that.asAssemblyName != null) 538return asAssemblyName == that.asAssemblyName 540: string.Compare(asAssemblyName.Name, that.asAssemblyName.Name, StringComparison.OrdinalIgnoreCase); 599if (asAssemblyName != null) 601newExtension.asAssemblyName = asAssemblyName.CloneIfPossible(); 695if (asAssemblyName != null && that.asAssemblyName != null) 698if (object.ReferenceEquals(asAssemblyName, that.asAssemblyName)) 813internal bool IsUnnamedAssembly => asAssemblyName == null && asString == null; 909if (asAssemblyName != null && that.asAssemblyName != null) 912if (object.ReferenceEquals(asAssemblyName, that.asAssemblyName)) 948info.AddValue("hasAN", asAssemblyName != null); 949if (asAssemblyName != null) 951info.AddValue("name", asAssemblyName.Name); 952info.AddValue("pk", asAssemblyName.GetPublicKey()); 953info.AddValue("pkt", asAssemblyName.GetPublicKeyToken()); 954info.AddValue("ver", asAssemblyName.Version); 955info.AddValue("flags", (int)asAssemblyName.Flags); 956info.AddValue("cpuarch", (int)asAssemblyName.ProcessorArchitecture); 958info.AddValue("hasCI", asAssemblyName.CultureInfo != null); 959if (asAssemblyName.CultureInfo != null) 961info.AddValue("ci", asAssemblyName.CultureInfo.LCID); 964info.AddValue("hashAlg", asAssemblyName.HashAlgorithm); 965info.AddValue("verCompat", asAssemblyName.VersionCompatibility); 966info.AddValue("codebase", asAssemblyName.CodeBase);