2 writes to PublicKeyOrToken
System.Reflection.Metadata (2)
System\Reflection\Metadata\AssemblyNameInfo.cs (2)
48
PublicKeyOrToken
= publicKeyOrToken;
61
PublicKeyOrToken
= parts._publicKeyOrToken is null ? default : parts._publicKeyOrToken.Length == 0
15 references to PublicKeyOrToken
System.Reflection.Metadata (5)
System\Reflection\Metadata\AssemblyNameInfo.cs (5)
121
!
PublicKeyOrToken
.IsDefault ? Runtime.InteropServices.ImmutableCollectionsMarshal.AsArray(
PublicKeyOrToken
) : null;
167
if (!
PublicKeyOrToken
.IsDefault)
172
assemblyName.SetPublicKey(
PublicKeyOrToken
.ToArray());
176
assemblyName.SetPublicKeyToken(
PublicKeyOrToken
.ToArray());
System.Windows.Forms (7)
System\Resources\ResXSerializationBinder.cs (1)
61
assemblyNameInfo.
PublicKeyOrToken
).FullName}";
System\Windows\Forms\Internal\TypeExtensions.cs (4)
155
&& nameInfo.
PublicKeyOrToken
.AsSpan().SequenceEqual(nameInfo1.
PublicKeyOrToken
.AsSpan());
233
&& name1.
PublicKeyOrToken
.AsSpan().SequenceEqual(name2.
PublicKeyOrToken
.AsSpan());
System\Windows\Forms\OLE\DataObject.Composition.TypeNameComparer.cs (2)
76
if (!info.
PublicKeyOrToken
.IsDefaultOrEmpty)
78
foreach (byte b in info.
PublicKeyOrToken
)
System.Windows.Forms.Tests (3)
System\Resources\ResXSerializationBinderTests.cs (1)
95
assemblyNameInfo.
PublicKeyOrToken
).FullName}";
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (2)
1030
&& info1.
PublicKeyOrToken
.AsSpan().SequenceEqual(info2.
PublicKeyOrToken
.AsSpan()))