serilog/serilog — pull request #249 by khellang (2014-10-21 17:30:52+00:00)
Title: [WIP] Added StartIndex and EndIndex to MessageTemplateToken

This adds two properties to `MessageTemplateToken`; `StartIndex` and `EndIndex`. They represent where the property tag is placed within the message template. It'll be useful when doing syntax highlighting with ReSharper.

I tried to not break anything by adding `ObsoleteAttribute`s to the affected constructors and replacing them with new ones. Currently the tests don't really test the indexes because they don't affect the instance equality of the tokens. Do you want me to add the indexes to the `Equals` methods (I guess that'll be classified as a breaking change) or add some tests that test the indexes explicitly?

There's also some documentation stuff that has TODOs on them, I'll fix those when I get the go ahead with tests/`Equals` methods :smile: