1 implementation of InitializedFields
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7515public ImmutableArray<IFieldSymbol> InitializedFields { get; }
11 references to InitializedFields
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7218foreach (IFieldSymbol fieldSymbol in operation.InitializedFields)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
373foreach (var field in initializer.InitializedFields)
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
373foreach (var field in initializer.InitializedFields)
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\OperationTreeVerifier.cs (5)
1524if (operation.InitializedFields.Length <= 1) 1526if (operation.InitializedFields.Length == 1) 1528LogSymbol(operation.InitializedFields[0], header: " (Field"); 1536LogString($" ({operation.InitializedFields.Length} initialized fields)"); 1542foreach (var local in operation.InitializedFields)
Compilation\TestOperationVisitor.cs (1)
1105foreach (var field in operation.InitializedFields)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
140foreach (IFieldSymbol initializedField in initializer.InitializedFields)
Diagnostics\OperationTestAnalyzer.cs (1)
1182if (equalsValue.InitializedFields[0].Name.StartsWith("F"))