roslyn
roslyn copied to clipboard
TextLoader method override detection
trafficstars
Implements pattern used by BCL to deprecate public abstract methods:
- Update old method to call the new method.
- Change
abstracttovirtualif needed - New method:
- Use reflection to ask if the old method was overridden.
- If it was overridden, call it, otherwise call old method.
We can still stack overflow if the old method is overridden but calls the base implementation.
@333fred @jasonmalinowski @AlekseyTs
Done with review pass (commit 1)
Done with review pass (commit 1 vs. 2)
Done with review pass (commit 5)
/azp run
Azure Pipelines successfully started running 4 pipeline(s).