2 writes to PublicKeyOrToken
System.Reflection.Metadata (2)
System\Reflection\Metadata\AssemblyNameInfo.cs (2)
48PublicKeyOrToken = publicKeyOrToken; 61PublicKeyOrToken = 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; 167if (!PublicKeyOrToken.IsDefault) 172assemblyName.SetPublicKey(PublicKeyOrToken.ToArray()); 176assemblyName.SetPublicKeyToken(PublicKeyOrToken.ToArray());
System.Windows.Forms (7)
System\Resources\ResXSerializationBinder.cs (1)
61assemblyNameInfo.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)
76if (!info.PublicKeyOrToken.IsDefaultOrEmpty) 78foreach (byte b in info.PublicKeyOrToken)
System.Windows.Forms.Tests (3)
System\Resources\ResXSerializationBinderTests.cs (1)
95assemblyNameInfo.PublicKeyOrToken).FullName}";
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (2)
1030&& info1.PublicKeyOrToken.AsSpan().SequenceEqual(info2.PublicKeyOrToken.AsSpan()))