2 implementations of IsForEach
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\LocalSymbol.cs (1)
62bool ILocalSymbol.IsForEach => _underlying.IsForEach;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
413Private ReadOnly Property ILocalSymbol_IsForEach As Boolean Implements ILocalSymbol.IsForEach
12 references to IsForEach
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
4586Assert.False(symbol.IsForEach);
Symbols\Source\LocalTests.cs (6)
37Assert.True(symbol.IsForEach); 65Assert.True(local.IsForEach); 91Assert.True(symbol.IsForEach); 115Assert.False(symbol.IsForEach); 140Assert.False(symbol.IsForEach); 163Assert.False(symbol.IsForEach);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
413Private ReadOnly Property ILocalSymbol_IsForEach As Boolean Implements ILocalSymbol.IsForEach
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\Source\LocalTests.vb (3)
36Assert.False(local.IsForEach) 63Assert.True(local.IsForEach) 65Assert.True(local.IsForEach()) ' calls the property, not the extension method
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Rename\LocalConflictVisitor.vb (1)
159If local.IsFor OrElse local.IsForEach Then