-nomethod System.Reflection.Tests.MemberInfoNetCoreAppTests.HasSameMetadataDefinitionAs__CornerCase_HasElementTypes
-nomethod System.Reflection.Tests.MemberInfoNetCoreAppTests.HasSameMetadataDefinitionAs_GenericTypeParameters
-nomethod System.Reflection.Tests.MemberInfoTests.GenericMethodsInheritTheReflectedTypeOfTheirTemplate
--nomethod System.Reflection.Tests.AssemblyNameTests.SetPublicKeyToken_GetPublicKeyToken
--nomethod System.Reflection.Tests.AssemblyNameTests.FullName
-nomethod System.Reflection.Tests.AssemblyTests.LoadFile
-nomethod System.Reflection.Tests.AssemblyTests.GetType_DoesntSearchMscorlib
-nomethod System.Reflection.Tests.AssemblyTests.LoadFrom_SameIdentityAsAssemblyWithDifferentPath_ReturnsEqualAssemblies
unsafe byte [] ComputePublicKeyToken ()
{
- if (_publicKey == null || _publicKey.Length == 0)
+ if (_publicKey == null)
+ return null;
+ if (_publicKey.Length == 0)
return Array.Empty<byte>();
var token = new byte [8];