[C#] Move dont-use-reserved-words handling to a util method