Classifier Class


public ref class Classifier abstract sealed
public static class Classifier
type Classifier = class
Public Class Classifier


GetClassifiedSpans(SemanticModel, TextSpan, Workspace, CancellationToken)

Returns classified spans in ascending ClassifiedSpan order. ClassifiedSpans may have the same TextSpan. This occurs when there are multiple ClassificationTypes for the same region of code. For example, a reference to a static method will have two spans, one that designates it as a method, and one that designates it as static. ClassifiedSpans may also have overlapping TextSpans. This occurs when there are strings containing regex and/or escape characters.

GetClassifiedSpansAsync(Document, TextSpan, CancellationToken)

Applies to