2 overrides of Matches
System.Reflection.MetadataLoadContext (2)
System\Reflection\Runtime\BindingFlagSupport\NameFilter.Ecma.cs (2)
16public sealed override bool Matches(StringHandle stringHandle, MetadataReader reader) => stringHandle.Equals(_expectedNameUtf8, reader); 21public sealed override bool Matches(StringHandle stringHandle, MetadataReader reader) => reader.StringComparer.Equals(stringHandle, ExpectedName, true);
6 references to Matches
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.BindingFlags.cs (6)
24if (filter == null || filter.Matches(methodDefinition.Name, reader)) 38if (filter == null || filter.Matches(methodDefinition.Name, reader)) 51if (filter == null || filter.Matches(handle.GetEventDefinition(reader).Name, reader)) 61if (filter == null || filter.Matches(handle.GetFieldDefinition(reader).Name, reader)) 71if (filter == null || filter.Matches(handle.GetPropertyDefinition(reader).Name, reader)) 82if (filter == null || filter.Matches(nestedTypeDefinition.Name, reader))