提交 b9bb86ae 编写于 作者: H heejaechang

added new functionId and created IntervalTree.Empty (changeset 1374498)

上级 3c964963
......@@ -293,5 +293,7 @@ internal enum FunctionId
SymbolFinder_Project_Name_FindSourceDeclarationsAsync,
SymbolFinder_Solution_Predicate_FindSourceDeclarationsAsync,
SymbolFinder_Project_Predicate_FindSourceDeclarationsAsync,
Tagger_Diagnostics_RecomputeTags,
Tagger_Diagnostics_Updated,
}
}
\ No newline at end of file
......@@ -42,6 +42,10 @@ private static bool GetDefaultValue(FunctionId id)
case FunctionId.Tagger_ReferenceHighlighting_TagProducer_ProduceTags:
return false;
case FunctionId.Tagger_Diagnostics_RecomputeTags:
case FunctionId.Tagger_Diagnostics_Updated:
return false;
case FunctionId.Workspace_SourceText_GetChangeRanges:
case FunctionId.Workspace_Recoverable_RecoverRootAsync:
case FunctionId.Workspace_Recoverable_RecoverRoot:
......
......@@ -14,6 +14,8 @@ namespace Microsoft.CodeAnalysis.Shared.Collections
/// </summary>
internal partial class IntervalTree<T> : IEnumerable<T>
{
public static readonly IntervalTree<T> Empty = new IntervalTree<T>();
protected Node root;
private delegate bool TestInterval(T value, int start, int length, IIntervalIntrospector<T> introspector, bool skipZeroLengthIntervals);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册