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