602 references to Field
ILLink.RoslynAnalyzer (2)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.CodeStyle (17)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
769case SymbolKind.Field:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
484case SymbolKind.Field:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
142case SymbolKind.Field:
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
35SymbolKind.Field or
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (5)
Microsoft.CodeAnalysis.CSharp (109)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
441case SymbolKind.Field:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
86not SymbolKind.Field and
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (15)
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (4)
179new SymbolKindOrTypeKind(SymbolKind.Field),
227new SymbolKindOrTypeKind(SymbolKind.Field),
344[InlineData("*", new object[] { SymbolKind.Namespace, TypeKind.Class, TypeKind.Struct, TypeKind.Interface, TypeKind.Enum, SymbolKind.Property, MethodKind.Ordinary, MethodKind.LocalFunction, SymbolKind.Field, SymbolKind.Event, TypeKind.Delegate, SymbolKind.Parameter, SymbolKind.TypeParameter, SymbolKind.Local })]
345[InlineData(null, new object[] { SymbolKind.Namespace, TypeKind.Class, TypeKind.Struct, TypeKind.Interface, TypeKind.Enum, SymbolKind.Property, MethodKind.Ordinary, MethodKind.LocalFunction, SymbolKind.Field, SymbolKind.Event, TypeKind.Delegate, SymbolKind.Parameter, SymbolKind.TypeParameter, SymbolKind.Local })]
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (13)
Diagnostics\DiagnosticAnalyzerTests.cs (7)
516SymbolKind.Namespace, SymbolKind.NamedType, SymbolKind.Event, SymbolKind.Field, SymbolKind.Method, SymbolKind.Property);
2902TestSymbolStartAnalyzerCore(new SymbolStartAnalyzer(topLevelAction: false, SymbolKind.Field),
2990SymbolKind.Property, SymbolKind.Event, SymbolKind.Field, SymbolKind.Parameter };
3084SymbolKind.Property, SymbolKind.Event, SymbolKind.Field, SymbolKind.Parameter };
3144SymbolKind.Property, SymbolKind.Event, SymbolKind.Field, SymbolKind.Parameter };
3347var analyzer1 = new SymbolStartAnalyzer(topLevelAction: true, SymbolKind.Field, analyzerId: 1);
3348var analyzer2 = new SymbolStartAnalyzer(topLevelAction: true, SymbolKind.Field, analyzerId: 2);
Microsoft.CodeAnalysis.CSharp.Features (16)
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
86not SymbolKind.Field and
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (29)
Semantics\ColorColorTests.cs (13)
75SymbolKind.Field, "E F.E",
196SymbolKind.Field, "E F.E",
224SymbolKind.Field, "E F.E",
225SymbolKind.Field, "System.Int32 E.F",
255SymbolKind.Field, "E F.E",
287SymbolKind.Field, "E.Element",
347SymbolKind.Field, "E F.E",
376SymbolKind.Field, "E F.E",
405SymbolKind.Field, "E F.E",
438SymbolKind.Field, "E F.E",
471SymbolKind.Field, "E F.E",
956SymbolKind.Field, "Color.Red");
1285Assert.Equal(SymbolKind.Field, info.Symbol.Kind);
Semantics\DeconstructionTests.cs (12)
4377Assert.Equal(SymbolKind.Field, a.Kind);
4381Assert.Equal(SymbolKind.Field, b.Kind);
4385Assert.Equal(SymbolKind.Field, c.Kind);
4389Assert.Equal(SymbolKind.Field, d.Kind);
5335Assert.Equal(SymbolKind.Field, a.Kind);
5339Assert.Equal(SymbolKind.Field, b.Kind);
5343Assert.Equal(SymbolKind.Field, c.Kind);
5347Assert.Equal(SymbolKind.Field, d.Kind);
5769Assert.Equal(SymbolKind.Field, a.Kind);
5773Assert.Equal(SymbolKind.Field, b.Kind);
5777Assert.Equal(SymbolKind.Field, c.Kind);
5781Assert.Equal(SymbolKind.Field, d.Kind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (51)
Compilation\SemanticModelGetSemanticInfoTests.cs (26)
282Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
319Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
349Assert.Equal(SymbolKind.Field, symbol.Kind);
437Assert.Equal(SymbolKind.Field, symbol.Kind);
4613Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4679Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4717Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4753Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4789Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
4820Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
5580Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
5612Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
6881Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
10475Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
10567Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
10684Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
11272Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11309Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11346Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11386Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
11582Assert.Equal(SymbolKind.Field, sortedCandidates[0].Kind);
11716Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
12777Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
12852Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
13104Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
13269Assert.Equal(SymbolKind.Field, semanticInfo.Symbol.Kind);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
441case SymbolKind.Field:
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.Features (37)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (1)
204SymbolKind.Field or
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (1)
769case SymbolKind.Field:
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.VisualBasic (96)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
452Case SymbolKind.Field,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
614Case SymbolKind.Field
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (4)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (24)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (20)
DocumentationComments\DocCommentTests.vb (5)
7299text.IndexOf("name=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.Parameter),
7305text.IndexOf("cref=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.Parameter),
7347text.IndexOf("name=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.TypeParameter),
7353text.IndexOf("cref=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.TypeParameter),
7388text.IndexOf("Of Integer", StringComparison.Ordinal) + 3), SymbolKind.Field),
Microsoft.CodeAnalysis.VisualBasic.Workspaces (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (1)
452Case SymbolKind.Field,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicTypeInferenceService.TypeInferrer.vb (1)
614Case SymbolKind.Field
Microsoft.CodeAnalysis.Workspaces (26)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
484case SymbolKind.Field:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
142case SymbolKind.Field:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
35SymbolKind.Field or
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
Microsoft.DotNet.CodeAnalysis (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.ML.InternalCodeAnalyzer (3)
Microsoft.VisualStudio.LanguageServices (17)
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
Roslyn.Test.PdbUtilities (1)
SemanticSearch.BuildTask (1)