1 implementation of IVariableDeclarationOperation
Microsoft.CodeAnalysis (1)
44 references to IVariableDeclarationOperation
Microsoft.CodeAnalysis (24)
Generated\Operations.Generated.cs (10)
96/// In C#, this will always be a single declaration, with all variables in <see cref="IVariableDeclarationOperation.Declarators" />.
98ImmutableArray<IVariableDeclarationOperation> Declarations { get; }
2252/// Represents a declaration expression operation. Unlike a regular variable declaration <see cref="IVariableDeclaratorOperation" /> and <see cref="IVariableDeclarationOperation" />, this operation represents an "expression" declaring a variable.
2482/// If this variable is in an <see cref="IVariableDeclarationOperation" />, the initializer may be located
2523/// All <see cref="IVariableDeclarationGroupOperation" /> will have at least 1 <see cref="IVariableDeclarationOperation" />,
4058internal VariableDeclarationGroupOperation(ImmutableArray<IVariableDeclarationOperation> declarations, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
4063public ImmutableArray<IVariableDeclarationOperation> Declarations { get; }
11151public override IOperation VisitVariableDeclaration(IVariableDeclarationOperation operation, object? argument)
11492public virtual void VisitVariableDeclaration(IVariableDeclarationOperation operation) => DefaultVisit(operation);
11631public virtual TResult? VisitVariableDeclaration(IVariableDeclarationOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (2)
2143IVariableDeclarationOperation multiVariableDeclaration = new VariableDeclarationOperation(declarators, initializer: null, ignoredDimensions, _semanticModel, varDeclaration, multiVariableImplicit);
2163IVariableDeclarationOperation multiVariableDeclaration = new VariableDeclarationOperation(declarators, initializer: null, ignoredDimensions, _semanticModel, declarationSyntax, declarationIsImplicit);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (6)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.Test.Utilities (4)