1 implementation of IBlockOperation
Microsoft.CodeAnalysis (1)
190 references to IBlockOperation
Microsoft.AspNetCore.App.Analyzers (8)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.CodeAnalysis (37)
Generated\Operations.Generated.cs (32)
478IBlockOperation Body { get; }
486IBlockOperation? Finally { get; }
584IBlockOperation? Body { get; }
591IBlockOperation? IgnoredBody { get; }
1254IBlockOperation Body { get; }
2624IBlockOperation Handler { get; }
3004IBlockOperation? BlockBody { get; }
3008IBlockOperation? ExpressionBody { get; }
3459/// Represents using variable declaration, with scope spanning across the parent <see cref="IBlockOperation" />.
4720internal TryOperation(IBlockOperation body, ImmutableArray<ICatchClauseOperation> catches, IBlockOperation? @finally, ILabelSymbol? exitLabel, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
4728public IBlockOperation Body { get; }
4730public IBlockOperation? Finally { get; }
4918internal LocalFunctionOperation(IMethodSymbol symbol, IBlockOperation? body, IBlockOperation? ignoredBody, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
4926public IBlockOperation? Body { get; }
4927public IBlockOperation? IgnoredBody { get; }
5864internal AnonymousFunctionOperation(IMethodSymbol symbol, IBlockOperation body, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
5871public IBlockOperation Body { get; }
7975internal CatchClauseOperation(IOperation? exceptionDeclarationOrExpression, ITypeSymbol exceptionType, ImmutableArray<ILocalSymbol> locals, IOperation? filter, IBlockOperation handler, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
7988public IBlockOperation Handler { get; }
8657protected BaseMethodBodyBaseOperation(IBlockOperation? blockBody, IBlockOperation? expressionBody, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
8663public IBlockOperation? BlockBody { get; }
8664public IBlockOperation? ExpressionBody { get; }
8668internal MethodBodyOperation(IBlockOperation? blockBody, IBlockOperation? expressionBody, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
8724internal ConstructorBodyOperation(ImmutableArray<ILocalSymbol> locals, IOperation? initializer, IBlockOperation? blockBody, IBlockOperation? expressionBody, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
10796public override IOperation VisitBlock(IBlockOperation operation, object? argument)
11416public virtual void VisitBlock(IBlockOperation operation) => DefaultVisit(operation);
11555public virtual TResult? VisitBlock(IBlockOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Microsoft.CodeAnalysis.CodeStyle (9)
Microsoft.CodeAnalysis.CodeStyle.Fixes (12)
Microsoft.CodeAnalysis.CSharp (17)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (12)
Microsoft.CodeAnalysis.CSharp.Features (13)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Microsoft.CodeAnalysis.Features (44)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (10)
55IBlockOperation? blockStatementOpt,
88IBlockOperation? blockStatementOpt,
126IBlockOperation? blockStatementOpt,
245IBlockOperation? blockStatementOpt, CancellationToken cancellationToken)
316IBlockOperation? blockStatement,
339IBlockOperation? blockStatementOpt,
355IBlockOperation? blockStatement,
410IBlockOperation? blockStatement,
456IBlockOperation? blockStatement,
487IBlockOperation? blockStatement,
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (17)
50Document document, SyntaxNode functionDeclaration, IMethodSymbol method, IBlockOperation? blockStatementOpt,
63IBlockOperation? blockStatement,
107IBlockOperation? blockStatement,
158IBlockOperation? blockStatement,
191IBlockOperation? blockStatement,
214IBlockOperation? blockStatement,
240IBlockOperation? blockStatement,
261IParameterSymbol parameter, IBlockOperation? blockStatement)
359IBlockOperation? blockStatement,
393IBlockOperation? currentBlockStatement = null;
396currentBlockStatement = (IBlockOperation?)currentSemanticModel.GetOperation(currentRoot.GetCurrentNode(blockStatement.Syntax)!, cancellationToken);
423IBlockOperation? blockStatement,
472IBlockOperation? blockStatement,
539IParameterSymbol parameter, IBlockOperation? blockStatement,
574IParameterSymbol parameter, IBlockOperation? blockStatement, out ISymbol? fieldOrProperty)
615Document document, IParameterSymbol parameter, IBlockOperation? blockStatement, ImmutableArray<NamingRule> rules, ImmutableArray<string> parameterWords, CancellationToken cancellationToken)
668static bool ContainsMemberAssignment(IBlockOperation? blockStatement, ISymbol member)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces (12)