Exploring the .NET CoreFX

Exploring the .NET CoreFX

When the .NET core framework was first released as open source in 2015, I spent a few weeks reading the source code and looking for tricks and techniques that I thought were interesting or novel. This blog post shares some of the things I found along the way.

  1. Exploring the .NET CoreFX Part 1: Annotate Pure Methods With PureAttribute
  2. Exploring the .NET CoreFX Part 2: Cache ThreadLocal Variables in Locals
  3. Exploring the .NET CoreFX Part 3: Making Methods Debugger-Friendly
  4. Exploring the .NET CoreFX Part 4: The Requires Convenience Class
  5. Exploring the .NET CoreFX Part 5: Keep Indexers Trivial to Allow JIT Optimization
  6. Exploring the .NET CoreFX Part 6: Use IEquatable for Higher-Performance Equals()
  7. Exploring the .NET CoreFX Part 7: Reference Versus Structural Equality
  8. Exploring the .NET CoreFX Part 8: NullReferenceException Performance Tricks
  9. Exploring the .NET CoreFX Part 9: Immutable Collections and the Builder Pattern
  10. Exploring the .NET CoreFX Part 10: Performance Tuning Enumeration
  11. Exploring the .NET CoreFX Part 11: Code Contracts
  12. Exploring the .NET CoreFX Part 12: Aggressive Inlining
  13. Exploring the .NET CoreFX Part 13: ImmutableList is an AVL Tree
  14. Exploring the .NET CoreFX Part 14: Inside Immutable Collections
  15. Exploring the .NET CoreFX Part 15: Using Non-Generic Factory Classes to Enable Type Inference
  16. Exploring the .NET CoreFX Part 16: Platform-Specific Builds Using Compile-Time Polymorphism
  17. Exploring the .NET CoreFX Part 17: Videotaped API Review