Microsoft.VisualBasic.CompilerServices.ReflectionExtensions
namespace Microsoft.VisualBasic.CompilerServices
{
internal sealed class ReflectionExtensions
{
public enum MemberTypes
{
Constructor = 1,
Event = 2,
Field = 4,
Method = 8,
Property = 16,
TypeInfo = 32,
Custom = 64,
NestedType = 128,
All = 191
}
public static BindingFlags BindingFlagsInvokeMethod { get; }
public static BindingFlags BindingFlagsGetProperty { get; }
public static BindingFlags BindingFlagsSetProperty { get; }
public static BindingFlags BindingFlagsIgnoreReturn { get; }
public static MemberTypes MemberType(this MemberInfo memberInfo);
public static TypeCode GetTypeCode(this Type type);
public static bool IsSubclassOf(this Type source, Type other);
public static bool IsEquivalentTo(this MethodBase mi1, MethodBase mi2);
public static bool HasSameMetadataDefinitionAs(this MethodBase mi1, MethodBase mi2);
}
}