yog-script-analyze 0.6.1

Yog Script (.ys, .yns) analyzed: its lexer, parser and syntax tree, names resolved, the class index model — what the build and the editors read a source with.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace System.Reflection;

/// A type's member — a field, a property, a method, a constructor, a
/// nested type, the type itself — as Reflection sees it: .NET's
/// `MemberInfo`.
[Intrinsic]
public readonly abstract class MemberInfo {
    public abstract string Name { get; }
    /// The type declaring it; `null` for a type not nested in one.
    public abstract Type? DeclaringType { get; }
    public abstract MemberTypes MemberType { get; }
    /// Its attributes, made anew; `inherit`: a type's base's too.
    public object[] GetCustomAttributes(bool inherit);
    /// Its attributes that are `attributeType`s (one inheriting it too).
    public object[] GetCustomAttributes(Type attributeType, bool inherit);
    public bool IsDefined(Type attributeType, bool inherit);
}