1 implementation of Resources
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4848public IOperation Resources { get; }
6 references to Resources
Microsoft.Analyzers.Extra (1)
AsyncCallInsideUsingBlockAnalyzer.cs (1)
62if (operation.Resources is not IVariableDeclarationGroupOperation declarationGroup)
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
493/// Represents a <see cref="Body" /> of operations that are executed while using disposable <see cref="Resources" />. 521/// Locals declared within the <see cref="Resources" /> with scope spanning across this entire <see cref="IUsingOperation" />.
Operations\ControlFlowGraphBuilder.cs (1)
3961HandleUsingOperationParts(operation.Resources, operation.Body, disposeInfo.DisposeMethod, disposeInfo.DisposeArguments, operation.Locals, operation.IsAsynchronous);
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDirectlyAwaitATask.cs (1)
129if (usingExpression.Resources is IVariableDeclarationGroupOperation variableDeclarationGroup)
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
1264var resource = operation.Resources;