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