private void AddFactsSuggestionHighlighting( IHighlightingConsumer consumer, string message, IFact startElement, IFact endElement) { var highlighting = new HintRangeHighlighting<IFact>(startElement, endElement, message); IFile file = startElement.GetContainingFile(); if (file != null) { consumer.AddHighlighting(highlighting, file); } }
private void AddFactsSuggestionHighlighting( IHighlightingConsumer consumer, string message, IFact startElement, IFact endElement) { var highlighting = new HintRangeHighlighting <IFact>(startElement, endElement, message); IFile file = startElement.GetContainingFile(); if (file != null) { consumer.AddHighlighting(highlighting, file); } }