private void AnalyzeFile(ICSharpFile file, IHighlightingConsumer consumer) { if (!file.GetProject().IsUnityProject()) { return; } var sourceFile = file.GetSourceFile(); if (sourceFile == null) { return; } file.ProcessThisAndDescendants(this, consumer); }