1 implementation of Resources
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4435
public IOperation
Resources
{ get; }
12 references to Resources
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
463
/// Represents a <see cref="Body" /> of operations that are executed while using disposable <see cref="
Resources
" />.
489
/// Locals declared within the <see cref="
Resources
" /> with scope spanning across this entire <see cref="IUsingOperation" />.
Operations\ControlFlowGraphBuilder.cs (1)
3934
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)