115 references to Any
System.Activities (4)
System\Activities\DynamicUpdate\ActivityComparer.cs (1)
115
return variables.
Any
(v => string.IsNullOrEmpty(v.Name));
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
1501
providedValues.Keys.
Any
(k => generatedValues.ContainsKey(k));
System\Activities\Validation\ValidationHelper.cs (2)
61
if (optionalArguments.
Any
(localArgument => CheckIfArgumentIsBound(localArgument, inputs)))
222
if (overloadGroups[subsetGroup].
Any
<RuntimeArgument>((a) => a.IsRequired))
System.Activities.Core.Presentation (3)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
528
this.DynamicArguments.
Any
<DynamicArgumentWrapperObject>(
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
105
if (tw.Type != null && list.
Any
<TypeWrapper>(entry => Type.Equals(entry.Type, tw.Type)))
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
239
return ((type.IsPrimitive) || type.IsEnum || PrimitiveTypesInXPath.
Any
((item => item == type))
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
113
return SqlCommandAsyncResult.retryErrorCodes.
Any
(x => x.ErrorCode == error && (x.RetryErrorOptions & retryErrorOptions) == retryErrorOptions);
System.Activities.Presentation (13)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
161
if (xamlType.GetXamlNamespaces().
Any
(ns => IsClrNamespaceInLocalAssembly(ns)))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
67
if (!DisallowedTypesForCopy.
Any
(p => type == p))
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
113
return cmd.InputGestures.OfType<KeyGesture>().
Any
(p => string.Equals(p.DisplayString, gesture.DisplayString));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1302
argumentCollection.
Any
<ModelItem>(p => string.Equals(p.Properties["Name"].ComputedValue, name) && !ModelItem.Equals(p, this.ReflectedObject));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
313
.
Any
(cb => ICommand.Equals(cb.Command, PropertyValueEditorCommands.ShowDialogEditor));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
588
.Where(item => commands.
Any
(
590
.
Any
(item => item.Visibility == Visibility.Visible) ? Visibility.Visible : Visibility.Collapsed;
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
657
if (!MostRecentlyUsedTypes.
Any
<Type>(p => Type.Equals(p, result)))
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
908
return variableContainer.
Any
(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, variableName));
932
if (!variables.
Any
(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, name)))
1414
bool duplicates = this.ReflectedObject.Parent.Parent.Properties["Variables"].Collection.
Any
(checkForDuplicates);
1439
bool duplicates = scope.Properties["Variables"].Collection.
Any
(checkForDuplicates);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
559
collectionType.AllowedContentTypes.
Any
(contentType => type.CanAssignTo(contentType));
System.Core (2)
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
213
if (types.Length > MaximumArity || types.
Any
(t => t.IsByRef)) {
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
956
if (method != null && method.GetParametersCached().
Any
(p => p.ParameterType.IsByRef)) {
System.Data (10)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
67
if (!DisallowedTypesForCopy.
Any
(p => type == p))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
1302
argumentCollection.
Any
<ModelItem>(p => string.Equals(p.Properties["Name"].ComputedValue, name) && !ModelItem.Equals(p, this.ReflectedObject));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
657
if (!MostRecentlyUsedTypes.
Any
<Type>(p => Type.Equals(p, result)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
908
return variableContainer.
Any
(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, variableName));
932
if (!variables.
Any
(p => string.Equals(p.Properties[DesignTimeVariable.VariableNameProperty].ComputedValue, name)))
1414
bool duplicates = this.ReflectedObject.Parent.Parent.Properties["Variables"].Collection.
Any
(checkForDuplicates);
1439
bool duplicates = scope.Properties["Variables"].Collection.
Any
(checkForDuplicates);
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
302
(trustedKeyPaths.
Any
(
fx\src\data\System\Data\SqlClient\SqlSymmetricKeyCache.cs (1)
72
(trustedKeyPaths.
Any
(s => s.Equals(keyInfo.keyPath, StringComparison.InvariantCultureIgnoreCase)) == false)) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
3598
Debug.Assert(!_snapshotInBuffs.
Any
(b => object.ReferenceEquals(b, buffer)));
System.Data.Entity (36)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1768
bool generateNames = methodParams.Skip(start).
Any
(p => p.Name == null);
System\Data\Common\CommandTrees\Internal\Validator.cs (1)
150
if (!allowedSpaces.
Any
(ds => ds == resultSpace))
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
129
assocSet.AssociationSetEnds.
Any
(se => se.EntitySet == targetSet)
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
156
isAmbiguous = ranks.
Any
(rank =>
System\Data\Common\EntitySql\SemanticAnalyzer.cs (2)
1043
if (metadataFunctionGroup.FunctionMetadata.
Any
(f => !f.IsComposableAttribute))
3773
Debug.Assert(aggregates.
Any
((aggregate) => String.CompareOrdinal(aggregate.Key, groupAggregateVarRef.VariableName) == 0),
System\Data\Common\Utils\MetadataHelper.cs (2)
337
map => map.TypeMappings.
Any
(
338
typeMap => typeMap.MappingFragments.
Any
(
System\Data\EntityClient\EntityConnection.cs (1)
396
if (loaders.
Any
(loader => loader.GetType() == typeof(MetadataArtifactLoaderCompositeFile)))
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
369
if (row.Properties.
Any
(p => !p.ValidateIsScalar()))
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (1)
229
Debug.Assert(!_enumMembers.
Any
(m => !m.Value.HasValue), "member values should have been fixed up already.");
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
278
if (schemaCollection.
Any
(s => s.SchemaVersion != XmlConstants.UndefinedVersion && s.SchemaVersion != schemaToBeAdded.SchemaVersion))
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
137
|| AllSetMaps.
Any
((StorageSetMapping setMap) => setMap.QueryView != null);
294
associationSetMappings = associationSetMappings.Where(associationSetMap => ((associationSetMap.Set as AssociationSet).AssociationSetEnds.
Any
(associationSetEnd => associationSetEnd.EntitySet == edmEntitySet)));
System\Data\Mapping\StorageMappingItemCollection.cs (1)
720
return entityContainerMaps.
Any
(map => map.StorageEntityContainer.Name.Equals(storageEntityContainerName, StringComparison.Ordinal));
System\Data\Mapping\StorageMappingItemLoader.cs (5)
663
if (setMappingPerTable.ListForKey(table).
Any
(s => s.HasModificationFunctionMapping || implicitMappedAssociationSets.
Any
(aset=> aset == s.Set)) &&
664
setMappingPerTable.ListForKey(table).
Any
(s => !s.HasModificationFunctionMapping && !implicitMappedAssociationSets.
Any
(aset => aset == s.Set)))
2063
if (columnRenameMappings.
Any
(m => m.CMember == memberName))
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
126
&& !(conditionValues.AllPossibleValues.
Any
(it => it.HasNotNull()))) //Don't add member to the projected list if the condition involves a
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
341
foreach (var association in associations.Where(association => association.AssociationSetEnds.
Any
(end => ( end.CorrespondingAssociationEndMember.RelationshipMultiplicity == RelationshipMultiplicity.One &&
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
205
possibleValues.
Any
(c => c is NegatedConstant) == false)
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (1)
33
Debug.Assert(!values.
Any
(v => v is NegatedConstant), "Negated constant values must not contain another negated constant.");
System\Data\Metadata\Helper.cs (2)
157
if (associationType.AssociationEndMembers.
Any
( it =>
167
else if (associationType.AssociationEndMembers.
Any
(it =>
System\Data\Metadata\MappingMetadataHelper.cs (1)
62
if (mapping.IsOfTypes.
Any
(parentType => parentType.IsAssignableFrom(childEntityType)) || mapping.Types.Contains(childEntityType))
System\Data\Metadata\MetadataWorkspace.cs (1)
423
MetadataAssemblyHelper.GetNonSystemReferencedAssemblies(callingAssembly).
Any
(a => ObjectItemAttributeAssemblyLoader.IsSchemaAttributePresent(a))))
System\Data\Objects\ELinq\Funcletizer.cs (1)
351
return () => recompileRequiredDelegates.
Any
(d => d());
System\Data\Objects\ELinq\Translator.cs (1)
801
if (linq.Initializers.
Any
(i => i.Arguments.Count != 1))
System\Data\Objects\EntityEntry.cs (1)
92
_cacheTypeMetadata.Members.
Any
(m => m.IsComplex)));
System\Data\Objects\ObjectContext.cs (1)
3224
else if (!parameters.
Any
(p => p is DbParameter))
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
338
return renameList == null || renameList.Count == 0 || !renameList.
Any
(m => m.Key == member.Name) ? member.Name : renameList[member.Name].GetRename(currentType);
System\Data\Query\PlanCompiler\TransformationRules.cs (1)
200
if (this.m_relOpAncestors.
Any
(a => IsOpNotSafeForNullSentinelValueChange(a.Op.OpType)))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2485
if (inputColumns.
Any
(c => String.Equals(c.Name, row_numberName, StringComparison.OrdinalIgnoreCase)))
System\Data\SqlClient\SqlProviderManifest.cs (1)
240
edmFunction.Parameters.
Any
(p => Helper.IsSpatialType(p.TypeUsage)))
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
194
return constraint1.ToProperties.
Any
(c => constraint0.ToProperties.Contains(c));
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
421
if (textWriter.IsUserSuppliedTextWriter && !errors.
Any
(e => e.Severity == EdmSchemaErrorSeverity.Error))
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
959
nullableColumnsImplyingOneToOneMultiplicity = storeConstraint.ToProperties.
Any
(p => p.Nullable == false);
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (2)
66
if (!errors.
Any
(e => e.Severity == EdmSchemaErrorSeverity.Error))
165
if (!errors.
Any
(e => e.Severity == EdmSchemaErrorSeverity.Error))
System\Data\Entity\Design\PluralizationService\PluralizationServiceUtil.cs (1)
21
return suffixes.
Any
(s => word.EndsWith(s, true, culture));
System.Data.Services (5)
parent\Client\System\Data\Services\Client\Common.cs (1)
58
if (unsupportedTypes.
Any
(t => t.IsAssignableFrom(type)))
System\Data\Services\Epm\EpmContentDeSerializer.cs (1)
150
return this.properties != null && this.Properties.
Any
(e => e.PropertyPath == propertyPath ||
System\Data\Services\Providers\ResourceType.cs (1)
1164
return this.PropertiesDeclaredOnThisType.
Any
(p => p.Name == propertyToLookFor);
System\Data\Services\RequestQueryProcessor.cs (1)
731
if (this.description.SegmentInfos.
Any
(si => si.TargetKind == RequestTargetKind.Link))
System\Data\Services\Serializers\MetadataSerializer.cs (1)
521
WriteEpmProperties(xmlWriter, currentEpmInfos, currentEpmInfos.
Any
(ei => ei.SourcePath == resourceProperty.Name), true);
System.Data.Services.Client (11)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (4)
420
|| m.Arguments.
Any
(a => IsDisallowedExpressionForMethodCall(a)))
654
|| m.Arguments.
Any
(a => IsDisallowedExpressionForMethodCall(a)))
668
|| m.Arguments.
Any
(a => ClientType.CheckElementTypeIsEntity(a.Type)))
679
|| iv.Arguments.
Any
(a => ClientType.CheckElementTypeIsEntity(a.Type) || IsCollectionProducingExpression(a)))
System\Data\Services\Client\ALinq\ProjectionRewriter.cs (1)
49
!(le.Parameters[0].Type.GetProperties().
Any
(p => p.PropertyType == proposedParameterType))) // lambda parameter must have public property that is same as proposed type.
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2318
if (target.CustomQueryOptions.
Any
(c => (string)c.Key.Value == name))
System\Data\Services\Client\Binding\BindingGraph.cs (1)
683
return this.vertices[source].OutgoingEdges.
Any
(r => r.Equals(e));
System\Data\Services\Client\Common.cs (1)
58
if (unsupportedTypes.
Any
(t => t.IsAssignableFrom(type)))
System\Data\Services\Client\DataServiceContext.cs (2)
3430
Debug.Assert(!this.bindings.Values.
Any
(o => (o.Source == source) && (o.SourceProperty == sourceProperty)), "only expecting one");
5661
this.ChangedEntries.
Any
(o => o.ContentGeneratedForSave && 0 == o.SaveResultWasProcessed) &&
System\Data\Services\Client\DataServiceKeyAttribute.cs (1)
49
if (keyNames.Length == 0 || keyNames.
Any
(f => f == null || f.Length == 0))
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
271
if (!baseEntityType.Members.
Any
(p => p.Name == propertyPath[0]))
System.ServiceModel (1)
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
840
if (this.IsSecurityElementBootstrap && !this.ElementInformation.Properties.OfType<PropertyInformation>().
Any
(nontrivialProperty))
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3236
left.All(leftItem => right.
Any
(rightItem => equals(leftItem, rightItem))) &&
3237
right.All(rightItem => left.
Any
(leftItem => equals(leftItem, rightItem)));
System.Web (14)
Compilation\BaseCodeDomTreeGenerator.cs (1)
362
Parser.BaseType.GetConstructors(BindingFlags.Instance | BindingFlags.Public).
Any
(c => c.GetParameters().Length > 0)) {
Compilation\BuildManager.cs (2)
839
Debug.Assert(!assemblies.
Any
(String.IsNullOrEmpty));
2815
return _excludedCompilationPaths.
Any
(path => UrlPath.IsEqualOrSubpath(path.VirtualPathString, dir.VirtualPath));
ModelBinding\DataAnnotationsModelValidatorProvider.cs (1)
89
!attributes.
Any
(a => a is RequiredAttribute)) {
ModelBinding\ValueProviderCollection.cs (1)
17
return this.
Any
(vp => vp.ContainsPrefix(prefix));
Routing\ContentPathSegment.cs (1)
14
return Subsegments.
Any
<PathSubsegment>(seg => (seg is ParameterSubsegment) && (((ParameterSubsegment)seg).IsCatchAll));
Routing\HttpMethodConstraint.cs (2)
40
return AllowedMethods.
Any
(method => String.Equals(method, httpContext.Request.HttpMethod,
68
return AllowedMethods.
Any
(method => String.Equals(method, parameterValueString,
Routing\RouteParser.cs (1)
258
foundCatchAllParameter = subsegments.
Any
<PathSubsegment>(seg => (seg is ParameterSubsegment) && (((ParameterSubsegment)seg).IsCatchAll));
Security\MachineKey.cs (2)
163
if (purposes != null && purposes.
Any
(String.IsNullOrWhiteSpace)) {
197
if (purposes != null && purposes.
Any
(String.IsNullOrWhiteSpace)) {
UI\WebControls\FileUpload.cs (1)
180
return PostedFiles.
Any
(f => f.ContentLength > 0);
UI\WebControls\MenuRendererStandards.cs (1)
596
if (_styles.
Any
(s => !s.Empty)) {
Util\QueryableUtility.cs (1)
25
return _orderMethods.
Any
(method => IsQueryableMethod(expression, method));
System.Web.DynamicData (2)
DynamicData\ModelProviders\EFAssociationProvider.cs (1)
66
IsPrimaryKeyInThisTable = foreignKeyNames.
Any
(fkName => primaryKeyNames.Contains(fkName, StringComparer.OrdinalIgnoreCase));
DynamicData\ModelProviders\EFColumnProvider.cs (1)
50
return navigationProperties.
Any
(n => EFAssociationProvider.GetDependentPropertyNames(n, !IsPrimaryKey /* checkRelationshipType */).Contains(property.Name));
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
649
if (httpBindingEx == null || !httpBindingEx.IsHttpBindingContract(contract) || serviceEndpointList.
Any
(endpoint => endpoint.Contract == contract))
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (3)
270
if (!collectionType.AllowedContentTypes.
Any
(contentType => type.CanAssignTo(contentType)))
282
if (!collectionType.AllowedContentTypes.
Any
(contentType => type.CanAssignTo(contentType)))
356
if (!collectionType.AllowedContentTypes.
Any
(contentType => contentType.IsNullable))