6 references to All
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Attributes.cs (1)
749
Debug.Assert(hasErrors || reorderedArguments.
All
(arg => arg.Kind != TypedConstantKind.Error));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
354
Debug.Assert(_nullableAnnotationLowerBounds.
All
(annotation => annotation.IsNotAnnotated()));
BoundTree\InterpolatedStringHandlerData.cs (1)
40
Debug.Assert(placeholders.IsEmpty || placeholders.AsSpan()[..^1].
All
(item => item.ArgumentIndex != BoundInterpolatedStringArgumentPlaceholder.TrailingConstructorValidityParameter));
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
1189
Debug.Assert(actualArguments.
All
(static arg => arg is not null));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
520
Debug.Assert(actualArguments.
All
(static arg => arg is not null));
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
500
Debug.Assert(method.Parameters.AsSpan()[1..].
All
(static (p) => (p.IsOptional || p.IsParams) && p.RefKind is RefKind.None or RefKind.In or RefKind.RefReadOnlyParameter));