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