2 overrides of Matches
System.Private.CoreLib (2)
System\Reflection\Runtime\BindingFlagSupport\NameFilter.cs (2)
26public sealed override bool Matches(string name) => name.Equals(ExpectedName, StringComparison.Ordinal); 36public sealed override bool Matches(string name) => name.Equals(ExpectedName, StringComparison.OrdinalIgnoreCase);
2 references to Matches
System.Private.CoreLib (2)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.CoreGetDeclared.cs (2)
54if (optionalNameFilter == null || optionalNameFilter.Matches(syntheticConstructor.IsStatic ? ConstructorInfo.TypeConstructorName : ConstructorInfo.ConstructorName)) 77if (optionalNameFilter == null || optionalNameFilter.Matches(syntheticMethod.Name))