src/Shared/EntityFramework/Internal/Validation/EntityValidatorBuilder.cs
// <summary>
// Returns all non-static non-indexed CLR properties from the <paramref name="type" />.
// </summary>
// <param name="type">
// The CLR <see cref="Type" /> to get the properties from.
// </param>
// <returns> A collection of CLR properties. Possibly empty, never null. </returns>
Returns all non-static non-indexed CLR properties from the .
Returns all non - static non - indexed CLR properties from the .
protected virtual IEnumerable<PropertyInfo> GetPublicInstanceProperties(Type type)
        {
            DebugCheck.NotNull(type);
            return type.GetInstanceProperties()
                       .Where(p => p.IsPublic()
                           && p.GetIndexParameters().Length == 0
                           && p.Getter() != null);
        }
protected virtual IEnumerable < PropertyInfo > GetPublicInstanceProperties ( Type type ) { DebugCheck . NotNull ( type ) ; return type . GetInstanceProperties ( ) . Where ( p => p . IsPublic ( ) && p . GetIndexParameters ( ) . Length == 0 && p . Getter ( ) != null ) ; }
Returns all non-static non-indexed CLR properties from the .
Returns all non - static non - indexed CLR properties from the .
A collection of CLR properties. Possibly empty, never null.
A collection of CLR properties . Possibly empty never null .
type
Type
The CLR  to get the properties from.
The CLR to get the properties from .