System.FieldReflectionLibrary.GetFieldsWithAttribute C# (CSharp) Method

GetFieldsWithAttribute() public static method

public static GetFieldsWithAttribute ( Type type ) : IEnumerable
type Type
return IEnumerable
        public static IEnumerable<FieldInfo> GetFieldsWithAttribute<T>(this Type type)
            where T : Attribute =>
            type
                .GetFieldsWithAttribute<T>(ReflectionLibrary.STATIC_MEMBER_BINDING_FLAGS);

Same methods

FieldReflectionLibrary::GetFieldsWithAttribute ( IReflect t, BindingFlags flags ) : IEnumerable
FieldReflectionLibrary::GetFieldsWithAttribute ( object o ) : IEnumerable