1 implementation of IParameterInitializerOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7657internal sealed partial class ParameterInitializerOperation : BaseSymbolInitializerOperation, IParameterInitializerOperation
36 references to IParameterInitializerOperation
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Microsoft.CodeAnalysis (6)
Generated\OperationKind.Generated.cs (1)
173/// <summary>Indicates an <see cref="IParameterInitializerOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11136public override IOperation VisitParameterInitializer(IParameterInitializerOperation operation, object? argument) 11489public virtual void VisitParameterInitializer(IParameterInitializerOperation operation) => DefaultVisit(operation); 11628public virtual TResult? VisitParameterInitializer(IParameterInitializerOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraph.cs (1)
135public static ControlFlowGraph Create(Operations.IParameterInitializerOperation initializer, CancellationToken cancellationToken = default)
Operations\ControlFlowGraphBuilder.cs (1)
7204public override IOperation? VisitParameterInitializer(IParameterInitializerOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (2)
4055public sealed override TAbstractAnalysisValue VisitParameterInitializer(IParameterInitializerOperation operation, object? argument) 4057throw new NotSupportedException($"'{nameof(IParameterInitializerOperation)}' must have been lowered in the CFG");
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1742private IParameterInitializerOperation CreateBoundParameterEqualsValueOperation(BoundParameterEqualsValue boundParameterEqualsValue)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\CompilationExtensions.cs (1)
381case IParameterInitializerOperation parameterInitializerOperation:
Compilation\ControlFlowGraphVerifier.cs (1)
64case IParameterInitializerOperation parameterInitializerOperation:
Compilation\OperationTreeVerifier.cs (2)
1598public override void VisitParameterInitializer(IParameterInitializerOperation operation) 1600LogString(nameof(IParameterInitializerOperation));
Compilation\TestOperationVisitor.cs (1)
1129public override void VisitParameterInitializer(IParameterInitializerOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
1192IParameterInitializerOperation equalsValue = (IParameterInitializerOperation)operationContext.Operation;
Microsoft.CodeAnalysis.UnitTests (2)
Diagnostics\OperationTests.cs (2)
123Assert.Throws<ArgumentNullException>(() => ControlFlowGraph.Create((IParameterInitializerOperation)null)); 203IParameterInitializerOperation initializer = new ParameterInitializerOperation(
Roslyn.Diagnostics.Analyzers (3)
AbstractDoNotCopyValue.cs (1)
974public override void VisitParameterInitializer(IParameterInitializerOperation operation)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Test.Utilities (1)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation:
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
172countOperand(((IParameterInitializerOperation)operation).Parameter);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
485case IParameterInitializerOperation: