1 implementation of IArrayInitializerOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7708internal sealed partial class ArrayInitializerOperation : Operation, IArrayInitializerOperation
26 references to IArrayInitializerOperation
Microsoft.CodeAnalysis (15)
Generated\OperationKind.Generated.cs (1)
175/// <summary>Indicates an <see cref="IArrayInitializerOperation"/>.</summary>
Generated\Operations.Generated.cs (6)
1345IArrayInitializerOperation? Initializer { get; } 6039internal ArrayCreationOperation(ImmutableArray<IOperation> dimensionSizes, IArrayInitializerOperation? initializer, SemanticModel? semanticModel, SyntaxNode syntax, ITypeSymbol? type, bool isImplicit) 6047public IArrayInitializerOperation? Initializer { get; } 11141public override IOperation VisitArrayInitializer(IArrayInitializerOperation operation, object? argument) 11490public virtual void VisitArrayInitializer(IArrayInitializerOperation operation) => DefaultVisit(operation); 11629public virtual TResult? VisitArrayInitializer(IArrayInitializerOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (8)
6488var visitedInitializer = (IArrayInitializerOperation?)Visit(operation.Initializer); 6495public override IOperation VisitArrayInitializer(IArrayInitializerOperation operation, int? captureIdForResult) 6501void visitAndPushArrayInitializerValues(IArrayInitializerOperation initializer) 6508visitAndPushArrayInitializerValues((IArrayInitializerOperation)elementValue); 6517IArrayInitializerOperation popAndAssembleArrayInitializerValues(IArrayInitializerOperation initializer) 6527visitedElementValue = popAndAssembleArrayInitializerValues((IArrayInitializerOperation)elementValue);
Microsoft.CodeAnalysis.CSharp (3)
Operations\CSharpOperationFactory.cs (3)
1207IArrayInitializerOperation? arrayInitializer = (IArrayInitializerOperation?)Create(boundArrayCreation.InitializerOpt); 1215private IArrayInitializerOperation CreateBoundArrayInitializationOperation(BoundArrayInitialization boundArrayInitialization)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
140private static string GetUtf8StringValueFromArrayInitializer(IArrayInitializerOperation initializer)
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
140private static string GetUtf8StringValueFromArrayInitializer(IArrayInitializerOperation initializer)
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\OperationTreeVerifier.cs (2)
1618public override void VisitArrayInitializer(IArrayInitializerOperation operation) 1620LogString(nameof(IArrayInitializerOperation));
Compilation\TestOperationVisitor.cs (1)
1149public override void VisitArrayInitializer(IArrayInitializerOperation operation)
Diagnostics\OperationTestAnalyzer.cs (3)
564var initializer = arrayArgument.Initializer; 794var initializer = (IArrayInitializerOperation)operationContext.Operation;