-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
ad31382
commit a129046
Showing
33 changed files
with
707 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesCascadeDirection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
|
||
namespace Microsoft.CodeAnalysis.FindSymbols | ||
{ | ||
[Flags] | ||
internal enum FindReferencesCascadeDirection | ||
{ | ||
/// <summary> | ||
/// Cascade up the inheritance hierarchy. | ||
/// </summary> | ||
Up = 1, | ||
|
||
/// <summary> | ||
/// Cascade down the inheritance hierarchy. | ||
/// </summary> | ||
Down = 2, | ||
|
||
/// <summary> | ||
/// Cascade in both directions. | ||
/// </summary> | ||
UpAndDown = Up | Down, | ||
} | ||
|
||
internal static class FindReferencesCascadeDirectionExtensions | ||
{ | ||
public static bool HasFlag(this FindReferencesCascadeDirection value, FindReferencesCascadeDirection flag) | ||
=> (value & flag) == flag; | ||
} | ||
} |
62 changes: 0 additions & 62 deletions
62
.../Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.BidirectionalSymbolSet.cs
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...e/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.NonCascadingSymbolSet.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.