-
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.
existing code loaded everyone in VS who MEF exported ITableColumnDefi…
…nition. now we make sure we only load one that we care (#36562)
- Loading branch information
1 parent
91c7543
commit cc909f1
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
src/VisualStudio/Core/Def/Implementation/FindReferences/NameMetadata.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,17 @@ | ||
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using System.Collections.Generic; | ||
using Roslyn.Utilities; | ||
|
||
namespace Microsoft.VisualStudio.LanguageServices.FindUsages | ||
{ | ||
internal class NameMetadata | ||
{ | ||
public string Name { get; } | ||
|
||
public NameMetadata(IDictionary<string, object> data) | ||
{ | ||
this.Name = (string)data.GetValueOrDefault(nameof(Name)); | ||
} | ||
} | ||
} |
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