Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/coreclr/tools/Common/Compiler/TypeMapMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ public static TypeMapMetadata CreateFromAssembly(EcmaAssembly assembly, ModuleDe
continue;
}

CustomAttributeValue<TypeWithSerializedName> attrValue = attr.DecodeValue(new TypeMapCustomAttributeTypeProvider(currentAssembly));

TypeDesc typeMapGroup = type.Instantiation[0];

Map typeMapState;
Expand Down Expand Up @@ -483,6 +481,8 @@ public static TypeMapMetadata CreateFromAssembly(EcmaAssembly assembly, ModuleDe

try
{
CustomAttributeValue<TypeWithSerializedName> attrValue = attr.DecodeValue(new TypeMapCustomAttributeTypeProvider(currentAssembly));

switch (attrKind)
{
case TypeMapAttributeKind.TypeMapAssemblyTarget:
Expand Down
Loading