1 implementation of Initializer
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5927public IObjectOrCollectionInitializerOperation? Initializer { get; }
10 references to Initializer
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadataFactory.cs (2)
137if (creation.Initializer is not null) 139result = InspectInitializers(symbolCache, creation.Initializer);
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
5990return PopStackFrame(frame, HandleObjectOrCollectionInitializer(operation.Initializer, initializedInstance));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
52if (operation is not IObjectCreationOperation { Initializer: { } initializerOperation })
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
374Initializer: IObjectOrCollectionInitializerOperation initializer,
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
374Initializer: IObjectOrCollectionInitializerOperation initializer,
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
52if (operation is not IObjectCreationOperation { Initializer: { } initializerOperation })
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (1)
1448Visit(operation.Initializer, "Initializer");
Compilation\TestOperationVisitor.cs (2)
1037if (operation.Initializer != null) 1039children = children.Concat(new[] { operation.Initializer });