system\runtime\remoting\remotingconfigparser.cs (60)
439rootNode.Children.Add(appNode);
442appNode.Children.Add(channelsNode);
445node.Attributes.Add(new DictionaryEntry("ref", "http client"));
446node.Attributes.Add(new DictionaryEntry("displayName", "http client (delay loaded)"));
447node.Attributes.Add(new DictionaryEntry("delayLoadAsClientChannel", "true"));
448channelsNode.Children.Add(node);
451node.Attributes.Add(new DictionaryEntry("ref", "tcp client"));
452node.Attributes.Add(new DictionaryEntry("displayName", "tcp client (delay loaded)"));
453node.Attributes.Add(new DictionaryEntry("delayLoadAsClientChannel", "true"));
454channelsNode.Children.Add(node);
457node.Attributes.Add(new DictionaryEntry("ref", "ipc client"));
458node.Attributes.Add(new DictionaryEntry("displayName", "ipc client (delay loaded)"));
459node.Attributes.Add(new DictionaryEntry("delayLoadAsClientChannel", "true"));
460channelsNode.Children.Add(node);
476rootNode.Children.Add(channelsNode);
479node.Attributes.Add(new DictionaryEntry("id", "http"));
480node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Http.HttpChannel, " + AssemblyRef.SystemRuntimeRemoting));
481channelsNode.Children.Add(node);
484node.Attributes.Add(new DictionaryEntry("id", "http client"));
485node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Http.HttpClientChannel, " + AssemblyRef.SystemRuntimeRemoting));
486channelsNode.Children.Add(node);
489node.Attributes.Add(new DictionaryEntry("id", "http server"));
490node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Http.HttpServerChannel, " + AssemblyRef.SystemRuntimeRemoting));
491channelsNode.Children.Add(node);
494node.Attributes.Add(new DictionaryEntry("id", "tcp"));
495node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Tcp.TcpChannel, " + AssemblyRef.SystemRuntimeRemoting));
496channelsNode.Children.Add(node);
499node.Attributes.Add(new DictionaryEntry("id", "tcp client"));
500node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, " + AssemblyRef.SystemRuntimeRemoting));
501channelsNode.Children.Add(node);
504node.Attributes.Add(new DictionaryEntry("id", "tcp server"));
505node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, " + AssemblyRef.SystemRuntimeRemoting));
506channelsNode.Children.Add(node);
509node.Attributes.Add(new DictionaryEntry("id", "ipc"));
510node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Ipc.IpcChannel, " + AssemblyRef.SystemRuntimeRemoting));
511channelsNode.Children.Add(node);
514node.Attributes.Add(new DictionaryEntry("id", "ipc client"));
515node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Ipc.IpcClientChannel, " + AssemblyRef.SystemRuntimeRemoting));
516channelsNode.Children.Add(node);
519node.Attributes.Add(new DictionaryEntry("id", "ipc server"));
520node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.Ipc.IpcServerChannel, " + AssemblyRef.SystemRuntimeRemoting));
521channelsNode.Children.Add(node);
537rootNode.Children.Add(channelsSinkNode);
540channelsSinkNode.Children.Add(clientProvidersNode);
543node.Attributes.Add(new DictionaryEntry("id", "soap"));
544node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, " + AssemblyRef.SystemRuntimeRemoting));
545clientProvidersNode.Children.Add(node);
548node.Attributes.Add(new DictionaryEntry("id", "binary"));
549node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, " + AssemblyRef.SystemRuntimeRemoting));
550clientProvidersNode.Children.Add(node);
553channelsSinkNode.Children.Add(serverProvidersNode);
556node.Attributes.Add(new DictionaryEntry("id", "soap"));
557node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, " + AssemblyRef.SystemRuntimeRemoting));
558serverProvidersNode.Children.Add(node);
561node.Attributes.Add(new DictionaryEntry("id", "binary"));
562node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, " + AssemblyRef.SystemRuntimeRemoting));
563serverProvidersNode.Children.Add(node);
566node.Attributes.Add(new DictionaryEntry("id", "wsdl"));
567node.Attributes.Add(new DictionaryEntry("type", "System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, " + AssemblyRef.SystemRuntimeRemoting));
568serverProvidersNode.Children.Add(node);
system\runtime\serialization\serializationeventscache.cs (1)
60mi.Add(m);
system\security\principal\windowsidentity.cs (13)
1288m_userClaims.Add(new Claim(NameClaimType, Name, ClaimValueTypes.String, m_issuerName, m_issuerName, this));
1347instanceClaims.Add(claim);
1354instanceClaims.Add(claim);
1403instanceClaims.Add(new Claim(ClaimTypes.PrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1407instanceClaims.Add(new Claim(ClaimTypes.GroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1414instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1418instanceClaims.Add(new Claim(ClaimTypes.DenyOnlySid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1452instanceClaims.Add(new Claim(ClaimTypes.PrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1456instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture)));
1500instanceClaims.Add( new Claim(windowsClaim.Name, Marshal.PtrToStringAuto(stringPointers[item]), ClaimValueTypes.String, m_issuerName, m_issuerName, this, propertyValue, string.Empty));
1510instanceClaims.Add(new Claim(windowsClaim.Name, Convert.ToString(intValues[item], CultureInfo.InvariantCulture), ClaimValueTypes.Integer64, m_issuerName, m_issuerName, this, propertyValue, string.Empty));
1521instanceClaims.Add( new Claim(windowsClaim.Name, Convert.ToString((UInt64)uintValues[item], CultureInfo.InvariantCulture), ClaimValueTypes.UInteger64, m_issuerName, m_issuerName, this, propertyValue, string.Empty));
1531instanceClaims.Add(new Claim(windowsClaim.Name,
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (13)
545pointList.Add(intersPoint3D);
546uvList.Add(intersUV);
556edgeList.Add(new HitTestEdge(pointList[0], pointList[1],
569edgeList.Add(new HitTestEdge(pointList[0], outputPoint,
575edgeList.Add(new HitTestEdge(pointList[0], outputPoint,
586edgeList.Add(new HitTestEdge(outputPoint1, outputPoint2,
731edgeList.Add(new HitTestEdge(p1, p2, uv1, uv2));
958pointList.Add(intersPoint3D);
959uvList.Add(intersUV);
967edgeList.Add(new HitTestEdge(pointList[0], pointList[1],
978edgeList.Add(new HitTestEdge(pointList[0], p3D1,
983edgeList.Add(new HitTestEdge(pointList[0], p3D2,
992edgeList.Add(new HitTestEdge(p3D1, p3D2,
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (71)
675fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.CapitalSpacing, 1));
679fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.CaseSensitiveForms, 1));
683fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ContextualAlternates, 1));
687fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ContextualLigatures, 1));
691fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.DiscretionaryLigatures, 1));
695fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.HistoricalForms, 1));
699fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.HistoricalLigatures, 1));
703fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Kerning, 1));
707fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.MathematicalGreek, 1));
711fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.SlashedZero, 1));
715fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StandardLigatures, 1));
719fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet1, 1));
723fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet10, 1));
727fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet11, 1));
731fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet12, 1));
735fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet13, 1));
739fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet14, 1));
743fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet15, 1));
747fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet16, 1));
751fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet17, 1));
755fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet18, 1));
759fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet19, 1));
763fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet2, 1));
767fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet20, 1));
771fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet3, 1));
775fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet4, 1));
779fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet5, 1));
783fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet6, 1));
787fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet7, 1));
791fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet8, 1));
795fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticSet9, 1));
799fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ExpertForms, 1));
804fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.AlternateAnnotationForms, checked((uint)textRunTypographyProperties.AnnotationAlternates)));
808fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ContextualSwash, checked((uint)textRunTypographyProperties.ContextualSwashes)));
812fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.StylisticAlternates, checked((uint)textRunTypographyProperties.StylisticAlternates)));
816fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Swash, checked((uint)textRunTypographyProperties.StandardSwashes)));
821case FontCapitals.AllPetiteCaps: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.PetiteCapitals, 1));
822fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.PetiteCapitalsFromCapitals, 1));
824case FontCapitals.AllSmallCaps: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.SmallCapitals, 1));
825fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.SmallCapitalsFromCapitals, 1));
827case FontCapitals.PetiteCaps: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.PetiteCapitals, 1));
829case FontCapitals.SmallCaps: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.SmallCapitals, 1));
831case FontCapitals.Titling: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Titling, 1));
833case FontCapitals.Unicase: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Unicase, 1));
839case FontEastAsianLanguage.Simplified: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.SimplifiedForms, 1));
841case FontEastAsianLanguage.Traditional: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.TraditionalForms, 1));
843case FontEastAsianLanguage.TraditionalNames: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.TraditionalNameForms, 1));
845case FontEastAsianLanguage.NlcKanji: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.NLCKanjiForms, 1));
847case FontEastAsianLanguage.HojoKanji: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.HojoKanjiForms, 1));
849case FontEastAsianLanguage.Jis78: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.JIS78Forms, 1));
851case FontEastAsianLanguage.Jis83: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.JIS83Forms, 1));
853case FontEastAsianLanguage.Jis90: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.JIS90Forms, 1));
855case FontEastAsianLanguage.Jis04: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.JIS04Forms, 1));
861case FontFraction.Stacked: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.AlternativeFractions, 1));
863case FontFraction.Slashed: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Fractions, 1));
869case FontNumeralAlignment.Proportional: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ProportionalFigures, 1));
871case FontNumeralAlignment.Tabular: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.TabularFigures, 1));
877case FontNumeralStyle.Lining: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.LiningFigures, 1));
879case FontNumeralStyle.OldStyle: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.OldStyleFigures, 1));
885case FontVariants.Inferior: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ScientificInferiors, 1));
887case FontVariants.Ordinal: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Ordinals, 1));
889case FontVariants.Ruby: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.RubyNotationForms, 1));
891case FontVariants.Subscript: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Subscript, 1));
893case FontVariants.Superscript: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Superscript, 1));
900fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ProportionalWidths, 1));
901fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ProportionalAlternateWidth, 1));
903case FontEastAsianWidths.Full: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.FullWidth, 1));
906fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.HalfWidth, 1));
907fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.AlternateHalfWidth, 1));
909case FontEastAsianWidths.Third: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ThirdWidths, 1));
911case FontEastAsianWidths.Quarter: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.QuarterWidths, 1));
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
227_frames.Add(
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
249res.Add(part);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
186res.Add(part);
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
166res.Add(part);
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
132children.Add(peer);
src\Framework\System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
89list.Add(peer);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (21)
319realizedColumnIndices.Add(columnIndex);
320realizedColumnDisplayIndices.Add(i);
336realizedColumnIndices.Add(columnIndex);
337realizedColumnDisplayIndices.Add(i);
374realizedColumnIndices.Add(columnIndex);
375realizedColumnDisplayIndices.Add(i);
397realizedColumnIndices.Add(columnIndex);
398realizedColumnDisplayIndices.Add(i);
477resultList.Add(new RealizedColumnsBlock(indexList[0], indexList[0], 0));
488resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i - 1], 0));
494resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i - 1], startIndexOffset));
504resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i], 0));
510resultList.Add(new RealizedColumnsBlock(startIndex, indexList[i], startIndexOffset));
1019realizedColumnIndices.Add(columnIndex);
1024realizedColumnIndices.Add(columnIndex);
1025realizedColumnDisplayIndices.Add(displayIndex);
1589additionalChildIndices.Add(i);
1608additionalChildIndices.Add(i);
1616additionalChildIndices.Add(j);
1627additionalChildIndices.Add(i);
1970_realizedChildren.Add(children[i]);
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (11)
726remainder.Add(new CellRegion(Left, Top, Width, region.Top - Top));
734remainder.Add(new CellRegion(Left, top, region.Left - Left, bottom - top + 1));
742remainder.Add(new CellRegion(region.Right + 1, top, Right - region.Right, bottom - top + 1));
748remainder.Add(new CellRegion(Left, region.Bottom + 1, Width, Bottom - region.Bottom));
841addList.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
888_regions.Add(addList[c]);
929removeList.Add(intersection);
1501_regions.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
1551columnIndexRanges.Add(region.Left);
1552columnIndexRanges.Add(region.Width);
1650list.Add(cellInfo);
src\Framework\System\Windows\Documents\TextEffectResolver.cs (1)
91list.Add(
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (1)
42members.Add(member);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryListAutomationPeer.cs (1)
61_children.Add(peer);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (4)
91rects.Add(new Rect(new Point(targetLocation.X - HitRegionOffset, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
92rects.Add(new Rect(new Point(targetLocation.X + targetSize.Width, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
93rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y - HitRegionOffset), new Size(DropTargetWidth, HitRegionOffset)));
94rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y + targetSize.Height), new Size(DropTargetWidth, HitRegionOffset)));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (12)
176searchableTexts.Add(line);
293entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
296entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
303entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
312entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null, annotationText, null));
322entries.Add(CreateSearchableEntry(entryType, modelItem, property, valueText, propertyPath));
335entries.Add(CreateSearchableEntry(entryType, modelItem, property, valueText, propertyPath));
370entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null,
373entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null,
388entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null, annotationText, null));
490entries.Add(CreateSearchableEntry(
493entries.Add(CreateSearchableEntry(
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (1)
459nodes.Add(n);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
90this.views.Add(view);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (1)
42members.Add(member);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
800editorTypesToRemove.Add(item.Key);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (4)
91rects.Add(new Rect(new Point(targetLocation.X - HitRegionOffset, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
92rects.Add(new Rect(new Point(targetLocation.X + targetSize.Width, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
93rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y - HitRegionOffset), new Size(DropTargetWidth, HitRegionOffset)));
94rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y + targetSize.Height), new Size(DropTargetWidth, HitRegionOffset)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (12)
176searchableTexts.Add(line);
293entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
296entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
303entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null,
312entries.Add(CreateSearchableEntry(SearchableEntryOption.Variable, variable, null, annotationText, null));
322entries.Add(CreateSearchableEntry(entryType, modelItem, property, valueText, propertyPath));
335entries.Add(CreateSearchableEntry(entryType, modelItem, property, valueText, propertyPath));
370entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null,
373entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null,
388entries.Add(CreateSearchableEntry(SearchableEntryOption.Argument, argument, null, annotationText, null));
490entries.Add(CreateSearchableEntry(
493entries.Add(CreateSearchableEntry(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
299items.Add(toolWrapper);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (1)
459nodes.Add(n);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
90this.views.Add(view);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (11)
458recordCols.Add(new KeyValuePair<string, TypeUsage>(input.VariableName, input.VariableType));
459recordCols.Add(new KeyValuePair<string, TypeUsage>(apply.VariableName, apply.VariableType));
498inputList.Add(input);
501columns.Add(new KeyValuePair<string, TypeUsage>(input.VariableName, input.VariableType));
548columns.Add(new KeyValuePair<string, TypeUsage>(left.VariableName, left.VariableType));
549columns.Add(new KeyValuePair<string, TypeUsage>(right.VariableName, right.VariableType));
591columns.Add(new KeyValuePair<string, TypeUsage>(keyInfo.Key, keyInfo.Value.ResultType));
630columns.Add(new KeyValuePair<string, TypeUsage>(aggInfo.Key, aggInfo.Value.ResultType));
1575columnTypes.Add(new KeyValuePair<string, TypeUsage>(columnValue.Key, columnValue.Value.ResultType));
1638memberTypes.Add(Helper.GetModelTypeUsage(members[idx]));
1669relatedRefs.Add(relatedRef);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (28)
172aliasedNamespaceImports.Add(Tuple.Create(alias, (MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
176namespaceImports.Add(Tuple.Create((MetadataNamespace)metadataMember, namespaceImport.ErrCtx));
371inlineFunctionInfos.Add(functionInfo);
381functionDefinitions.Add(new FunctionDefinition(
422paramList.Add(paramRefExpr);
764aggregateInfo.EvaluatingScopeRegion.GroupAggregateInfos.Add(aggregateInfo);
1029relshipExprList.Add(relshipTarget);
1307aggregateInfo.EvaluatingScopeRegion.GroupAggregateInfos.Add(aggregateInfo);
1508convertedArgs.Add(ConvertValueExpressionAllowUntypedNulls(astExprList[i], sr));
2563fieldExprs.Add(colExpr);
2644whenExprList.Add(whenExpression);
2648thenExprList.Add(thenExpression);
2662resultTypes.Add(elseExpr.ResultType);
2907projectionItems.Add(new KeyValuePair<string, DbExpression>(aliasName, converted));
3123scopeEntries.Add(sourceScopeEntry);
3514groupKeys.Add(groupKeyInfo);
3733aggregates.Add(new KeyValuePair<string, DbAggregate>(
3752aggregates.Add(new KeyValuePair<string, DbAggregate>(groupAggregateVarRef.VariableName, groupAggregateDefinition));
3915groupPartitionDefinitions.Add(new KeyValuePair<string, DbExpression>(
3929groupPartitionDefinitions.Add(new KeyValuePair<string, DbExpression>(
4212sortKeys.Add(ascSort ? keyExpr.ToSortClause() : keyExpr.ToSortClauseDescending());
4216sortKeys.Add(ascSort ? keyExpr.ToSortClause(collation) : keyExpr.ToSortClauseDescending(collation));
4403argTypes.Add(args.Left.ResultType);
4404argTypes.Add(args.Right.ResultType);
4771whenExpr.Add(leftIn.IsNull());
4773thenExpr.Add(DbExpressionBuilder.Null(sr.TypeResolver.BooleanType));
4806whenExpr.Add(leftIn.IsNull());
4808thenExpr.Add(DbExpressionBuilder.Null(sr.TypeResolver.BooleanType));
System\Data\Mapping\StorageMappingItemLoader.cs (25)
220m_parsingErrors.Add(error);
589violationNames.Add(mappingCount.Key.Name);
696newNodes.Add(end.EntitySet);
719newNodes.Add(associationSet);
1383m_parsingErrors.Add(error);
1569typeMappingsList.Add(typeMappings);
1873typeMappings.Add(typeMapping);
1893typeMappings.Add(typeMapping);
2105typeMappings.Add(new FunctionImportEntityTypeMapping(
2115typeMappings.Add(new FunctionImportComplexTypeMapping(
2149structuralTypeMappings.Add(Tuple.Create((StructuralType)functionImportKB.MappedEntityTypes[i], typeConditions, propertyMappings));
2177structuralTypeMappings.Add(Tuple.Create((StructuralType)resultComplexType, new List<StorageConditionPropertyMapping>(), propertyMappings));
2340conditions.Add(new FunctionImportEntityTypeMappingConditionIsNull(columnName, isNullValue, lineInfo));
2346conditions.Add(new FunctionImportEntityTypeMappingConditionValue(columnName, columnValue, lineInfo));
2420typeConditions.Add(new StorageConditionPropertyMapping(null, column, value, isNull));
2461m_parsingErrors.Add(error);
2489propertyMappings.Add(new StorageScalarPropertyMapping(property, column));
2498m_parsingErrors.Add(error);
2517m_parsingErrors.Add(error);
2893m_parsingErrors.Add(error);
3583m_parsingErrors.Add(error);
3624m_parsingErrors.Add(error);
3648m_parsingErrors.Add(error);
3658m_parsingErrors.Add(error);
3848resultBindings.Add(resultBinding);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (22)
94SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NewTypeConflictsWithExistingType(
182SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.GenericTypeNotSupported(type.FullName), null));
222SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.SameRoleNameOnRelationshipAttribute(roleAttribute.RelationshipName, roleAttribute.Role2Name),
261SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.RoleTypeInEdmRelationshipAttributeIsInvalidType(associationType.Name, roleName, clrType),
290SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NestedClassNotSupported(clrType.FullName, clrType.Assembly.FullName), null));
297SessionData.EdmItemErrors.Add(new EdmItemError(Strings.Validator_TypeHasNoNamespace, edmType));
321SessionData.EdmItemErrors.Add(
365_referenceResolutions.Add(resolver);
382SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullRelationshipNameforEdmRelationshipAttribute(SourceAssembly.FullName), null));
390SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
397SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
404SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
411SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
418SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
469_unresolvedNavigationProperties.Add(() =>
540SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_InvalidNavPropReturnType(propertyInfo.Name, propertyInfo.DeclaringType.FullName, propertyInfo.PropertyType.FullName), null));
575SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.TargetRoleNameInNavigationPropertyNotValid(
583SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NavigationPropertyRelationshipEndTypeMismatch(
595SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.RelationshipNameInNavigationPropertyNotValid(
630SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ScalarPropertyNotPrimitive(property.Name, property.DeclaringType.FullName, property.PropertyType.FullName), null));
666SessionData.EdmItemErrors.Add(
703SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ComplexPropertyNotComplex(clrProperty.Name, clrProperty.DeclaringType.FullName, clrProperty.PropertyType.FullName), null));
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (16)
64SessionData.EdmItemErrors.Add(
101SessionData.EdmItemErrors.Add(new EdmItemError(Strings.Validator_OSpace_Convention_MultipleTypesWithSameName(type.Name), pair.Key));
176referenceResolutionListForCurrentType.Add(
199this._referenceResolutions.Add(referenceResolution);
345SessionData.EdmItemErrors.Add(new EdmItemError(message, ospaceType));
392typeClosureToTrack.Add(
411referenceResolutionListForCurrentType.Add(() => CreateAndAddComplexType(type, ot, cp, clrp));
429typeClosureToTrack.Add(
453referenceResolutionListForCurrentType.Add(() => CreateAndAddNavigationProperty(ct, ot, cp, clrp));
501SessionData.EdmItemErrors.Add(new EdmItemError(message, ospaceType));
557SessionData.EdmItemErrors.Add(new EdmItemError(message, ospaceType));
608typeClosureToTrack.Add(new KeyValuePair<EdmProperty, PropertyInfo>(cspaceProperty, clrProperty));
625referenceResolutionListForCurrentType.Add(() => CreateAndAddEnumProperty(type, ot, cp, clrp));
654SessionData.EdmItemErrors.Add(new EdmItemError(message, ospaceType));
664SessionData.EdmItemErrors.Add(new EdmItemError(message, ospaceType));
782sessionData.EdmItemErrors.Add(new EdmItemError(Strings.Validator_OSpace_Convention_AttributeAssemblyReferenced(assembly.FullName), null));
System\Data\Objects\ELinq\MethodCallTranslator.cs (18)
661newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, newExpr));
665newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.Property.Name, propertyExpr));
847result.Add(typeof(Math).GetMethod("Abs", BindingFlags.Public | BindingFlags.Static, null, new Type[] { argType }, null));
865arguments.Add(call.Object);
1778arguments.Add(operand);
1827argTypes.Add(argumentType);
2337whenExpressions.Add(parent.CreateIsNullExpression(element, elementType));
2339thenExpressions.Add(DbExpressionBuilder.Constant(element.ResultType, defaultValue));
2761keys.Add(new KeyValuePair<string, CqtExpression>(KeyColumnName, keySelector));
2762aggregates.Add(new KeyValuePair<string, DbAggregate>(GroupColumnName, sourceGroupBinding.GroupAggregate));
2789properties.Add(new EdmProperty(KeyColumnName, projectionTerms[0].ResultType));
2790properties.Add(new EdmProperty(GroupColumnName, projectionTerms[1].ResultType));
2886recordColumns.Add(new KeyValuePair<string, CqtExpression>(outerColumn, outerBinding.Variable));
2887recordColumns.Add(new KeyValuePair<string, CqtExpression>(innerColumn, nestedCollection));
2949renames.Add(Tuple.Create((EdmProperty)rename.Property, outerRowType.Properties[i].Name));
2970newProjectionArguments.Add(innerProjection.Arguments[innerPropertyIndex]);
2989keys.Add(sortSpec);
3036keys.Add(new DbSortClause(lambda, _ascending, null));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (18)
661retList.Add(VisitNode(argNode));
830whens.Add(VisitChild(n, idx));
831thens.Add(VisitChild(n, idx + 1));
1215projectedCols.Add(new KeyValuePair<string, DbExpression>(columnName, columnValue));
1219projectedInfo.Add(colInfo);
1261outputVars.Add(colInfo);
1267outputVars.Add(new VarInfo(targetTable.Columns[0]));
1372projectedCols.Add(new KeyValuePair<string, DbExpression>("C0", constExpr));
1546sortClauses.Add(sortClause);
1700keyExprs.Add(new KeyValuePair<string, DbExpression>(keyColName, ResolveVar(keyVar)));
1710publishedVars.Add(keyColInfo);
1787aggregates.Add(new KeyValuePair<string, DbAggregate>(aggColName, aggMap[aggVar]));
1797publishedVars.Add(aggColInfo);
1966inputBindings.Add(inputInfo.CreateBinding());
2118projectionVars.Add(argVars[v]);
2185publishedVars.Add(newVarInfo);
2279collectionElements.Add(elementExpr);
2350prunedOutputs.Add(v);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (36)
133sources.Add(argNode);
136copies.Add(argCopy);
533arguments.Add(node);
536arguments.Add(_iqtCommand.CreateNode(_iqtCommand.CreateInternalConstantOp(_iqtCommand.BooleanType, true)));
542arguments.Add(_iqtCommand.CreateNode(_iqtCommand.CreateConditionalOp(OpType.Not), predCopy));
546arguments.Add(_iqtCommand.CreateNode(_iqtCommand.CreateInternalConstantOp(_iqtCommand.BooleanType, false)));
551arguments.Add(_iqtCommand.CreateNode(_iqtCommand.CreateNullOp(_iqtCommand.BooleanType)));
601nodeList.Add(exprDelegate(exprs[idx]));
948recordColumns.Add(_iqtCommand.CreateNode(_iqtCommand.CreateVarRefOp(colVar)));
1070argNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Arguments[idx]), e.Function.Parameters[idx].TypeUsage));
1092argNodes.Add(Tuple.Create(VisitExpr(argExpr), IsPredicate(argExpr)));
1514children.Add(BuildSoftCast(child, e.ResultType));
1700childNodes.Add(VisitExprAsPredicate(e.When[idx]));
1702childNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Then[idx]), e.ResultType));
1706childNodes.Add(BuildSoftCast(VisitExprAsScalar(e.Else), e.ResultType));
2054relPropertyList.Add(relProperty);
2056relPropertyExprs.Add(relPropertyNode);
2078newArgs.Add(newArg);
2089newArgs.Add(newArg);
2208relPropertyList.Add(kv.Key);
2209relPropertyExprs.Add(VisitExprAsScalar(kv.Value));
2218newArgs.Add(CreateNewInstanceArgument(_discriminatorMap.Discriminator.Property, _discriminatorMap.Discriminator));
2224newArgs.Add(newArg);
2271inputs.Add(e.Left);
2272inputs.Add(e.Right);
2305inputNodes.Add(inputNode);
2306inputVars.Add(boundVar);
2372inputNodes.Add(joinCondNode);
2515aggVarDefNodes.Add(ProcessFunctionAggregate(funcAgg, argNodes, out aggVar));
2541groupByChildren.Add(inputNode); // The Node produced from the Input set
2542groupByChildren.Add( // The Key VarDefs
2547groupByChildren.Add( // The Aggregate VarDefs
2556groupByChildren.Add( // The GroupAggregate VarDef
2612keyVarDefNodes.Add(_iqtCommand.CreateVarDefNode(keyNode, out keyVar));
2850sortVarDefs.Add(_iqtCommand.CreateVarDefNode(exprNode, out specVar));
2866sortKeys.Add(sortKey);
System\ServiceModel\Channels\MessageProperties.cs (15)
170keys.Add(ViaKey);
175keys.Add(AllowOutputBatchingKey);
180keys.Add(SecurityKey);
185keys.Add(EncoderKey);
199keys.Add(propertyName);
234values.Add(via);
239values.Add(allowOutputBatching);
244values.Add(security);
249values.Add(encoder);
260values.Add(properties[i].Value);
809pairs.Add(new KeyValuePair<string, object>(ViaKey, via));
812pairs.Add(new KeyValuePair<string, object>(AllowOutputBatchingKey, allowOutputBatching));
815pairs.Add(new KeyValuePair<string, object>(SecurityKey, security));
818pairs.Add(new KeyValuePair<string, object>(EncoderKey, encoder));
831pairs.Add(new KeyValuePair<string, object>(propertyName, properties[i].Value));
System\ServiceModel\Security\SendSecurityHeaderElementContainer.cs (1)
45list.Add(item);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
58items.Add(value);