7 references to WhereAsArray
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\FindReferences\Finders\AbstractTypeParameterSymbolReferenceFinder.cs (2)
36
tokens.
WhereAsArray
(static (token, state) => !IsObjectCreationToken(token, state), state),
42
tokens.
WhereAsArray
(static (token, state) => IsObjectCreationToken(token, state), state),
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
120
return OneOrMany.Create(_many.
WhereAsArray
(static (value, item) => !EqualityComparer<T>.Default.Equals(value, item), item));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (3)
166
attributes: method.GetAttributes().
WhereAsArray
(static (a, arg) => !shouldRemoveAttribute(a, arg), arg: arg),
169
p.GetAttributes().
WhereAsArray
(static (a, arg) => !shouldRemoveAttribute(a, arg), arg: arg),
172
returnTypeAttributes: method.GetReturnTypeAttributes().
WhereAsArray
(static (a, arg) => !shouldRemoveAttribute(a, arg), arg: arg));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (1)
62
p.GetAttributes().
WhereAsArray
(static (a, arg) => !ShouldRemoveAttribute(a, arg), arg: arg),