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); 16772Assert.True(op.Info.DisposeArguments.IsEmpty); 16837Assert.True(op.Info.DisposeArguments.IsEmpty); 16902Assert.True(op.Info.DisposeArguments.IsDefault); 16986Assert.True(op.Info.DisposeArguments.IsEmpty); 17074Assert.True(op.Info.DisposeArguments.IsEmpty); 17167Assert.True(op.Info.DisposeArguments.IsDefault); 17264Assert.True(op.Info.DisposeArguments.IsDefault); 17348Assert.True(op.Info.DisposeArguments.IsDefault); 19219Assert.True(op.Info.DisposeArguments.IsDefault); 19390Assert.True(op.Info.DisposeArguments.IsDefault); 19715Assert.True(op.Info.DisposeArguments.IsDefault); 19883Assert.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);