2 writes to BeforeTyped
Microsoft.CodeAnalysis.Workspaces (2)
OrderableMetadata.cs (2)
28this.BeforeTyped = readOnlyData.GetEnumerableMetadata<string>("Before").WhereNotNull(); 35this.BeforeTyped = before ?? SpecializedCollections.EmptyEnumerable<string>();
22 references to BeforeTyped
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (5)
68Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped); 74Assert.Empty(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped); 81Assert.Contains(orderedCSharpArgumentProviders[i].Metadata.Name, orderedCSharpArgumentProviders[i - 1].Metadata.BeforeTyped); 86if (orderedCSharpArgumentProviders[i].Metadata.BeforeTyped.Any()) 88Assert.Equal(orderedCSharpArgumentProviders.Last().Metadata.Name, Assert.Single(orderedCSharpArgumentProviders[i].Metadata.BeforeTyped));
Completion\CompletionProviders\CompletionProviderOrderTests.cs (5)
100Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped); 106Assert.Empty(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped); 113Assert.Contains(orderedCSharpCompletionProviders[i].Metadata.Name, orderedCSharpCompletionProviders[i - 1].Metadata.BeforeTyped); 118if (orderedCSharpCompletionProviders[i].Metadata.BeforeTyped.Any()) 120Assert.Equal(orderedCSharpCompletionProviders.Last().Metadata.Name, Assert.Single(orderedCSharpCompletionProviders[i].Metadata.BeforeTyped));
Microsoft.CodeAnalysis.Features (1)
CodeRefactorings\CodeRefactoringService.cs (1)
57provider.Metadata.Name, language, provider.Metadata.AfterTyped, provider.Metadata.BeforeTyped);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (10)
Completion\ArgumentProviderOrderTests.vb (5)
48Assert.Empty(orderedVisualBasicArgumentProviders(i).Metadata.BeforeTyped) 52Assert.Empty(orderedVisualBasicArgumentProviders(i).Metadata.BeforeTyped) 55Assert.Contains(orderedVisualBasicArgumentProviders(i).Metadata.Name, orderedVisualBasicArgumentProviders(i - 1).Metadata.BeforeTyped) 61If orderedVisualBasicArgumentProviders(i).Metadata.BeforeTyped.Any() Then 62Assert.Equal(orderedVisualBasicArgumentProviders.Last().Metadata.Name, Assert.Single(orderedVisualBasicArgumentProviders(i).Metadata.BeforeTyped))
Completion\CompletionProviderOrderTests.vb (5)
66Assert.Empty(orderedVisualBasicCompletionProviders(i).Metadata.BeforeTyped) 70Assert.Empty(orderedVisualBasicCompletionProviders(i).Metadata.BeforeTyped) 73Assert.Contains(orderedVisualBasicCompletionProviders(i).Metadata.Name, orderedVisualBasicCompletionProviders(i - 1).Metadata.BeforeTyped) 79If orderedVisualBasicCompletionProviders(i).Metadata.BeforeTyped.Any() Then 80Assert.Equal(orderedVisualBasicCompletionProviders.Last().Metadata.Name, Assert.Single(orderedVisualBasicCompletionProviders(i).Metadata.BeforeTyped))
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\ExtensionOrderer.cs (1)
36foreach (var before in extension.Metadata.BeforeTyped)