1 implementation of Resources
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4808
public IOperation
Resources
{ get; }
13 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)
757
Visit(operation.
Resources
, "Resources");
760
Assert.NotEqual(OperationKind.VariableDeclaration, operation.
Resources
.Kind);
761
Assert.NotEqual(OperationKind.VariableDeclarator, operation.
Resources
.Kind);
Compilation\TestOperationVisitor.cs (3)
464
AssertEx.Equal(new[] { operation.
Resources
, operation.Body }, operation.ChildOperations);
465
Assert.NotEqual(OperationKind.VariableDeclaration, operation.
Resources
.Kind);
466
Assert.NotEqual(OperationKind.VariableDeclarator, operation.
Resources
.Kind);
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (3)
IOperation\IOperationTests_IUsingStatement.vb (3)
45
Assert.NotNull(op.
Resources
.Syntax)
46
Assert.Same(node.UsingStatement, op.
Resources
.Syntax)
85
Assert.Equal(OperationKind.Invalid, op.
Resources
.Kind)