Add ENomatchReason for events, and properly handle them.
This commit is contained in:
parent
8a350c6818
commit
e9d6b30e88
@ -26,4 +26,6 @@ public enum ENoMatchReason
|
||||
NestedTypeInclude,
|
||||
NestedTypeExclude,
|
||||
NestedTypeCount,
|
||||
EventsInclude,
|
||||
EventExclude
|
||||
}
|
@ -393,7 +393,7 @@ public class ReCodeItRemapper
|
||||
|
||||
if (!types.Any())
|
||||
{
|
||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesInclude);
|
||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.EventsInclude);
|
||||
mapping.TypeCandidates.UnionWith(types);
|
||||
return false;
|
||||
}
|
||||
@ -402,7 +402,7 @@ public class ReCodeItRemapper
|
||||
|
||||
if (!types.Any())
|
||||
{
|
||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesExclude);
|
||||
AllTypesFilteredOutFor(mapping, ENoMatchReason.EventExclude);
|
||||
mapping.TypeCandidates.UnionWith(types);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user