var methodsToMatch = typeof(T).GetMethods(BindingFlags.Public | BindingFlags.Instance).ToArray();
.GetProperties(BindingFlags.Public | BindingFlags.Instance)
.GetProperties(BindingFlags.Public | BindingFlags.Static)
=> _actualProperties = (from p in typeof(TComponent).GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static)
PropertyInfo[] properties = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance)
typeof(Exception).GetProperties(BindingFlags.Public | BindingFlags.Instance).Select(x => x.Name).ToArray());
public ReflectionPropertyCollection(object obj) => _reflectionProperties = new ArrayBuilder<KeyValuePair<ReflectionPropertyId, IProperty>>((obj ?? throw GetArgumentNullException(nameof(obj))).GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance).WhereSelect(property => property.GetMethod != null && IsNullOrEmpty(property.GetIndexParameters()), property => new KeyValuePair<ReflectionPropertyId, IProperty>(new ReflectionPropertyId(property), new ReflectionProperty(property, obj))));
(from method in typeof(Reshape).GetMethods(BindingFlags.Public | BindingFlags.Static)
foreach (var property in obj.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance))
properties = (from prop in owner.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance) where ProxyProperty <TValue> .CanUse(prop) select new ProxyProperty <TValue>(prop, owner)).ToList();
.GetFields(BindingFlags.Public | BindingFlags.Static)
.Select(e => (Enum.GetName(e), e)) //select the regular enum names .Concat(typeof(TEnum).GetFields(BindingFlags.Public | BindingFlags.Static) //and concat with the custom ones
props_ = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance).Where(x => x.CanRead).ToArray();
var dbsets = typeof(BBMContext).GetProperties(BindingFlags.Public | BindingFlags.Instance)