63 references to local_variable
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (53)
Completion\CompletionProviders\SymbolCompletionProviderTests.cs (3)
3560$@"({FeaturesResources.local_variable}) 'a a 7872var expectedDescription = $"({FeaturesResources.local_variable}) int xyz"; 7899var expectedDescription = $"({FeaturesResources.local_variable}) int xyz\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}";
QuickInfo\SemanticQuickInfoSourceTests.cs (50)
1008MainDescription($"({FeaturesResources.local_variable}) int x")); 1018MainDescription($"({FeaturesResources.local_variable}) int x")); 1038MainDescription($"({FeaturesResources.local_variable}) int x")); 2411MainDescription($"({FeaturesResources.local_variable}) DateTime dt")); 2421MainDescription($"({FeaturesResources.local_variable}) System.IO.FileInfo fileInfo")); 2809MainDescription($"({FeaturesResources.local_variable}) Exception x")); 2830MainDescription($"({FeaturesResources.local_variable}) A<B?> y")); 2933MainDescription($"({FeaturesResources.local_variable}) C<int, DateTime> variable")); 2947MainDescription($"({FeaturesResources.local_variable}) int cc")); 2966MainDescription($"({FeaturesResources.local_variable}) int aa")); 2984MainDescription($"({FeaturesResources.local_variable}) Exception ex")); 3003MainDescription($"({FeaturesResources.local_variable}) int aa")); 3022MainDescription($"({FeaturesResources.local_variable}) int aa")); 3037MainDescription($"({FeaturesResources.local_variable}) C<int, DateTime> variable")); 3116MainDescription($"({FeaturesResources.local_variable}) D1 d")); 3236MainDescription($"({FeaturesResources.local_variable}) int _")); 3365MainDescription($"({FeaturesResources.local_variable}) int cc")); 4614MainDescription($"({FeaturesResources.local_variable}) Goo v1")); 4622MainDescription($"({FeaturesResources.local_variable}) var v1")); 4630MainDescription($"({FeaturesResources.local_variable}) Goo<Bar> v1")); 4638MainDescription($"({FeaturesResources.local_variable}) ?* v1")); 4645MainDescription($"({FeaturesResources.local_variable}) var* v1")); 4652MainDescription($"({FeaturesResources.local_variable}) Goo[] v1")); 4670MainDescription($"({FeaturesResources.local_variable}) ? v1")); 4677MainDescription($"({FeaturesResources.local_variable}) ? v1")); 5635await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.local_variable}) int x"), Usage("") }); 5663await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.local_variable}) int x"), Usage($"\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", expectsWarningGlyph: true) }); 6296MainDescription($"({FeaturesResources.local_variable}) ValueTuple y")); 6330MainDescription($"({FeaturesResources.local_variable}) ValueTuple<int> y")); 6364MainDescription($"({FeaturesResources.local_variable}) (int, int) y")); 6423MainDescription($"({FeaturesResources.local_variable}) ref int i")); 7008MainDescription($"({FeaturesResources.local_variable}) string? s"), 7032MainDescription($"({FeaturesResources.local_variable}) string? s"), 7052MainDescription($"({FeaturesResources.local_variable}) string? s"), 7072MainDescription($"({FeaturesResources.local_variable}) string? s"), 7092MainDescription($"({FeaturesResources.local_variable}) string s"), 7112MainDescription($"({FeaturesResources.local_variable}) string s"), 7130MainDescription($"({FeaturesResources.local_variable}) string s"), 7150MainDescription($"({FeaturesResources.local_variable}) int a"), 7774MainDescription($"({FeaturesResources.local_variable}) string? x")); 7806MainDescription($"({FeaturesResources.local_variable}) char one")); 7838MainDescription($"({FeaturesResources.local_variable}) char[]? one")); 8155MainDescription($"({FeaturesResources.local_variable}) 'a v"), 8197MainDescription($"({FeaturesResources.local_variable}) 'a lam"), 8277MainDescription($"({FeaturesResources.local_variable}) 'a lam"), 8465MainDescription($"({FeaturesResources.local_variable}) int x")); 8474MainDescription($"({FeaturesResources.local_variable}) int x")); 8493MainDescription($"({FeaturesResources.local_variable}) int x")); 8504MainDescription($"({FeaturesResources.local_variable}) int x")); 8634MainDescription($"({FeaturesResources.local_variable}) scoped ref int r"));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
Workspaces\SymbolDescriptionServiceTests.vb (2)
600Await TestBasicAsync(workspace, $"({FeaturesResources.local_variable}) x As String") 953Await TestBasicAsync(workspace, $"({FeaturesResources.local_variable}) y As Integer")
Microsoft.CodeAnalysis.Features (1)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
624: Description(FeaturesResources.local_variable),
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests (2)
HoverTests.vb (2)
65({FeaturesResources.local_variable}) string local 134({FeaturesResources.local_variable}) string local
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (5)
QuickInfo\SemanticQuickInfoSourceTests.vb (5)
457MainDescription($"({FeaturesResources.local_variable}) d As D1")) 929MainDescription($"({FeaturesResources.local_variable}) a As 'a"), 945MainDescription($"({FeaturesResources.local_variable}) a As 'a"), 960MainDescription($"({FeaturesResources.local_variable}) a As 'a"), 978MainDescription($"({FeaturesResources.local_variable}) a As 'a"),