1 write to DisposeArguments
Microsoft.CodeAnalysis (1)
Operations\Loops\ForEachLoopOperationInfo.cs (1)
78DisposeArguments = disposeArguments;
35 references to DisposeArguments
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
4545info.DisposeArguments,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (25)
RefStructInterfacesTests.cs (25)
9038Assert.True(op.Info.DisposeArguments.IsEmpty); 9242Assert.True(op.Info.DisposeArguments.IsEmpty); 9606Assert.True(op.Info.DisposeArguments.IsDefault); 9830Assert.True(op.Info.DisposeArguments.IsDefault); 10039Assert.True(op.Info.DisposeArguments.IsDefault); 10266Assert.True(op.Info.DisposeArguments.IsDefault); 10649Assert.True(op.Info.DisposeArguments.IsEmpty); 10846Assert.True(op.Info.DisposeArguments.IsEmpty); 11087Assert.True(op.Info.DisposeArguments.IsDefault); 11314Assert.True(op.Info.DisposeArguments.IsDefault); 11526Assert.True(op.Info.DisposeArguments.IsDefault); 11626Assert.True(op.Info.DisposeArguments.IsDefault); 11721Assert.True(op.Info.DisposeArguments.IsDefault); 17170Assert.True(op.Info.DisposeArguments.IsEmpty); 17235Assert.True(op.Info.DisposeArguments.IsEmpty); 17300Assert.True(op.Info.DisposeArguments.IsDefault); 17384Assert.True(op.Info.DisposeArguments.IsEmpty); 17472Assert.True(op.Info.DisposeArguments.IsEmpty); 17565Assert.True(op.Info.DisposeArguments.IsDefault); 17662Assert.True(op.Info.DisposeArguments.IsDefault); 17746Assert.True(op.Info.DisposeArguments.IsDefault); 19617Assert.True(op.Info.DisposeArguments.IsDefault); 19788Assert.True(op.Info.DisposeArguments.IsDefault); 20113Assert.True(op.Info.DisposeArguments.IsDefault); 20281Assert.True(op.Info.DisposeArguments.IsDefault);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (8)
IOperation\IOperationTests_IForEachLoopStatement.cs (8)
2811Assert.Equal(4, op.Info.DisposeArguments.Length); 2840VerifyOperationTree(comp, op.Info.DisposeArguments[0], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: s) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }') 2845VerifyOperationTree(comp, op.Info.DisposeArguments[1], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: line) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }') 2850VerifyOperationTree(comp, op.Info.DisposeArguments[2], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: xxx) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }') 2855VerifyOperationTree(comp, op.Info.DisposeArguments[3], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: f) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }') 2943Assert.Equal(2, op.Info.DisposeArguments.Length); 2967VerifyOperationTree(comp, op.Info.DisposeArguments[0], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: s) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }') 2972VerifyOperationTree(comp, op.Info.DisposeArguments[1], @"IArgumentOperation (ArgumentKind.DefaultValue, Matching Parameter: line) (OperationKind.Argument, Type: null, IsImplicit) (Syntax: 'await forea ... }')
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
343visitArguments(info.DisposeArguments);