Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CilTools.Metadata reflection updates #121

Open
2 of 11 tasks
MSDN-WhiteKnight opened this issue Jul 20, 2022 · 0 comments
Open
2 of 11 tasks

CilTools.Metadata reflection updates #121

MSDN-WhiteKnight opened this issue Jul 20, 2022 · 0 comments

Comments

@MSDN-WhiteKnight
Copy link
Owner

MSDN-WhiteKnight commented Jul 20, 2022

  • .GetCustomAttributes(bool inherit) overloads should respect inherit parameter
  • Implement .GetCustomAttributes(Type attributeType, bool inherit) overloads
  • Implement ParameterSpec.HasDefaultValue
  • Add API to convert between CilTools.Metadata and runtime reflection
  • Implement Type.GetInterfaces, Type.GetInterfaceMap (on subclasses other than TypeDef)
  • Implement Type.GetEnumValues and other enum APIs
  • Implement modifier-related APIs, such as FieldInfo.GetOptionalCustomModifiers
  • Ensure resolving members by token fails with expected exceptions when token is out of range
  • Implement MetadataToken for properties and events
  • Implement proper inheritance rules for properties and events (when queried w/out DeclaredOnly)
  • Override Type.IsEnum to correctly handle defferent corelibs
MSDN-WhiteKnight added a commit that referenced this issue Jul 23, 2022
MSDN-WhiteKnight added a commit that referenced this issue Apr 1, 2023
Throw ArgumentOutOfRangeException on out-of-range tokens when resolving members, instead of BadImageFormatException that SRM uses by default.

Issue: #121
MSDN-WhiteKnight added a commit that referenced this issue Apr 1, 2023
Override Type.IsEnum to correctly handle different corelibs

Issue: #121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant