29 references to All
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraphBuilder.cs (4)
1278Debug.Assert(spillingTheStack || _evalStack.All( 3726Debug.Assert(predecessors.All(p => filterAndHandlerRegion.Regions[0].FirstBlock!.Ordinal <= p.Ordinal && 4704Debug.Assert(builder.All(o => o != null)); 4734Debug.Assert(builder.All(op => op is not null));
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
117Debug.Assert(others.All(((IMethodSymbol m, ILocalFunctionOperation _) tuple) => tuple.m.MethodKind == MethodKind.LocalFunction));
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (4)
1156if (inferredElementNames.All(n => n is null)) 6913lookupResult.Symbols.All(s => s.Kind == SymbolKind.Method) ? lookupResult.Symbols.SelectAsArray(s_toMethodSymbolFunc) : ImmutableArray<MethodSymbol>.Empty, 7837Debug.Assert(members.All(m => m.Kind == member.Kind)); 7845Debug.Assert(members.All(m => !m.IsIndexer()));
Binder\Binder_InterpolatedString.cs (1)
347if (partsArrayBuilder.Count <= 4 && partsArrayBuilder.All(static parts => AllInterpolatedStringPartsAreStrings(parts)))
Binder\Binder_Lookup.cs (1)
358Debug.Assert(result.Symbols.All(IsMethodOrIndexer));
Binder\Binder_XmlNameAttribute.cs (1)
46Debug.Assert(lookupSymbols.All(sym => sym.Kind == lookupSymbols[0].Kind));
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
208Debug.Assert(arguments.Arguments.All(a => a.Display != null));
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
165Debug.Assert(builder == null || builder.All(node => node.Parent == null));
Emitter\Model\PEModuleBuilder.cs (1)
1605Debug.Assert(flagsBuilder.All(f => f <= 2));
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (4)
1089Debug.Assert(whenNodes.All(n => n.Syntax == whenClauseSyntax)); 1090Debug.Assert(whenNodes.All(n => n.WhenExpression == whenExpression)); 1091Debug.Assert(whenNodes.All(n => n.Bindings == whenNodes[0].Bindings)); 1092Debug.Assert(whenNodes.All(n => GetDagNodeLabel(n.WhenTrue) == whenTrueLabel));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1207Debug.Assert(argumentsInEvaluationBuilder.All(static arg => arg is not null));
Symbols\Source\ConstantEvaluationHelpers.cs (1)
76Debug.Assert(fields.All(f => map.Contains(f)));
Symbols\Tuples\TupleTypeSymbol.cs (2)
844Debug.Assert(fields.All(f => f is object)); 1045Debug.Assert(builder.All(f => f is object));
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\Binder_Expressions.vb (1)
483If inferredElementNames.All(Function(n) n Is Nothing) Then
Binding\Binder_Lookup.vb (1)
909Debug.Assert(result.Symbols.All(Function(s) s.IsOverloadable))
Binding\Binder_XmlLiterals.vb (1)
197Debug.Assert(otherAttributes.All(Function(a) (a.Kind = SyntaxKind.XmlAttribute) OrElse (a.Kind = SyntaxKind.XmlEmbeddedExpression)))
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
262Debug.Assert(builder Is Nothing OrElse builder.All(Function(node) node.Parent Is Nothing))
Symbols\Source\SourceFieldSymbol.vb (1)
265Debug.Assert(fields.All(Function(f) map.Contains(f)))
Symbols\Tuples\TupleTypeSymbol.vb (1)
679Debug.Assert(builder.All(Function(s) s IsNot Nothing))