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
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,12 @@ public static TypeMapMetadata CreateFromAssembly(EcmaAssembly assembly, Compiler
continue;
}

TypeDesc type = (TypeDesc)currentAssembly.GetObject(attributeType);
TypeDesc type = (TypeDesc)currentAssembly.GetObject(attributeType, NotFoundBehavior.ReturnNull);
if (type == null)
{
// If the type doesn't resolve, it can't be a type map attribute
continue;
}

TypeMapAttributeKind attrKind = LookupTypeMapType(type);

Expand Down
Loading