C#/ReferenceFinder: Optimize