Closed jamesqo closed 7 years ago
Noticed this while updating the README of one of my own repos. This code does not highlight correctly:
public class MyCollection<T> : IEnumerable<T> { private T[] array; public StructEnumerator<T> GetEnumerator() => Enumerator.Struct(array); IEnumerator<T> IEnumerable<T>.GetEnumerator() => Enumerator.Class(array); // avoid boxing of value types IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator(); }
Not quite sure how to fix this, but I thought I'd just check in and let you guys know.
Fixed with 2d7b7286f566cd1c5ed1809be6efdea3e139796e
Noticed this while updating the README of one of my own repos. This code does not highlight correctly:
Not quite sure how to fix this, but I thought I'd just check in and let you guys know.