1 implementation of Resources
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4808
public IOperation
Resources
{ get; }
11 references to Resources
Microsoft.Analyzers.Extra (1)
AsyncCallInsideUsingBlockAnalyzer.cs (1)
62
if (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)
3951
HandleUsingOperationParts(operation.
Resources
, operation.Body, disposeInfo.DisposeMethod, disposeInfo.DisposeArguments, operation.Locals, operation.IsAsynchronous);
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\OperationTreeVerifier.cs (3)
739
Visit(operation.
Resources
, "Resources");
742
Assert.NotEqual(OperationKind.VariableDeclaration, operation.
Resources
.Kind);
743
Assert.NotEqual(OperationKind.VariableDeclarator, operation.
Resources
.Kind);
Compilation\TestOperationVisitor.cs (3)
465
AssertEx.Equal(new[] { operation.
Resources
, operation.Body }, operation.ChildOperations);
466
Assert.NotEqual(OperationKind.VariableDeclaration, operation.
Resources
.Kind);
467
Assert.NotEqual(OperationKind.VariableDeclarator, operation.
Resources
.Kind);
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
1265
var resource = operation.
Resources
;