private static void DecodeTypeNameAndVerify( string nameToDecode, string expectedTopLevelType, string expectedAssemblyName = null, string[] expectedNestedTypes = null, MetadataHelpers.AssemblyQualifiedTypeName[] expectedTypeArguments = null, int[] expectedArrayRanks = null) { MetadataHelpers.AssemblyQualifiedTypeName decodedName = MetadataHelpers.DecodeTypeName(nameToDecode); VerifyDecodedTypeName(decodedName, expectedTopLevelType, expectedAssemblyName, expectedNestedTypes, expectedTypeArguments, expectedArrayRanks); }
private static void DecodeTypeNameAndVerify( MetadataHelpers.SerializedTypeDecoder decoder, string nameToDecode, string expectedTopLevelType, string expectedAssemblyName = null, string[] expectedNestedTypes = null, MetadataHelpers.AssemblyQualifiedTypeName[] expectedTypeArguments = null, int[] expectedArrayRanks = null) { MetadataHelpers.AssemblyQualifiedTypeName decodedName = decoder.DecodeTypeName(nameToDecode); VerifyDecodedTypeName(decodedName, expectedTopLevelType, expectedAssemblyName, expectedNestedTypes, expectedTypeArguments, expectedArrayRanks); }