You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.176
Former-commit-id: 2a68abbd7d315da91444d8e076512844099b08de
This commit is contained in:
parent
4d0627f707
commit
c02e2f17d5
@ -213,7 +213,7 @@ namespace System.Reflection {
|
||||
private static bool filter_by_type_name (Type m, object filterCriteria) {
|
||||
string s = (string)filterCriteria;
|
||||
if (s.Length > 0 && s [s.Length - 1] == '*')
|
||||
return m.Name.StartsWithOrdinalUnchecked (s.Substring (0, s.Length - 1));
|
||||
return m.Name.StartsWith (s.Substring (0, s.Length - 1), StringComparison.Ordinal);
|
||||
|
||||
return m.Name == s;
|
||||
}
|
||||
|
Reference in New Issue
Block a user