28 references to UnusedReferencesTableKeyNames
Microsoft.VisualStudio.LanguageServices (28)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (20)
48
public const string SolutionName = Prefix +
UnusedReferencesTableKeyNames
.SolutionName;
49
public const string ProjectName = Prefix +
UnusedReferencesTableKeyNames
.ProjectName;
50
public const string ReferenceType = Prefix +
UnusedReferencesTableKeyNames
.ReferenceType;
51
public const string ReferenceName = Prefix +
UnusedReferencesTableKeyNames
.ReferenceName;
52
public const string UpdateAction = Prefix +
UnusedReferencesTableKeyNames
.UpdateAction;
124
if (entry.TryGetValue(
UnusedReferencesTableKeyNames
.SolutionName, out string name))
136
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.SolutionName, out content);
141
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.SolutionName, out string name)
161
if (entry.TryGetValue(
UnusedReferencesTableKeyNames
.ProjectName, out string name))
173
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.ProjectName, out content);
178
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.ProjectName, out string name)
185
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.Language, out string languageName) && languageName == LanguageNames.VisualBasic
205
if (entry.TryGetValue<ReferenceType>(
UnusedReferencesTableKeyNames
.ReferenceType, out var referenceType))
217
content = entry.TryGetValue<ReferenceType>(
UnusedReferencesTableKeyNames
.ReferenceType, out var referenceType)
225
return entry.TryGetValue<ReferenceType>(
UnusedReferencesTableKeyNames
.ReferenceType, out var referenceType)
265
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.ReferenceName, out content);
270
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.ReferenceType, out ReferenceType referenceType)
277
return entry.TryGetValue(
UnusedReferencesTableKeyNames
.ReferenceName, out string text)
309
if (entry.TryGetValue(
UnusedReferencesTableKeyNames
.UpdateAction, out UpdateAction action))
327
entry.TrySetValue(
UnusedReferencesTableKeyNames
.UpdateAction, action);
UnusedReferences\Dialog\UnusedReferencesTableProvider.DataSource.cs (8)
113
case
UnusedReferencesTableKeyNames
.SolutionName:
116
case
UnusedReferencesTableKeyNames
.ProjectName:
119
case
UnusedReferencesTableKeyNames
.Language:
122
case
UnusedReferencesTableKeyNames
.ReferenceType:
125
case
UnusedReferencesTableKeyNames
.ReferenceName:
131
case
UnusedReferencesTableKeyNames
.UpdateAction:
141
return keyName ==
UnusedReferencesTableKeyNames
.UpdateAction;
146
if (keyName !=
UnusedReferencesTableKeyNames
.UpdateAction || content is not UpdateAction action)