1060 references to List
ComSvcConfig (2)
ComAdminWrapper.cs (1)
601
static List<Version> CLRVersions = new
List
<Version>(2) { new Version("2.0"), new Version("4.0") };
Options.cs (1)
405
this.components = new
List
<ComponentDefinition<string>>(comps.Count);
mscorlib (32)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
51
m_NotGen2 = new
List
<object>(DefaultNumberOfBuffers);
system\cfgparser.cs (2)
500
List<ConfigNode> m_children = new
List
<ConfigNode>(5);
501
List<DictionaryEntry> m_attributes = new
List
<DictionaryEntry>(5);
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
2041
List<TKey> keys = new
List
<TKey>(count);
2074
List<TValue> values = new
List
<TValue>(count);
system\collections\generic\list.cs (2)
349
List<TOutput> list = new
List
<TOutput>(_size);
597
List<T> list = new
List
<T>(count);
system\diagnostics\eventing\eventprovider.cs (3)
439
sessionList = new
List
<SessionInfo>(8);
931
List<int> refObjPosition = new
List
<int>(s_etwAPIMaxRefObjCount);
932
List<object> dataRefObj = new
List
<object>(s_etwAPIMaxRefObjCount);
system\diagnostics\eventing\eventsource.cs (4)
2885
m_legacySessions = new
List
<EtwSession>(8);
4410
s_EventSources = new
List
<WeakReference>(2);
4580
Interlocked.CompareExchange(ref s_EventSources, new
List
<WeakReference>(2), null);
6216
byteArrArgIndices = new
List
<int>(4);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (1)
739
List<byte> traitMetaData = new
List
<byte>(100);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (2)
216
var recursionCheck = new
List
<Type>(paramInfos.Length);
235
var recursionCheck = new
List
<Type>(types.Length);
system\globalization\datetimeformat.cs (1)
1124
List<String> results = new
List
<String>(DEFAULT_ALL_DATETIMES_SIZE);
system\globalization\datetimeformatinfo.cs (1)
1684
List<String> results = new
List
<String>(DEFAULT_ALL_DATETIMES_SIZE);
system\reflection\Associates.cs (1)
204
otherList = new
List
<MethodInfo>(cAssociates);
system\rttype.cs (4)
1465
cache = new
List
<RuntimePropertyInfo>(1);
4855
results = new
List
<MethodInfo>(semiFinalists.Length);
4909
results = new
List
<MethodInfo>(semiFinalists.Length);
5220
List<MethodBase> matches = new
List
<MethodBase>(candidates.Length);
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
614
memberTypesList = new
List
<Type>(20);
system\security\policy\evidence.cs (1)
1709
List<Type> expensiveList = new
List
<Type>(ExpensiveEvidence.Count);
system\security\principal\ircollection.cs (1)
45
_Identities = new
List
<IdentityReference>( capacity );
system\threading\Tasks\Task.cs (2)
5171
if (list == null) list = new
List
<T>(initSize);
5300
exceptions = new
List
<Exception>(ex.InnerExceptions.Count);
system\threading\Tasks\TaskExceptionHolder.cs (1)
247
if (exceptions == null) m_faultExceptions = exceptions = new
List
<ExceptionDispatchInfo>(1);
system\timezoneinfo.cs (2)
2375
List<AdjustmentRule> rulesList = new
List
<AdjustmentRule>(1);
3931
List<AdjustmentRule> rules = new
List
<AdjustmentRule>(1);
PresentationBuildTasks (9)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (2)
668
_uids = new
List
<Uid>(32);
669
_namespacePrefixes = new
List
<string>(2);
Core\CSharp\MS\internal\Media\XamlSerializationHelper.cs (2)
393
List<ThreeDoublesMarkup> resource = new
List
<ThreeDoublesMarkup>( source.Length/ 8 ) ; // SWAG the length of the collection.
419
List<Point> resource = new
List
<Point>(source.Length/ 8 ); // SWAG the length of the collection.
Framework\MS\Internal\Globalization\LocalizationComments.cs (1)
96
List<PropertyComment> tokens = new
List
<PropertyComment>(8);
Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
312
_staticResourceRecordList = new
List
<ValueDeferRecord>(5);
1175
_staticResourceRecordList = new
List
<ValueDeferRecord>(1);
1804
_staticResourceRecordList = new
List
<List<ValueDeferRecord>>(1);
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3479
namespaceAssemblyPair = new
List
<ClrNamespaceAssemblyPair>(1);
PresentationCore (196)
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
142
folderResourceMap[folderName] = new
List
<string>(1);
146
folderResourceMap[resourceFullName] = new
List
<string>(1);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (4)
104
_fontSources = new
List
<Text.TextInterface.IFontSource>(1);
251
fontSources = new
List
<Text.TextInterface.IFontSource>(files.Count);
274
fontSources = new
List
<Text.TextInterface.IFontSource>(0);
280
fontSources = new
List
<Text.TextInterface.IFontSource>(resourceEntries.Count);
Core\CSharp\MS\Internal\IListConverters.cs (4)
111
List<double> list = new
List
<double>(Math.Min(256, value.Length / EstimatedCharCountPerItem + 1));
154
List<ushort> list = new
List
<ushort>(Math.Min(256, value.Length / EstimatedCharCountPerItem + 1));
195
List<bool> list = new
List
<bool>(Math.Min(256, value.Length / EstimatedCharCountPerItem + 1));
237
List<Point> list = new
List
<Point>(Math.Min(256, value.Length / EstimatedCharCountPerItem + 1));
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (1)
64
_erasingStrokeNodes = new
List
<StrokeNode>(points.Length);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\AlgoModule.cs (1)
271
List<byte> compressedData = new
List
<byte>(input.Length + 1); //reasonable default based on profiling.
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (1)
676
List<byte> output = new
List
<byte>((bitsToWrite / 8) * unitsToDecode);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
110
List<char> charData = new
List
<char>((int)inkData.Length);
1731
_strokeDescriptorTable = new
List
<StrokeDescriptor>(_coreStrokes.Count);
Core\CSharp\MS\Internal\Ink\StrokeIntersection.cs (2)
195
List<StrokeFIndices> inFIndices = new
List
<StrokeFIndices>(intersections.Length);
227
List<StrokeFIndices> hitFIndices = new
List
<StrokeFIndices>(intersections.Length);
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (2)
58
List<Point> connectingQuadPoints = new
List
<Point>(iterator.Count * 4);
271
List<Point> polyLinePoints = new
List
<Point>(4);
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (1)
551
points = new
List
<Point>(count);
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (1)
48
private IList<ScaledShapeTypeface> _cachedScaledTypefaces = new
List
<ScaledShapeTypeface>(InitialScaledGlyphableTypefaceCount);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
2031
IList<TextRunBounds> boundsList = new
List
<TextRunBounds>(2);
2112
IList<TextSpan<TextRun>> lsrunList = new
List
<TextSpan<TextRun>>(2);
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
3305
glyphAdvances = new
List
<double>(glyphCount);
3311
glyphOffsets = new
List
<Point>(glyphCount);
3447
charWidths = new
List
<double>(cchText);
3798
_indexedGlyphRuns = new
List
<IndexedGlyphRun>(8);
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
671
List<DWriteFontFeature> fontFeatures = new
List
<DWriteFontFeature>((int)CustomOpenTypeFeatures.Count);
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (4)
852
boundsList = new
List
<TextRunBounds>(2);
928
List<IndexedGlyphRun> indexedGlyphRuns = new
List
<IndexedGlyphRun>(_runs.Length);
951
displayGlyphAdvances = new
List
<double>(run.NominalAdvances.Length);
1799
displayGlyphAdvances = new
List
<double>(NominalAdvances.Length);
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (1)
334
IList<TextSpan<TextRun>> textRunList = new
List
<TextSpan<TextRun>>(_textRunVector.Count);
Core\CSharp\System\Windows\FreezableCollection.cs (3)
81
_collection = new
List
<T>(capacity);
101
_collection = new
List
<T>(count);
845
_collection = new
List
<T>(count);
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (2)
139
_strokeInfos = new
List
<StrokeInfo>(strokes.Count);
244
List<StrokeInfo> newStrokeInfos = new
List
<StrokeInfo>(_strokes.Count);
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (2)
451
List<IInputElement> finalTargets = new
List
<IInputElement>(1);
688
List<IInputElement> copy = new
List
<IInputElement>(elements.Count);
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (3)
186
_innerCBList = new System.Collections.Generic.
List
<CommandBinding>(1);
211
_innerCBList = new System.Collections.Generic.
List
<CommandBinding>(collection.Count);
377
System.Collections.Generic.List<CommandBinding> list = new System.Collections.Generic.
List
<CommandBinding>(0);
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (3)
227
_innerBindingList = new System.Collections.Generic.
List
<InputBinding>(1);
279
_innerBindingList = new System.Collections.Generic.
List
<InputBinding>(collection.Count);
410
System.Collections.Generic.List<InputBinding> list = new System.Collections.Generic.
List
<InputBinding>(0);
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (3)
175
List<InputGesture> list = new
List
<InputGesture>(0);
301
_innerGestureList = new System.Collections.Generic.
List
<InputGesture>(collection.Count);
433
_innerGestureList = new
List
<InputGesture>(1);
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (2)
181
_manipulators = new
List
<IManipulator>(2);
262
return new ReadOnlyCollection<IManipulator>(new
List
<IManipulator>(2));
Core\CSharp\System\Windows\Input\ManipulationStartingEventArgs.cs (1)
140
_parameters = new
List
<ManipulationParameters2D>(1);
Core\CSharp\System\Windows\Input\TouchDevice.cs (2)
483
others = new
List
<DependencyObject>(count);
1226
_activeDevices = new
List
<TouchDevice>(2);
Core\CSharp\System\Windows\Media\Animation\AnimationLayer.cs (1)
200
animationClockList = new
List
<AnimationClock>(oldClocksCount + newClocksCount);
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< BooleanKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< BooleanKeyFrame>(0);
107
_keyFrames = new
List
< BooleanKeyFrame>(count);
128
_keyFrames = new
List
< BooleanKeyFrame>(count);
149
_keyFrames = new
List
< BooleanKeyFrame>(count);
170
_keyFrames = new
List
< BooleanKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< ByteKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< ByteKeyFrame>(0);
107
_keyFrames = new
List
< ByteKeyFrame>(count);
128
_keyFrames = new
List
< ByteKeyFrame>(count);
149
_keyFrames = new
List
< ByteKeyFrame>(count);
170
_keyFrames = new
List
< ByteKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< CharKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< CharKeyFrame>(0);
107
_keyFrames = new
List
< CharKeyFrame>(count);
128
_keyFrames = new
List
< CharKeyFrame>(count);
149
_keyFrames = new
List
< CharKeyFrame>(count);
170
_keyFrames = new
List
< CharKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< ColorKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< ColorKeyFrame>(0);
107
_keyFrames = new
List
< ColorKeyFrame>(count);
128
_keyFrames = new
List
< ColorKeyFrame>(count);
149
_keyFrames = new
List
< ColorKeyFrame>(count);
170
_keyFrames = new
List
< ColorKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< DecimalKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< DecimalKeyFrame>(0);
107
_keyFrames = new
List
< DecimalKeyFrame>(count);
128
_keyFrames = new
List
< DecimalKeyFrame>(count);
149
_keyFrames = new
List
< DecimalKeyFrame>(count);
170
_keyFrames = new
List
< DecimalKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< DoubleKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< DoubleKeyFrame>(0);
107
_keyFrames = new
List
< DoubleKeyFrame>(count);
128
_keyFrames = new
List
< DoubleKeyFrame>(count);
149
_keyFrames = new
List
< DoubleKeyFrame>(count);
170
_keyFrames = new
List
< DoubleKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Int16KeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Int16KeyFrame>(0);
107
_keyFrames = new
List
< Int16KeyFrame>(count);
128
_keyFrames = new
List
< Int16KeyFrame>(count);
149
_keyFrames = new
List
< Int16KeyFrame>(count);
170
_keyFrames = new
List
< Int16KeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Int32KeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Int32KeyFrame>(0);
107
_keyFrames = new
List
< Int32KeyFrame>(count);
128
_keyFrames = new
List
< Int32KeyFrame>(count);
149
_keyFrames = new
List
< Int32KeyFrame>(count);
170
_keyFrames = new
List
< Int32KeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Int64KeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Int64KeyFrame>(0);
107
_keyFrames = new
List
< Int64KeyFrame>(count);
128
_keyFrames = new
List
< Int64KeyFrame>(count);
149
_keyFrames = new
List
< Int64KeyFrame>(count);
170
_keyFrames = new
List
< Int64KeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< MatrixKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< MatrixKeyFrame>(0);
107
_keyFrames = new
List
< MatrixKeyFrame>(count);
128
_keyFrames = new
List
< MatrixKeyFrame>(count);
149
_keyFrames = new
List
< MatrixKeyFrame>(count);
170
_keyFrames = new
List
< MatrixKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< ObjectKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< ObjectKeyFrame>(0);
107
_keyFrames = new
List
< ObjectKeyFrame>(count);
128
_keyFrames = new
List
< ObjectKeyFrame>(count);
149
_keyFrames = new
List
< ObjectKeyFrame>(count);
170
_keyFrames = new
List
< ObjectKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Point3DKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Point3DKeyFrame>(0);
107
_keyFrames = new
List
< Point3DKeyFrame>(count);
128
_keyFrames = new
List
< Point3DKeyFrame>(count);
149
_keyFrames = new
List
< Point3DKeyFrame>(count);
170
_keyFrames = new
List
< Point3DKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< PointKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< PointKeyFrame>(0);
107
_keyFrames = new
List
< PointKeyFrame>(count);
128
_keyFrames = new
List
< PointKeyFrame>(count);
149
_keyFrames = new
List
< PointKeyFrame>(count);
170
_keyFrames = new
List
< PointKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< QuaternionKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< QuaternionKeyFrame>(0);
107
_keyFrames = new
List
< QuaternionKeyFrame>(count);
128
_keyFrames = new
List
< QuaternionKeyFrame>(count);
149
_keyFrames = new
List
< QuaternionKeyFrame>(count);
170
_keyFrames = new
List
< QuaternionKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< RectKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< RectKeyFrame>(0);
107
_keyFrames = new
List
< RectKeyFrame>(count);
128
_keyFrames = new
List
< RectKeyFrame>(count);
149
_keyFrames = new
List
< RectKeyFrame>(count);
170
_keyFrames = new
List
< RectKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Rotation3DKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Rotation3DKeyFrame>(0);
107
_keyFrames = new
List
< Rotation3DKeyFrame>(count);
128
_keyFrames = new
List
< Rotation3DKeyFrame>(count);
149
_keyFrames = new
List
< Rotation3DKeyFrame>(count);
170
_keyFrames = new
List
< Rotation3DKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< SingleKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< SingleKeyFrame>(0);
107
_keyFrames = new
List
< SingleKeyFrame>(count);
128
_keyFrames = new
List
< SingleKeyFrame>(count);
149
_keyFrames = new
List
< SingleKeyFrame>(count);
170
_keyFrames = new
List
< SingleKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< SizeKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< SizeKeyFrame>(0);
107
_keyFrames = new
List
< SizeKeyFrame>(count);
128
_keyFrames = new
List
< SizeKeyFrame>(count);
149
_keyFrames = new
List
< SizeKeyFrame>(count);
170
_keyFrames = new
List
< SizeKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< StringKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< StringKeyFrame>(0);
107
_keyFrames = new
List
< StringKeyFrame>(count);
128
_keyFrames = new
List
< StringKeyFrame>(count);
149
_keyFrames = new
List
< StringKeyFrame>(count);
170
_keyFrames = new
List
< StringKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< Vector3DKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< Vector3DKeyFrame>(0);
107
_keyFrames = new
List
< Vector3DKeyFrame>(count);
128
_keyFrames = new
List
< Vector3DKeyFrame>(count);
149
_keyFrames = new
List
< Vector3DKeyFrame>(count);
170
_keyFrames = new
List
< Vector3DKeyFrame>(count);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< VectorKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< VectorKeyFrame>(0);
107
_keyFrames = new
List
< VectorKeyFrame>(count);
128
_keyFrames = new
List
< VectorKeyFrame>(count);
149
_keyFrames = new
List
< VectorKeyFrame>(count);
170
_keyFrames = new
List
< VectorKeyFrame>(count);
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
467
colorContextsList = new
List
<ColorContext>((int)numContexts);
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (2)
491
list = new
List
<T?>(maxIndex);
518
_samplerData = new
List
<SamplerData?>(maxIndex);
Core\CSharp\System\Windows\Media\FamilyMap.cs (1)
248
List<Range> ranges = new
List
<Range>(3);
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1735
_frames = new
List
<BitmapFrame>((int)numFrames);
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (3)
346
_frames = new
List
<BitmapFrame>(0);
912
private IList<SafeMILHandle> _frameHandles = new
List
<SafeMILHandle>(0);
913
private IList<SafeMILHandle> _writeSourceHandles = new
List
<SafeMILHandle>(0);
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
226
_frames = new
List
<BitmapFrame>((int)1);
Core\CSharp\System\Windows\Media\PathGeometry.cs (1)
284
List<Point> points = new
List
<Point>((int)pSegmentPoly->Count);
Core\CSharp\System\Windows\Media\TextFormatting\TextCharacters.cs (1)
274
IList<TextShapeableSymbols> shapeables = new
List
<TextShapeableSymbols>(2);
Core\CSharp\System\Windows\UIElement.cs (2)
4717
internal static List<double> DpiScaleXValues = new
List
<double>(3);
4718
internal static List<double> DpiScaleYValues = new
List
<double>(3);
Graphics\include\exports.cs (2)
1273
_others = new
List
<Entry>(2); // by default we have two entries in the extra storage.
1508
List<Entry> others = new
List
<Entry>(2); // by default we have two entries in the extra storage.
PresentationFramework (204)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
248
List<ContentLocatorPart> res = new
List
<ContentLocatorPart>(1);
684
IList<PointSegment> _segments = new
List
<PointSegment>(1);
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (4)
404
returnLocators = new
List
<ContentLocatorBase>(0);
766
List<ContentLocatorBase> tempLocators = new
List
<ContentLocatorBase>(locatorsToReturn.Count * locatorParts.Count);
968
locators = new
List
<ContentLocator> (1);
1257
List<ContentLocatorBase> res = new
List
<ContentLocatorBase>(1);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
453
res = new
List
<ITextView>(1);
467
res = new
List
<ITextView>(0);
506
res = new
List
<ITextView>(1);
543
res = new
List
<ITextView>(endPageNumber - startPageNumber + 1);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
184
List<ContentLocatorPart> res = new
List
<ContentLocatorPart>(1);
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
146
res = new
List
<ContentLocatorPart>(1);
src\Framework\MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (1)
162
return new
List
<ContentLocatorPart>(0);
src\Framework\MS\Internal\Annotations\AnnotationMap.cs (3)
39
list = new
List
<IAttachedAnnotation>(1);
100
List<IAttachedAnnotation> result = new
List
<IAttachedAnnotation>(_annotationIdToAttachedAnnotations.Keys.Count);
121
private static readonly List<IAttachedAnnotation> _emptyList = new
List
<IAttachedAnnotation>(0);
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (5)
627
List<IHighlightRange> list = new
List
<IHighlightRange>(1);
644
_owners = new
List
<IHighlightRange>(owners.Count);
790
res = new
List
<HighlightSegment>(1);
796
res = new
List
<HighlightSegment>(2);
1228
private List<TextSegment> _contentSegments = new
List
<TextSegment>(1);
src\Framework\MS\Internal\Annotations\TextAnchor.cs (2)
604
List<TextSegment> orderedList = new
List
<TextSegment>(textSegments.Count);
757
private List<TextSegment> _segments = new
List
<TextSegment>(1);
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (1)
343
List<GroupTreeNode> list = new
List
<GroupTreeNode>(parentGroups.Count + 1);
src\Framework\MS\Internal\Data\LiveShapingItem.cs (1)
192
list = new
List
<CollectionViewGroupInternal>(2);
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
941
List<AsyncRequest> _asyncRequests = new
List
<AsyncRequest>(0);
src\Framework\MS\Internal\Documents\PageCache.cs (6)
50
_cache = new
List
<PageCacheEntry>(_defaultCacheSize);
379
List<PageCacheChange> changes = new
List
<PageCacheChange>(2);
543
List<PageCacheChange> changes = new
List
<PageCacheChange>(1);
631
List<PageCacheChange> changes = new
List
<PageCacheChange>(2);
726
List<PageCacheChange> changes = new
List
<PageCacheChange>(PageCount);
880
List<PageCacheChange> changes = new
List
<PageCacheChange>(1);
src\Framework\MS\Internal\Documents\RowCache.cs (5)
44
_rowCache = new
List
<RowInfo>(_defaultRowCacheSize);
502
List<RowCacheChange> changes = new
List
<RowCacheChange>(1);
600
List<RowCacheChange> changes = new
List
<RowCacheChange>(1);
708
List<RowInfo> tempRows = new
List
<RowInfo>(pivotPage / columns);
1243
List<RowCacheChange> changes = new
List
<RowCacheChange>(args.Changes.Count);
src\Framework\MS\Internal\Documents\TextBoxView.cs (4)
420
_lineMetrics = new
List
<LineRecord>(1);
1306
List<TextSegment> segments = new
List
<TextSegment>(1);
1829
_visualChildren = new
List
<TextBoxLineDrawingVisual>(1) ;
2683
_viewportLineVisuals = new
List
<TextBoxLineDrawingVisual>(count);
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (2)
98
segments = new
List
<TextSegment>(1);
106
segments = new
List
<TextSegment>(_size);
src\Framework\MS\Internal\Documents\TextDocumentView.cs (2)
3301
List<TextSegment> segments = new
List
<TextSegment>(1);
3573
private static ReadOnlyCollection<ParagraphResult> _emptyParagraphCollection = new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
510
List<TextSegment> segments = new
List
<TextSegment>(1);
src\Framework\MS\Internal\Documents\UndoManager.cs (3)
84
_undoStack = new
List
<IUndoUnit>(4);
739
List<IUndoUnit> undoStack = new
List
<IUndoUnit>(UndoCount);
791
List<IUndoUnit> undoStack = new
List
<IUndoUnit>(UndoLimit);
src\Framework\MS\Internal\Globalization\BamlResourceContent.cs (1)
142
List<BamlStringToken> tokens = new
List
<BamlStringToken>(8);
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (3)
50
_nodeList = new
List
<BamlTreeNode>(size);
77
List<BamlTreeNode> newNodeList = new
List
<BamlTreeNode>(Size);
109
parent.Children = new
List
<BamlTreeNode>(children.Count);
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
434
IList<BamlTreeNode> list = new
List
<BamlTreeNode>(4);
src\Framework\MS\Internal\Globalization\LocalizationComments.cs (1)
96
List<PropertyComment> tokens = new
List
<PropertyComment>(8);
src\Framework\MS\Internal\Helper.cs (1)
881
itemValues = new
List
<KeyValuePair<int, object>>(3); // So far the only use of this is to store three values.
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
428
List<UIElement> children = new
List
<UIElement>(rootInkCanvas.Children.Count);
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
319
_lasso = new
List
<Point>(100);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
393
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
400
List<ParagraphResult> paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (10)
647
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
654
paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
673
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
687
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
694
paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
727
List<ColumnResult> columnResults = new
List
<ColumnResult>(0);
749
columnResults = new
List
<ColumnResult>(1);
769
columnResults = new
List
<ColumnResult>(1);
822
ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
860
List<ParagraphResult> floatingElements = new
List
<ParagraphResult>(0);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (10)
653
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
660
paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
679
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
693
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
700
paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
733
List<ColumnResult> columnResults = new
List
<ColumnResult>(0);
755
columnResults = new
List
<ColumnResult>(1);
775
columnResults = new
List
<ColumnResult>(1);
828
ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
866
List<ParagraphResult> floatingElements = new
List
<ParagraphResult>(0);
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (8)
345
List<Rect> transformedRectangles = new
List
<Rect>(rectangles.Count);
380
return new HostedElements(new ReadOnlyCollection<TextSegment>(new
List
<TextSegment>(0)));
390
List<ParagraphResult> floatingElements = new
List
<ParagraphResult>(0);
431
List<ColumnResult> columnResults = new
List
<ColumnResult>(0);
461
columnResults = new
List
<ColumnResult>(1);
505
columnResults = new
List
<ColumnResult>(sectionDetails.u.withpagenotes.cBasicColumns);
604
return new ReadOnlyCollection<ParagraphResult>(new
List
<ParagraphResult>(0));
610
List<ParagraphResult> paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
src\Framework\MS\Internal\PtsHost\Line.cs (1)
304
List<InlineObject> inlineObjects = new
List
<InlineObject>(1);
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
137
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
src\Framework\MS\Internal\PtsHost\PtsCache.cs (1)
167
_contextPool = new
List
<ContextDesc>(1);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
560
List<Rect> offsetRectangles = new
List
<Rect>(rectangleList.Count);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (5)
610
List<ColumnResult> columnResults = new
List
<ColumnResult>(0);
632
columnResults = new
List
<ColumnResult>(1);
651
columnResults = new
List
<ColumnResult>(subpageDetails.u.complex.cBasicColumns);
695
List<ParagraphResult> paragraphResults = new
List
<ParagraphResult>(arrayParaDesc.Length);
771
List<ParagraphResult> floatingElements = new
List
<ParagraphResult>(0);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
752
List<ParagraphResult> rowParagraphResults = new
List
<ParagraphResult>(0);
801
List<ParagraphResult> cellParagraphResults = new
List
<ParagraphResult>(0);
851
List<ParagraphResult> listResults = new
List
<ParagraphResult>(0);
872
List<ParagraphResult> listResults = new
List
<ParagraphResult>(0);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
399
ReadOnlyCollection<LineResult> lines = new ReadOnlyCollection<LineResult>(new
List
<LineResult>(0));
462
floaters = new
List
<ParagraphResult>(arrayAttachedObjectDesc.Length);
506
figures = new
List
<ParagraphResult>(arrayAttachedObjectDesc.Length);
1721
List<LineResult> lines = new
List
<LineResult>(arrayLineDesc.Length);
1780
List<LineResult> lines = new
List
<LineResult>(arrayLineDesc.Length);
2316
rectangles = new
List
<Rect>(1);
2427
rectangles = new
List
<Rect>(1);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
1095
objects = new
List
<InlineObject>(_inlineObjects.Count);
1571
objectsCached = new
List
<T>(objectsNew.Count);
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
466
return new HostedElements(new ReadOnlyCollection<TextSegment>(new
List
<TextSegment>(0)));
482
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
798
List<IAttachedAnnotation> attachedAnnotations = new
List
<IAttachedAnnotation>(annotations.Count);
src\Framework\System\Windows\Annotations\AnnotationService.cs (6)
853
List<IAttachedAnnotation> leftover = new
List
<IAttachedAnnotation>(annotations.Count);
915
List<AttachedAnnotationChangedEventArgs> eventsToFire = new
List
<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count);
970
List<AttachedAnnotationChangedEventArgs> eventsToFire = new
List
<AttachedAnnotationChangedEventArgs>(attachedAnnotations.Count);
1344
List<AttachedAnnotationChangedEventArgs> eventsToFire = new
List
<AttachedAnnotationChangedEventArgs>(annotation.Anchors.Count);
1376
List<AttachedAnnotationChangedEventArgs> eventsToFire = new
List
<AttachedAnnotationChangedEventArgs>(list.Length);
1541
list = new
List
<IAttachedAnnotation>(1);
src\Framework\System\Windows\Annotations\LocatorGroup.cs (1)
240
List<ContentLocatorBase> tempList = new
List
<ContentLocatorBase>(locatorGroup.Locators.Count * (this.Locators.Count - 1));
src\Framework\System\Windows\Annotations\LocatorPartList.cs (2)
393
results = new
List
<ContentLocatorBase>(1);
398
results = new
List
<ContentLocatorBase>(additionalLocatorParts.Count);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
594
retObj = new
List
<Guid>(iterator.Count);
617
retObj = new
List
<Guid>(0);
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
60
children = new
List
<AutomationPeer>(1);
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (2)
551
List<IRawElementProviderSimple> providers = new
List
<IRawElementProviderSimple>(1);
573
List<IRawElementProviderSimple> providers = new
List
<IRawElementProviderSimple>(1);
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
82
children = new
List
<AutomationPeer>(childItems.Count);
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
443
children = new
List
<AutomationPeer>(childItems.Count);
src\Framework\System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
61
List<AutomationPeer> children = new
List
<AutomationPeer>(3);
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
141
List<IRawElementProviderSimple> array = new
List
<IRawElementProviderSimple>(_owner.HeaderRowPresenter.ActualColumnHeaders.Count);
src\Framework\System\Windows\Automation\Peers\GridViewHeaderRowPresenterAutomationPeer.cs (1)
55
newList = new
List
<AutomationPeer>(list.Count);
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
135
List<AutomationPeer> children = new
List
<AutomationPeer>(childItems.Count);
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
86
children = new
List
<AutomationPeer>(childItems.Count);
153
children = new
List
<AutomationPeer>(childItems.Count);
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
160
children = new
List
<AutomationPeer>(items.Count);
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (1)
101
List<IRawElementProviderSimple> selectedProviders = new
List
<IRawElementProviderSimple>(count);
src\Framework\System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (1)
80
children = new
List
<AutomationPeer>(items.Count);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1966
_realizedChildren = new
List
<UIElement>(children.Count);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
28
DisplayIndexMap = new
List
<int>(5);
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1266
pageViews = new ReadOnlyCollection<DocumentPageView>(new
List
<DocumentPageView>(0));
src\Framework\System\Windows\Controls\Frame.cs (1)
1419
_commandBindings = new
List
<CommandBinding>(6);
src\Framework\System\Windows\Controls\Panel.cs (1)
1019
stableKeyValues = new System.Collections.Generic.
List
<Int64>(count);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
452
pageViewList = new
List
<DocumentPageView>(1/* simplest case has just one element */);
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
195
DesiredWidthList = new
List
<double>(count);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (2)
2016
List<int> knownIndices = new
List
<int>(_selectedItems.Count);
2728
_list = new
List
<ItemInfo>(capacity);
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
360
_generatedItemsCollection = new
List
<UIElement>(children.Count);
src\Framework\System\Windows\Controls\TextBlock.cs (8)
1384
_subsequentLines = new
List
<LineMetrics>(subsequentLinesInitialSize);
1838
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
1848
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
1855
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
1871
return new ReadOnlyCollection<Rect>(new
List
<Rect>(0));
1959
return new HostedElements(new ReadOnlyCollection<TextSegment>(new
List
<TextSegment>(0)));
1963
System.Collections.Generic.List<TextSegment> textSegmentsList = new System.Collections.Generic.
List
<TextSegment>(1);
2147
List<LineResult> lines = new
List
<LineResult>(lineCount);
src\Framework\System\Windows\Controls\TextSearch.cs (1)
701
_charsEntered = new
List
<string>(10);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
993
private List<BandInfo> _bands = new
List
<BandInfo>(0);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
5596
offsetList = new
List
<Double>(2);
9045
_realizedChildren = new
List
<UIElement>(children.Count);
9315
List<String> list = new
List
<String>(count);
9335
List<String> list = new
List
<String>(count);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
739
List<TextSegment> rangeArray = new
List
<TextSegment>(4);
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
578
List<TextSegment> parentSegments = new
List
<TextSegment>(childSegments.Count);
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
741
List<TextSegment> list = new
List
<TextSegment>(1);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
554
parsedGlyphs = new
List
<ParsedGlyphData>(estimatedNumberOfGlyphs);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
206
list = new
List
<TextSegment>(1);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1810
thisRange._TextSegments = new
List
<TextSegment>(1);
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (2)
344
List<TextSegment> cellRange = new
List
<TextSegment>(lastRowIndex - firstRowIndex + 1);
380
List<TextSegment> textSegments = new
List
<TextSegment>(1);
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (3)
343
rangeArray = new
List
<TextSegment>(1);
348
rangeArray = new
List
<TextSegment>(1);
353
rangeArray = new
List
<TextSegment>(2);
src\Framework\System\Windows\FrameworkContextData.cs (1)
94
private List<WalkerEntry> _currentWalkers = new
List
<WalkerEntry>(4);
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
777
noChildIndexChildren = new
List
<DependencyObject>(4);
1060
noChildIndexChildren = new
List
<DependencyObject>(4);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3727
List<WeakReference> _list = new
List
<WeakReference>(1);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1783
staticResourceValuesList = new
List
<object[]>(defKeyList.Capacity);
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
312
_staticResourceRecordList = new
List
<ValueDeferRecord>(5);
1175
_staticResourceRecordList = new
List
<ValueDeferRecord>(1);
1804
_staticResourceRecordList = new
List
<List<ValueDeferRecord>>(1);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3479
namespaceAssemblyPair = new
List
<ClrNamespaceAssemblyPair>(1);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (6)
47
_keyFrames = new
List
< ThicknessKeyFrame>(2);
65
emptyCollection._keyFrames = new
List
< ThicknessKeyFrame>(0);
107
_keyFrames = new
List
< ThicknessKeyFrame>(count);
128
_keyFrames = new
List
< ThicknessKeyFrame>(count);
149
_keyFrames = new
List
< ThicknessKeyFrame>(count);
170
_keyFrames = new
List
< ThicknessKeyFrame>(count);
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
621
clockList = new
List
<AnimationClock>(1);
src\Framework\System\Windows\ResourceDictionary.cs (2)
1855
oldDictionaries = new
List
<ResourceDictionary>(e.OldItems.Count);
1873
newDictionaries = new
List
<ResourceDictionary>(e.NewItems.Count);
src\Framework\System\Windows\ResourcesChangeInfo.cs (2)
50
_oldDictionaries = new
List
<ResourceDictionary>(1);
57
_newDictionaries = new
List
<ResourceDictionary>(1);
src\Framework\System\Windows\Shell\JumpList.cs (6)
609
successList = new
List
<JumpItem>(JumpItems.Count);
612
rejectedList = new
List
<_RejectedJumpItemPair>(JumpItems.Count);
759
var items = new
List
<JumpItem>(rejectedList.Count);
760
var reasons = new
List
<JumpItemRejectionReason>(rejectedList.Count);
773
var items = new
List
<JumpItem>(removedList.Count);
1254
var reasons = new
List
<JumpItemRejectionReason>(_jumpItems.Count);
src\Framework\System\Windows\StyleHelper.cs (4)
1795
List<DependencyObject> affectedChildren = new
List
<DependencyObject>(lastChildIndex);
1854
List<DependencyObject> affectedChildren = new
List
<DependencyObject>(lastChildIndex);
3560
dictionaries = new
List
<ResourceDictionary>(1);
3586
List<ResourceDictionary> table = new
List
<ResourceDictionary>(1);
src\Framework\System\Windows\TriggerActionCollection.cs (1)
40
_rawList = new
List
<TriggerAction>(initialSize);
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
323
_freezableCache = new
List
<Freezable>(size);
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
323
_freezableCache = new
List
<Freezable>(size);
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
323
_freezableCache = new
List
<Freezable>(size);
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
323
_freezableCache = new
List
<Freezable>(size);
System (21)
compmod\system\collections\generic\sortedset.cs (3)
1177
List<T> toSave = new
List
<T>(this.Count);
1643
List<T> matches = new
List
<T>(this.Count);
1983
List<T> toSave = new
List
<T>(this.Count);
compmod\system\collections\objectmodel\observablecollection.cs (1)
61
: base((list != null) ? new
List
<T>(list.Count) : list)
compmod\system\diagnostics\Switch.cs (1)
70
List<WeakReference> buffer = new
List
<WeakReference>(switches.Count);
compmod\system\diagnostics\TraceSource.cs (1)
54
List<WeakReference> buffer = new
List
<WeakReference>(tracesources.Count);
net\System\Net\_Connection.cs (2)
103
m_Context = new
List
<RequestContext>(5);
108
m_Context = new
List
<RequestContext>(capacity);
net\System\Net\_NTAuthentication.cs (3)
672
List<SecurityBuffer> list = new
List
<SecurityBuffer>(2);
804
List<SecurityBuffer> list = new
List
<SecurityBuffer>(5);
852
List<SecurityBuffer> list = new
List
<SecurityBuffer>(6);
net\System\Net\Configuration\AuthenticationModulesSection.cs (1)
113
retval = new
List
<Type>(0);
net\System\Net\SecureProtocols\_SslStream.cs (1)
488
arrayList = new
List
<BufferOffsetSize>(buffers.Length * (buffer.Size/chunkBytes+1));
net\System\Net\WebSockets\WebSocketBase.cs (1)
1801
List<ArraySegment<byte>> sendBuffers = new
List
<ArraySegment<byte>>((int)dataBufferCount);
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
51
m_NotGen2 = new
List
<object>(DefaultNumberOfBuffers);
regex\system\text\regularexpressions\RegexCharClass.cs (2)
509
_rangelist = new
List
<SingleRange>(6);
1011
List<SingleRange> ranges = new
List
<SingleRange>(mySetLength);
regex\system\text\regularexpressions\RegexNode.cs (1)
557
_children = new
List
<RegexNode>(4);
services\monitoring\system\diagnosticts\EventLog.cs (1)
1019
List<EventLog> logs = new
List
<EventLog>(logNames.Length);
sys\system\collections\concurrent\BlockingCollection.cs (2)
1101
List<WaitHandle> handlesList = new
List
<WaitHandle>(collections.Length + 1); // + 1 for the external token handle to be added
1102
List<CancellationToken> tokensList = new
List
<CancellationToken>(collections.Length + 1); // + 1 for the external token
System.Activities (86)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (14)
768
arguments = new
List
<Expression>(tmpArguments.Count);
802
List<ElementInit> initializers = new
List
<ElementInit>(tmpInitializers.Count);
807
arguments = new
List
<Expression>(tmpArguments.Count);
911
List<MemberBinding> bindings = new
List
<MemberBinding>(tmpMemberBindings.Count);
936
List<Expression> indexes = new
List
<Expression>(tmpArguments.Count);
974
arguments = new
List
<Expression>(tmpArguments.Count);
992
List<Expression> arrayInitializers = new
List
<Expression>(tmpExpressions.Count);
1009
List<Expression> bounds = new
List
<Expression>(tmpExpressions.Count);
1035
arguments = new
List
<Expression>(tmpArguments.Count);
1091
List<ParameterExpression> parameterList = new
List
<ParameterExpression>(tmpVariables.Count);
1103
List<Expression> expressionList = new
List
<Expression>(tmpExpressions.Count);
1162
initializers = new
List
<ElementInit>(tmpInitializers.Count);
1170
arguments = new
List
<Expression>(tmpArguments.Count);
1191
List<MemberBinding> bindings = new
List
<MemberBinding>(tmpBindings.Count);
System\Activities\Activity.cs (5)
32
static readonly IList<Activity> emptyChildren = new
List
<Activity>(0);
33
static readonly IList<Variable> emptyVariables = new
List
<Variable>(0);
34
static readonly IList<RuntimeArgument> emptyArguments = new
List
<RuntimeArgument>(0);
35
static readonly IList<ActivityDelegate> emptyDelegates = new
List
<ActivityDelegate>(0);
1676
List<string> overloadGroupNames = new
List
<string>(0);
System\Activities\ActivityAction.cs (17)
12
static readonly IList<RuntimeDelegateArgument> EmptyDelegateParameters = new
List
<RuntimeDelegateArgument>(0);
39
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(1)
69
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(2)
107
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(3)
153
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(4)
207
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(5)
269
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(6)
340
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(7)
418
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(8)
504
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(9)
598
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(10)
700
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(11)
810
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(12)
928
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(13)
1054
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(14)
1188
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(15)
1330
IList<RuntimeDelegateArgument> result = new
List
<RuntimeDelegateArgument>(16)
System\Activities\ActivityFunc.cs (17)
30
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(1)
66
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(2)
109
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(3)
160
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(4)
219
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(5)
286
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(6)
361
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(7)
444
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(8)
535
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(9)
634
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(10)
741
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(11)
856
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(12)
979
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(13)
1110
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(14)
1249
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(15)
1396
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(16)
1551
IList<RuntimeDelegateArgument> parameters = new
List
<RuntimeDelegateArgument>(17)
System\Activities\ActivityUtilities.cs (2)
87
collectionInterfaces = new
List
<Type>(2)
1223
this.multipleItems = new
List
<ActivityInstance>(2);
System\Activities\Debugger\DebugInfo.cs (1)
301
List<RuntimeArgument> cleanUpList = new
List
<RuntimeArgument>(ancestorArguments.Count);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
55
this.Symbols = new
List
<ActivitySymbol>(numSymbols);
System\Activities\DurableInstancing\ActivatableWorkflowsQueryResult.cs (2)
23
ActivationParameters = new
List
<IDictionary<XName, object>>(0);
36
ActivationParameters = new
List
<IDictionary<XName, object>>(0);
System\Activities\DynamicActivityTypeDescriptor.cs (1)
111
List<PropertyDescriptor> propertyDescriptors = new
List
<PropertyDescriptor>(this.Properties.Count + 2);
System\Activities\ExpressionUtilities.cs (3)
1211
temporaryBindings = new
List
<MemberBinding>(bindings.Count);
1305
temporaryExpressions = new
List
<Expression>(expressions.Count);
1349
temporaryInitializers = new
List
<ElementInit>(initializers.Count);
System\Activities\Hosting\SymbolResolver.cs (1)
42
List<object> values = new
List
<object>(this.symbols.Count);
System\Activities\Hosting\WorkflowInstanceExtensionCollection.cs (1)
135
this.instanceExtensions = new
List
<KeyValuePair<WorkflowInstanceExtensionProvider, object>>(extensionProviderCount);
System\Activities\Hosting\WorkflowInstanceExtensionManager.cs (2)
18
internal static List<KeyValuePair<Type, WorkflowInstanceExtensionProvider>> EmptyExtensionProviders = new
List
<KeyValuePair<Type, WorkflowInstanceExtensionProvider>>(0);
19
internal static List<object> EmptySingletonExtensions = new
List
<object>(0);
System\Activities\HybridCollection.cs (1)
109
this.multipleItems = new
List
<T>(2);
System\Activities\Runtime\ActivityExecutor.cs (1)
527
emptyBookmarkInfoCollection = new ReadOnlyCollection<BookmarkInfo>(new
List
<BookmarkInfo>(0));
System\Activities\Runtime\BookmarkScopeManager.cs (2)
484
this.keysToAssociate = new
List
<InstanceKey>(2);
515
this.keysToDisassociate = new
List
<InstanceKey>(2);
System\Activities\Runtime\ExecutionPropertyManager.cs (2)
306
this.threadProperties = new
List
<ExecutionProperty>(1);
311
List<ExecutionProperty> updatedProperties = new
List
<ExecutionProperty>(this.threadProperties.Count);
System\Activities\RuntimeArgument.cs (1)
129
this.overloadGroupNames = new
List
<string>(0);
System\Activities\Statements\CompensableActivity.cs (1)
202
return new
List
<Constraint>(1) { noCompensableActivityInSecondaryRoot };
System\Activities\Statements\Compensate.cs (1)
89
return new
List
<Constraint>(1) { compensateWithNoTarget };
System\Activities\Statements\CompensationExtension.cs (1)
161
new
List
<object>(6)
System\Activities\Statements\Confirm.cs (1)
97
return new
List
<Constraint>(1) { confirmWithNoTarget };
System\Activities\Statements\Flowchart.cs (1)
205
List<Activity> children = new
List
<Activity>(uniqueChildren.Count);
System\Activities\Tracking\ActivityStateRecord.cs (1)
26
static ReadOnlyCollection<string> wildcardCollection = new ReadOnlyCollection<string>(new
List
<string>(1) { "*" });
System\Activities\Validation\ActivityValidationServices.cs (1)
19
internal static ReadOnlyCollection<ValidationError> EmptyValidationErrors = new ReadOnlyCollection<ValidationError>(new
List
<ValidationError>(0));
System\Activities\Validation\Constraint.cs (1)
71
List<ValidationError> validationErrorList = new
List
<ValidationError>(1);
System\Activities\WorkflowApplication.cs (1)
1184
workflowExecutionProperties = new
List
<Handle>(1)
System\Activities\XamlIntegration\CompiledDataContext.cs (1)
181
IList<Location> temp = new
List
<Location>(locationReferences.Count);
System\Activities\XamlIntegration\CompiledLocation.cs (2)
145
List<Tuple<string, Type>> durableCache = new
List
<Tuple<string, Type>>(this.locationReferences.Count);
162
this.locationReferences = new
List
<LocationReference>(value.Count);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
264
List<ConnectionPoint> allConnectionPoints = new
List
<ConnectionPoint>(6);
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
196
var members = new
List
<MemberInfo>(1);
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\CorrelationKey.cs (1)
68
result = new
List
<CorrelationKey>(keys.Count);
TD.Designer.cs (1)
473
System.Collections.Generic.List<ushort> e2eEvents = new System.Collections.Generic.
List
<ushort>(7);
System.Activities.Presentation (20)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntryCollection.cs (1)
115
_properties = new
List
<ModelPropertyEntry>(subProperties.Count);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
157
existingModelPropertiesForProperty = new
List
<ModelProperty>(expander.ContainerCount);
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
274
objectsOnClipboard = new
List
<object>(modelItemsToCutCopy.Count);
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
307
List<DesignObjectPropertyDescriptor> descriptors = new
List
<DesignObjectPropertyDescriptor>(properties.Length);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
275
List<EditPoint> editPointsToRetain = new
List
<EditPoint>(this.editPoints.Count);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
537
List<DistanceFromPoint> extremitiesList = new
List
<DistanceFromPoint>(4);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
46
this.parents = new
List
<ModelItem>(1);
47
this.sources = new
List
<ModelProperty>(1);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
48
this.parents = new
List
<ModelItem>(1);
49
this.sources = new
List
<ModelProperty>(1);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelServiceImpl.cs (3)
74
List<ModelItem> modelItemsAdded = new
List
<ModelItem>(1);
86
List<ModelItem> modelItemsRemoved = new
List
<ModelItem>(1);
123
List<ModelProperty> propertiesChanged = new
List
<ModelProperty>(1);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
142
List<PropertyDescriptor> newProps = new
List
<PropertyDescriptor>(props.Count);
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
36
undoBuffer = new
List
<UndoUnit>(capacity);
37
redoBuffer = new
List
<UndoUnit>(capacity);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (4)
1432
List<object> itemsToPaste = new
List
<object>(1);
1490
List<object> itemsToPaste = new
List
<object>(1);
1491
List<object> metaData = new
List
<object>(1);
1494
List<FlowNode> flowchartMetaData = new
List
<FlowNode>(1);
System.AddIn (4)
System\Addin\Hosting\AddInStore.cs (1)
1401
List<AddInToken> result = new
List
<AddInToken>(validPipelines.Count);
System\Addin\Hosting\InspectionWorker.cs (1)
128
List<String> potentialFileNames = new
List
<string>(dirsToLookIn.Count * 2);
System\Addin\Hosting\Utils.cs (1)
224
List<String> potentialFileNames = new
List
<string>(dirsToLookIn.Count * 2);
System\Addin\Pipeline\ContractBase.cs (1)
75
List<String> identifiers = new
List
<String>(interfaces.Length);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\Validator.cs (1)
444
List<KeyValuePair<ValidationContext, object>> items = new
List
<KeyValuePair<ValidationContext, object>>(properties.Count);
System.Configuration (2)
System\Configuration\BaseConfigurationRecord.cs (1)
463
indirectLocationInputs.Add(configKey, new
List
<SectionInput>(1));
System\Configuration\SectionRecord.cs (1)
255
inputs = new
List
<SectionInput>(1);
System.Core (21)
Microsoft\Scripting\Ast\BinaryExpression.cs (3)
263
var vars = new
List
<ParameterExpression>(index.Arguments.Count + 2);
264
var exprs = new
List
<Expression>(index.Arguments.Count + 3);
270
var tempArgs = new
List
<Expression>(index.Arguments.Count);
Microsoft\Scripting\Compiler\CompilerScope.cs (1)
180
var indexes = new
List
<long>(vars.Count);
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (2)
581
var initializers = new
List
<ElementInit>(tests);
582
var cases = new
List
<SwitchCase>(node.Cases.Count);
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
181
List<Expression> comma = new
List
<Expression>(count + 1);
System\Diagnostics\Eventing\Reader\EventLogReader.cs (1)
343
list = new
List
<EventLogStatus>(channelNames.Length);
System\Diagnostics\Eventing\Reader\EventLogSession.cs (2)
194
List<string> namesList = new
List
<string>(100);
216
List<string> namesList = new
List
<string>(100);
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
939
List<object> valuesList = new
List
<object>(propCount);
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (5)
175
List<EventLogLink> channelList = new
List
<EventLogLink>(arraySize);
312
levelList = new
List
<EventLevel>(arraySize);
320
opcodeList = new
List
<EventOpcode>(arraySize);
328
keywordList = new
List
<EventKeyword>(arraySize);
336
taskList = new
List
<EventTask>(arraySize);
System\Linq\Expressions\ExpressionVisitor.cs (3)
180
list = new
List
<Expression>(n);
224
list = new
List
<MemberBinding>(n);
248
list = new
List
<ElementInit>(n);
System\Linq\SequenceQuery.cs (2)
231
newArgs = new
List
<Expression>(argList.Count);
260
List<Expression> exprs = new
List
<Expression>(na.Expressions.Count);
System.Data (30)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntryCollection.cs (1)
115
_properties = new
List
<ModelPropertyEntry>(subProperties.Count);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
157
existingModelPropertiesForProperty = new
List
<ModelProperty>(expander.ContainerCount);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
274
objectsOnClipboard = new
List
<object>(modelItemsToCutCopy.Count);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
307
List<DesignObjectPropertyDescriptor> descriptors = new
List
<DesignObjectPropertyDescriptor>(properties.Length);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
275
List<EditPoint> editPointsToRetain = new
List
<EditPoint>(this.editPoints.Count);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
537
List<DistanceFromPoint> extremitiesList = new
List
<DistanceFromPoint>(4);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (2)
46
this.parents = new
List
<ModelItem>(1);
47
this.sources = new
List
<ModelProperty>(1);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
48
this.parents = new
List
<ModelItem>(1);
49
this.sources = new
List
<ModelProperty>(1);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelServiceImpl.cs (3)
74
List<ModelItem> modelItemsAdded = new
List
<ModelItem>(1);
86
List<ModelItem> modelItemsRemoved = new
List
<ModelItem>(1);
123
List<ModelProperty> propertiesChanged = new
List
<ModelProperty>(1);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (1)
142
List<PropertyDescriptor> newProps = new
List
<PropertyDescriptor>(props.Count);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
36
undoBuffer = new
List
<UndoUnit>(capacity);
37
redoBuffer = new
List
<UndoUnit>(capacity);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (4)
1432
List<object> itemsToPaste = new
List
<object>(1);
1490
List<object> itemsToPaste = new
List
<object>(1);
1491
List<object> metaData = new
List
<object>(1);
1494
List<FlowNode> flowchartMetaData = new
List
<FlowNode>(1);
fx\src\data\System\Data\Common\DBConnectionString.cs (1)
386
List<string> newlist = new
List
<string>(a.Length + b.Length);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
634
System.Collections.Generic.List<string> providerNames = new System.Collections.Generic.
List
<string>(table.Rows.Count);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
45
internal TransactedConnectionList(int initialAllocation, SysTx.Transaction tx) :
base
(initialAllocation) {
493
_objectList = new
List
<DbConnectionInternal>(MaxPoolSize);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
565
_sortedColumnMappings = new
List
<_ColumnMapping>(metaDataSet.Length);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1100
fields = new
List
<MSS.SmiExtendedMetaData>(dt.Columns.Count);
1171
fields = new
List
<MSS.SmiExtendedMetaData>(fieldCount);
1276
fields = new
List
<MSS.SmiExtendedMetaData>(fieldCount);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
9095
List<TdsOrderUnique> columnList = new
List
<TdsOrderUnique>(metaData.FieldMetaData.Count);
fx\src\data\System\Data\XMLSchema.cs (1)
2344
List<DataTable> _tableList = new
List
<DataTable>(_ds.Tables.Count);
System.Data.Entity (124)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
2505
List<DbSortClause> newSortOrder = new
List
<DbSortClause>(source.SortOrder.Count + 1);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
547
List<KeyValuePair<string, TypeUsage>> columns = new
List
<KeyValuePair<string, TypeUsage>>(2);
1635
List<TypeUsage> memberTypes = new
List
<TypeUsage>(members.Count);
1654
List<DbRelatedEntityRef> relatedRefs = new
List
<DbRelatedEntityRef>(relationships.Count);
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
68
List<TypeUsage> paramTypes = new
List
<TypeUsage>(function.Parameters.Count);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (6)
203
conditions = new
List
<DbExpression>(discriminatedConstructor.When.Count);
257
List<DbExpression> whens = new
List
<DbExpression>(conditions.Count);
258
List<DbExpression> thens = new
List
<DbExpression>(conditions.Count);
487
List<DbExpression> newWhens = new
List
<DbExpression>(entitySelector.When.Count);
488
List<DbExpression> newThens = new
List
<DbExpression>(entitySelector.Then.Count);
568
List<DbExpression> rewrittenPredicates = new
List
<DbExpression>(caseExpression.When.Count);
System\Data\Common\DataRecordInfo.cs (1)
36
List<FieldMetadata> fieldList = new
List
<FieldMetadata>(members.Count);
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (3)
97
List<TypeUsage> argTypesFlat = new
List
<TypeUsage>(argTypes.Count);
108
List<int[]> ranks = new
List
<int[]>(functionsMetadata.Count);
214
List<TypeUsage> flatOverloadParamList = new
List
<TypeUsage>(flatArgumentList.Count);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (13)
1014
relshipExprList = new
List
<DbRelatedEntityRef>(methodExpr.Relationships.Count);
2535
List<DbExpression> fieldExprs = new
List
<DbExpression>(rowExpr.AliasedExprList.Count);
2627
List<DbExpression> whenExprList = new
List
<DbExpression>(caseExpr.WhenThenExprList.Count);
2628
List<DbExpression> thenExprList = new
List
<DbExpression>(caseExpr.WhenThenExprList.Count);
2879
List<KeyValuePair<string, DbExpression>> projectionItems = new
List
<KeyValuePair<string, DbExpression>>(selectClause.Items.Count);
3422
List<GroupKeyInfo> groupKeys = new
List
<GroupKeyInfo>(groupKeysCount);
3726
List<KeyValuePair<string, DbAggregate>> aggregates = new
List
<KeyValuePair<string, DbAggregate>>(sr.CurrentScopeRegion.GroupAggregateInfos.Count);
4159
List<DbSortClause> sortKeys = new
List
<DbSortClause>(orderByClause.OrderByClauseItem.Count);
4402
List<TypeUsage> argTypes = new
List
<TypeUsage>(2);
4770
List<DbExpression> whenExpr = new
List
<DbExpression>(1);
4772
List<DbExpression> thenExpr = new
List
<DbExpression>(1);
4805
List<DbExpression> whenExpr = new
List
<DbExpression>(1);
4807
List<DbExpression> thenExpr = new
List
<DbExpression>(1);
System\Data\Common\EntitySql\StaticContext.cs (1)
210
_propRefs = new
List
<string>(2);
System\Data\Common\Internal\Materialization\Shaper.cs (1)
265
spannedEntities = new
List
<IEntityWrapper>(1);
System\Data\Common\Internal\Materialization\Translator.cs (5)
903
List<Expression> keyReaders = new
List
<Expression>(entityIdentity.Keys.Length);
1355
List<MemberBinding> result = new
List
<MemberBinding>(columnMap.Properties.Length);
1662
List<TranslatorResult> propertyReaders = new
List
<TranslatorResult>(columnMap.Properties.Length);
1988
List<Expression> setKeyTerms = new
List
<Expression>(keyReaders.Length);
1989
List<Expression> checkKeyTerms = new
List
<Expression>(keyReaders.Length);
System\Data\Common\QueryCache\QueryCacheManager.cs (1)
287
List<QueryCacheKey> cacheKeys = new
List
<QueryCacheKey>(_cacheData.Count);
System\Data\Common\Utils\Boolean\Simplifier.cs (2)
62
List<BoolExpr<T_Identifier>> simplifiedChildren = new
List
<BoolExpr<T_Identifier>>(tree.Children.Count);
80
List<BoolExpr<T_Identifier>> otherChildren = new
List
<BoolExpr<T_Identifier>>(tree.Children.Count);
System\Data\EntityClient\EntityCommandDefinition.cs (2)
79
_mappedCommandDefinitions = new
List
<DbCommandDefinition>(mappedCommandList.Count);
117
_mappedCommandDefinitions = new
List
<DbCommandDefinition>(1) { storeCommandDefinition };
System\Data\EntityModel\SchemaObjectModel\ItemType.cs (1)
27
private static List<PropertyRefElement> EmptyKeyProperties = new
List
<PropertyRefElement>(0);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
57
private static IList<string> _emptyPathList = new
List
<string>(0).AsReadOnly();
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
73
IList<Schema> schemaCollection = new
List
<Schema>(1);
System\Data\Mapping\FunctionImportMapping.cs (1)
111
var columnMappings = new
List
<FunctionImportEntityTypeMappingCondition>(this.DiscriminatorColumns.Count);
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
317
List<DbExpression> structuralTypeMappingViews = new
List
<DbExpression>(m_structuralTypeMappings.Count);
362
var constructorArgs = new
List
<DbExpression>(properties.Count);
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (3)
47
m_inputIdentifiers = new
List
<KeyValuePair<int ,DbSetClause>>(capacity);
229
List<DbModificationClause> result = new
List
<DbModificationClause>(originalClauses.Count);
286
List<IEntityStateEntry> stateEntries = new
List
<IEntityStateEntry>(2);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
148
m_inputIdentifiers = new
List
<KeyValuePair<int, DbParameter>>(initialSize);
176
m_resultColumns = new
List
<KeyValuePair<string, PropagatorResult>>(initializeSize);
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
452
_nodeIds = new
List
<int>(2);
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (1)
113
List<UpdateCommand> commands = new
List
<UpdateCommand>(deleteResults.Count + insertResults.Count);
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
332
List<DbModificationClause> result = new
List
<DbModificationClause>(setClauses.Count);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
691
List<EdmProperty> properties = new
List
<EdmProperty>(functionMapping.ResultBindings.Count);
System\Data\Mapping\ViewGeneration\CellTreeSimplifier.cs (2)
180
List<OpCellTreeNode> newChildren = new
List
<OpCellTreeNode>(children.Count);
185
List<LeafCellTreeNode> newGrandChildren = new
List
<LeafCellTreeNode>(child.Children.Count);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (3)
461
List<MemberPath> prefixes = new
List
<MemberPath>(1);
463
List<ExtentKey> keys = new
List
<ExtentKey>(1);
728
m_boolExprs = new
List
<BoolExpression>(numBoolVars);
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (2)
689
childPaths = new
List
<MemberPath>(childSlotNums.Count);
713
parentPaths = new
List
<MemberPath>(parentSlotNums.Count);
System\Data\Metadata\Edm\EntityType.cs (1)
187
List<EdmProperty> keyProperties = new
List
<EdmProperty>(KeyMembers.Count);
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (1)
151
List<TDerived> list = new
List
<TDerived>(collection.Count);
System\Data\Metadata\Edm\ItemCollection.cs (1)
359
List<EdmFunction> caseSensitiveFunctionOverloads = new
List
<EdmFunction>(functionOverloads.Count);
System\Data\Metadata\Edm\MetadataCollection.cs (1)
698
this.OrderedList = new
List
<T>(original.OrderedList.Count + additionalCapacity);
System\Data\Metadata\Edm\NavigationProperty.cs (1)
156
var dependantProperties = new
List
<EdmProperty>(keyMembers.Count);
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
288
List<IEntityWrapper> tempEntities = new
List
<IEntityWrapper>(collection.CountInternal);
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (3)
213
list = new
List
<Expression>(n);
268
list = new
List
<MemberBinding>(n);
293
list = new
List
<ElementInit>(n);
System\Data\Objects\ELinq\ExpressionConverter.cs (3)
1472
List<TypeUsage> translatedArgumentTypes = new
List
<TypeUsage>(translatedArguments.Length);
1574
List<DbExpression> propertyValues = new
List
<DbExpression>(columns.Count);
1575
List<EdmProperty> properties = new
List
<EdmProperty>(columns.Count);
System\Data\Objects\ELinq\MethodCallTranslator.cs (8)
864
List<LinqExpression> arguments = new
List
<LinqExpression>(call.Arguments.Count + 1);
1777
List<DbExpression> arguments = new
List
<DbExpression>(1);
1823
List<TypeUsage> argTypes = new
List
<TypeUsage>(1);
2335
List<CqtExpression> whenExpressions = new
List
<CqtExpression>(1);
2338
List<CqtExpression> thenExpressions = new
List
<CqtExpression>(1);
2788
List<EdmProperty> properties = new
List
<EdmProperty>(2);
2885
List<KeyValuePair<string, CqtExpression>> recordColumns = new
List
<KeyValuePair<string, CqtExpression>>(2);
2987
List<DbSortClause> keys = new
List
<DbSortClause>(1);
System\Data\Objects\ELinq\Translator.cs (7)
369
new
List
<KeyValuePair<string, DbExpression>>(2);
722
new
List
<KeyValuePair<string, DbExpression>>(memberCount + 1);
825
new
List
<KeyValuePair<string, DbExpression>>(linq.Bindings.Count + 1);
873
List<DbExpression> whenExpressions = new
List
<DbExpression>(1);
875
List<DbExpression> thenExpressions = new
List
<DbExpression>(1);
937
List<DbExpression> whenExpressions = new
List
<DbExpression>(1);
939
List<DbExpression> thenExpressions = new
List
<DbExpression>(1);
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
619
private List<FieldBuilder> _serializedFields = new
List
<FieldBuilder>(3);
System\Data\Objects\Internal\EntitySqlQueryState.cs (1)
235
parameters = new
List
<DbParameterReferenceExpression>(this.Parameters.Count);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (4)
408
List<DbExpression> columnArguments = new
List
<DbExpression>(rowType.Properties.Count);
409
List<EdmProperty> properties = new
List
<EdmProperty>(rowType.Properties.Count);
531
List<DbVariableReferenceExpression> formals = new
List
<DbVariableReferenceExpression>(1);
534
List<DbExpression> args = new
List
<DbExpression>(1);
System\Data\Objects\ObjectStateManager.cs (6)
1111
List<RelationshipEntry> deletedRelationships = new
List
<RelationshipEntry>(_initialListSize);
1195
entriesToUpdate = new
List
<RelationshipEntry>(_initialListSize);
1226
entriesToDetach = new
List
<RelationshipEntry>(_initialListSize);
1240
entriesToDetach = new
List
<RelationshipEntry>(_initialListSize);
1249
entriesToDetach = new
List
<RelationshipEntry>(_initialListSize);
1938
entries = new
List
<EntityEntry>(GetMaxEntityEntriesForDetectChanges());
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
65
_bindingList = new
List
<TViewElement>(entityCollection.Count);
System\Data\Query\PlanCompiler\AggregatePushdown.cs (1)
572
List<Node> newChildren = new
List
<Node>(n.Children.Count);
System\Data\Query\PlanCompiler\ITreeGenerator.cs (6)
132
List<Node> sources = new
List
<Node>(1);
135
List<Node> copies = new
List
<Node>(1);
530
List<Node> arguments = new
List
<Node>((expr.ExpressionKind == DbExpressionKind.IsNull) ? 3 : 5);
1065
List<Node> argNodes = new
List
<Node>(e.Arguments.Count);
1088
var argNodes = new
List
<Tuple<Node, bool>>(arguments.Count);
2217
List<Node> newArgs = new
List
<Node>(_discriminatorMap.PropertyMap.Count + 1);
System\Data\Query\PlanCompiler\JoinGraph.cs (3)
1097
List<KeyValuePair<ColumnVar, ColumnVar>> edgeVars = new
List
<KeyValuePair<ColumnVar, ColumnVar>>(keyVars.Count);
1142
List<JoinEdge> newJoinEdges = new
List
<JoinEdge>(augmentedJoinNode.JoinEdges.Count);
2057
childForeignKeyVars = new
List
<ColumnVar>(fkConstraint.ChildKeys.Count);
System\Data\Query\PlanCompiler\NestPullup.cs (1)
1416
List<Node> newProjectOpChildren = new
List
<Node>(projectNode.Child1.Children.Count);
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
2008
List<Node> children = new
List
<Node>(3);
2601
List<Node> children = new
List
<Node>(op.DiscriminatorMap.TypeMap.Count * 2 - 1);
System\Data\Query\PlanCompiler\PreProcessor.cs (5)
843
List<Node> scanTableNodes = new
List
<Node>(relationshipSets.Count);
844
List<Var> scanTableVars = new
List
<Var>(relationshipSets.Count);
915
List<Node> joinNodes = new
List
<Node>(relationshipSets.Count);
916
List<Var> outputVars = new
List
<Var>(relationshipSets.Count * 2);
2001
List<Node> caseArgNodes = new
List
<Node>(n.Children.Count * 2 + 1);
System\Data\SqlClient\SqlGen\JoinSymbol.cs (1)
92
extentList = new
List
<Symbol>(extents.Count);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (2)
137
IList<DbPropertyExpression> sortExpressions = new
List
<DbPropertyExpression>(e.SortOrder.Count);
424
List<KeyValuePair<string, DbExpression>> projectColumns = new
List
<KeyValuePair<string, DbExpression>>(flattenedProperties.Count);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1649
List<DbExpressionBinding> inputs = new
List
<DbExpressionBinding>(2);
System.Data.Entity.Design (7)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
46
private List<AssociationSet> _storeAssociationSets = new
List
<AssociationSet>(2);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
363
List<string> ssdlLocations = new
List
<string>(1);
371
List<string> csdlLocations = new
List
<string>(1);
379
List<string> mslLocations = new
List
<string>(1);
1167
List<string> pKeys = new
List
<string>(columns.Count);
1601
List<KeyValuePair<string, DbExpression>> projectList = new
List
<KeyValuePair<string, DbExpression>>(entitySet.ElementType.Members.Count);
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
148
List<EdmProperty> parameters = new
List
<EdmProperty>(properties.Count);
System.Data.Linq (33)
DataContext.cs (1)
811
List<Expression> args = new
List
<Expression>(parameters.Length);
Mapping\AttributedMetaModel.cs (4)
864
static ReadOnlyCollection<MetaParameter> _emptyParameters = new
List
<MetaParameter>(0).AsReadOnly();
865
static ReadOnlyCollection<MetaType> _emptyTypes = new
List
<MetaType>(0).AsReadOnly();
893
this.rowTypes = new
List
<MetaType>(1) { this.GetMetaType(elementType) }.AsReadOnly();
914
List<MetaParameter> mps = new
List
<MetaParameter>(pis.Length);
Mapping\MappedMetaModel.cs (4)
1335
static ReadOnlyCollection<MetaParameter> _emptyParameters = new
List
<MetaParameter>(0).AsReadOnly();
1336
static ReadOnlyCollection<MetaType> _emptyTypes = new
List
<MetaType>(0).AsReadOnly();
1354
this.rowTypes = new
List
<MetaType>(1) { this.GetMetaType(map.Types[0], elementType) }.AsReadOnly();
1378
List<MetaParameter> mps = new
List
<MetaParameter>(pis.Length);
SqlClient\Common\SqlNode.cs (1)
1037
this.values = values != null ? new List<SqlExpression>(values) : new
List
<SqlExpression>(0);
SqlClient\Query\Funcletizer.cs (3)
307
list = new
List
<Expression>(n);
351
list = new
List
<MemberBinding>(n);
371
list = new
List
<ElementInit>(n);
SqlClient\Query\MethodCallConverter.cs (1)
315
List<SqlWhen> whens = new
List
<SqlWhen>(1);
SqlClient\Query\QueryConverter.cs (3)
809
List<SqlWhen> whens = new
List
<SqlWhen>(1);
1217
List<SqlExpression> sqlParams = new
List
<SqlExpression>(mce.Arguments.Count);
1383
List<SqlWhen> whens = new
List
<SqlWhen>(1);
SqlClient\Query\SqlBinder.cs (1)
751
List<SqlWhen> whens = new
List
<SqlWhen>(sc.Whens.Count);
SqlClient\Query\SqlDuplicator.cs (5)
209
gex = new
List
<SqlExpression>(select.GroupBy.Count);
217
lex = new
List
<SqlOrderExpression>(select.OrderBy.Count);
252
List<SqlExpression> args = new
List
<SqlExpression>(suq.Arguments.Count);
269
List<SqlExpression> args = new
List
<SqlExpression>(spc.Arguments.Count);
298
List<SqlAssign> assignments = new
List
<SqlAssign>(su.Assignments.Count);
SqlClient\Query\SqlExpander.cs (5)
87
List<SqlExpression> exprs = new
List
<SqlExpression>(2);
287
List<SqlExpression> hvals = new
List
<SqlExpression>(exprs.Count);
288
List<SqlExpression> vals = new
List
<SqlExpression>(exprs.Count);
303
List<SqlExpression> values = new
List
<SqlExpression>(exprs.Count);
315
List<SqlExpression> foos = new
List
<SqlExpression>(exprs.Count);
SqlClient\Query\SqlFlattener.cs (1)
174
List<SqlExpression> list = new
List
<SqlExpression>(exprs.Count);
SqlClient\Query\SqlFormatter.cs (1)
26
List<string> results = new
List
<string>(block.Statements.Count);
SqlClient\Query\SqlRetyper.cs (1)
114
var newValues = new System.Collections.Generic.
List
<SqlExpression>(sin.Values.Count);
SqlClient\Query\Translator.cs (1)
514
List<SqlExpression> exprs = new
List
<SqlExpression>(members.Count);
SqlClient\SqlConnectionManager.cs (1)
33
this.users = new
List
<IConnectionUser>(maxUsers);
System.Data.Services (14)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (3)
356
list = new
List
<Expression>(n);
439
list = new
List
<MemberBinding>(n);
474
list = new
List
<ElementInit>(n);
System\Data\Services\ExpandSegmentCollection.cs (1)
30
public ExpandSegmentCollection(int capacity) :
base
(capacity)
System\Data\Services\Parsing\FunctionDescription.cs (1)
282
List<FunctionDescription> castSignatures = new
List
<FunctionDescription>(primitiveTypes.Length + 4);
System\Data\Services\Parsing\RequestQueryParser.cs (2)
2185
List<FunctionDescription> applicableFunctions = new
List
<FunctionDescription>(functions.Length);
2186
List<Expression[]> applicablePromotedArguments = new
List
<Expression[]>(functions.Length);
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1033
this.projectedProperties = new
List
<ProjectedProperty>(this.projectedPropertyCandidates.Count);
System\Data\Services\Providers\ExpandedProjectionNode.cs (1)
368
this.nodes = new
List
<ProjectionNode>(existingNodes.Count);
System\Data\Services\RequestQueryProcessor.cs (1)
394
this.expandPaths = new
List
<ExpandSegmentCollection>(this.expandPathsAsText.Count);
System\Data\Services\Serializers\DictionaryContent.cs (3)
56
this.valueContents = new
List
<object>(capacity);
57
this.valueTypes = new
List
<string>(capacity);
58
this.valueNames = new
List
<string>(capacity);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
772
navProperties = new
List
<ResourcePropertyInfo>(resourceType.Properties.Count);
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (3)
356
list = new
List
<Expression>(n);
439
list = new
List
<MemberBinding>(n);
474
list = new
List
<ElementInit>(n);
System\Data\Services\Client\AtomMaterializer.cs (1)
451
list = new
List
<TTarget>(sourceList.Count);
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
140
List<EdmProperty> parameters = new
List
<EdmProperty>(properties.Count);
System.Data.SqlXml (8)
System\Xml\Xsl\Runtime\StringConcat.cs (1)
89
List<string> strList = this.strList = new
List
<string>(capacity);
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
788
List<XmlQueryType> members = new
List
<XmlQueryType>(length);
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
185
List<EarlyBoundInfo> ebTypes = new
List
<EarlyBoundInfo>(scriptClasses.Count);
2127
args = new
List
<XslNode>(3);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
213
List<QilNode> convertedPredicates = new
List
<QilNode>(predicates.Count);
System\Xml\Xsl\Xslt\XPathPatternParser.cs (1)
118
List<QilNode> args = new
List
<QilNode>(2);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1270
newtemplate.SetContent(new
List
<XslNode>(content.Count - split + 8));
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
2455
List<QilName> modes = new
List
<QilName>(list.Length);
System.IdentityModel (34)
System\IdentityModel\Asn1IntegerConverter.cs (1)
24
List<byte> positiveDecimalDigits = new
List
<byte>((asn1.Length * 8) / 3);
System\IdentityModel\Claims\ClaimSet.cs (2)
26
List<Claim> claims = new
List
<Claim>(2);
41
List<Claim> claims = new
List
<Claim>(2);
System\IdentityModel\Claims\WindowsClaimSet.cs (1)
154
List<Claim> claims = new
List
<Claim>(3);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
348
List<Claim> claims = new
List
<Claim>(2);
System\IdentityModel\Policy\UnconditionalPolicy.cs (2)
165
List<ClaimSet> issuances = new
List
<ClaimSet>(1);
233
identities = new
List
<IIdentity>(1);
System\IdentityModel\SecurityUtils.cs (4)
97
List<SecurityKey> temp = new
List
<SecurityKey>( 1 );
604
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
738
List<ClaimSet> ret = new
List
<ClaimSet>(claimSets.Count);
784
List<IAuthorizationPolicy> ret = new
List
<IAuthorizationPolicy>(authorizationPolicies.Count);
System\IdentityModel\Selectors\CustomUserNameSecurityTokenAuthenticator.cs (1)
42
List<Claim> claims = new
List
<Claim>(2);
System\IdentityModel\Selectors\RsaSecurityTokenAuthenticator.cs (2)
27
List<Claim> claims = new
List
<Claim>(2);
32
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
34
this.supportingAuthenticators = new
List
<SecurityTokenAuthenticator>(supportingAuthenticators.Count);
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (2)
118
List<ClaimSet> claimSets = new
List
<ClaimSet>(2);
122
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (2)
74
List<SecurityKey> temp = new
List
<SecurityKey>(1);
205
List<SecurityBuffer> list = new
List
<SecurityBuffer>(2);
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
90
List<SecurityKey> temp = new
List
<SecurityKey>(1);
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
108
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
172
List<SecurityKey> keys = new
List
<SecurityKey>(1);
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
181
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
392
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\SamlAttribute.cs (1)
189
List<Claim> tempClaims = new
List
<Claim>(this.attributeValues.Count);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
1039
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (2)
20
this.clauses = new
List
<SecurityKeyIdentifierClause>(InitialSize);
29
this.clauses = new
List
<SecurityKeyIdentifierClause>(clauses.Length);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
608
List<ClaimsIdentity> identitites = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
121
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\Tokens\X509SecurityToken.cs (1)
71
List<SecurityKey> temp = new
List
<SecurityKey>(1);
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
591
List<ClaimsIdentity> identities = new
List
<ClaimsIdentity>(1);
System\IdentityModel\XmlBuffer.cs (1)
65
sections = new
List
<Section>(1);
TD.Designer.cs (1)
206
System.Collections.Generic.List<ushort> e2eEvents = new System.Collections.Generic.
List
<ushort>(5);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardProofToken.cs (1)
68
List<SecurityKey> securityKeys = new
List
<SecurityKey>(1);
System.Runtime.Caching (2)
System\Caching\HostFileChangeMonitor.cs (1)
148
List<string> newList = new
List
<string>(filePaths.Count);
System\Caching\MemoryCacheEntryChangeMonitor.cs (1)
30
_dependencies = new
List
<MemoryCacheEntry>(_keys.Count);
System.Runtime.DurableInstancing (6)
System\Runtime\DurableInstancing\InstanceHandle.cs (2)
555
normals = new
List
<InstancePersistenceEvent>(this.pendingOwnerEvents.Count);
1064
Signaled(new
List
<InstancePersistenceEvent>(1) { persistenceEvent });
System\Runtime\DurableInstancing\InstanceOwner.cs (3)
287
handlesPendingResolution = new
List
<InstanceHandleReference>(1);
341
handlesPendingResolution = new
List
<InstanceHandleReference>(1);
484
handlesPendingResolution = new
List
<InstanceHandleReference>(1);
System\Runtime\DurableInstancing\InstanceStore.cs (1)
378
readyEvents = new
List
<InstancePersistenceEvent>(1);
System.Runtime.Serialization (3)
System\Runtime\Serialization\ClassDataContract.cs (1)
1440
boundClassContract.Members = new
List
<DataMember>(Members.Count);
System\Runtime\Serialization\EnumDataContract.cs (2)
274
List<DataMember> tempMembers = new
List
<DataMember>(fields.Length);
275
List<long> tempValues = new
List
<long>(fields.Length);
System.ServiceModel (70)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
87
List<IWmiInstance> traceListenerArguments = new
List
<IWmiInstance>(1);
System\ServiceModel\Administration\ContractInstanceProvider.cs (2)
109
List<IWmiInstance> behaviorInstances = new
List
<IWmiInstance>(behaviors.Count);
124
List<IWmiInstance> behaviorInstances = new
List
<IWmiInstance>(behaviors.Count);
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
435
List<IWmiInstance> behaviors = new
List
<IWmiInstance>(info.Behaviors.Count);
561
List<string> serviceNames = new
List
<string>(policy.CustomServiceNames.Count);
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
85
List<IWmiInstance> behaviors = new
List
<IWmiInstance>(info.Behaviors.Count);
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (1)
15
static ReadOnlyCollection<string> emptyNeededData = new ReadOnlyCollection<string>(new
List
<string>(0));
System\ServiceModel\Channels\CorrelationMessageProperty.cs (1)
17
static readonly ReadOnlyCollection<InstanceKey> emptyInstanceKeyList = new ReadOnlyCollection<InstanceKey>(new
List
<InstanceKey>(0));
System\ServiceModel\Channels\MessageProperties.cs (1)
806
List<KeyValuePair<string, object>> pairs = new
List
<KeyValuePair<string, object>>(propertyCount);
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
209
List<Claim> claims = new
List
<Claim>(2);
214
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (1)
133
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(authorizationPolicies.Count);
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
215
List<string> propertiesToRemove = new
List
<string>(this.Items.Count);
System\ServiceModel\Dispatcher\EndpointDispatcherTable.cs (1)
52
this.cachedEndpoints = new
List
<EndpointDispatcher>(optimizationThreshold);
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (1)
24
this.children = new
List
<SubExpr>(2);
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
278
List<RequestSecurityTokenResponse> rstrList = new
List
<RequestSecurityTokenResponse>(1);
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
119
List<SecurityTokenResolver> tmp = new
List
<SecurityTokenResolver>(1);
System\ServiceModel\Security\MessagePartSpecification.cs (3)
107
this.headerTypes = new
List
<XmlQualifiedName>(headerTypes.Count);
125
List<XmlQualifiedName> noDuplicates = new
List
<XmlQualifiedName>(headerTypes.Count);
175
this.headerTypes = new
List
<XmlQualifiedName>(headerTypes.Length);
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (1)
199
this.wrappedKeyTokenAuthenticator = new
List
<SecurityTokenAuthenticator>(1);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
819
this.supportingTokenTrackers = new
List
<TokenTracker>(this.supportingTokenAuthenticators.Count);
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
222
List<SecurityContextSecurityToken> tokens = new
List
<SecurityContextSecurityToken>(cacheTable.Count);
System\ServiceModel\Security\SecurityListenerSettingsLifetimeManager.cs (4)
85
List<OperationWithTimeoutBeginCallback> beginOperations = new
List
<OperationWithTimeoutBeginCallback>(3);
86
List<OperationEndCallback> endOperations = new
List
<OperationEndCallback>(3);
155
List<OperationWithTimeoutBeginCallback> beginOperations = new
List
<OperationWithTimeoutBeginCallback>(3);
156
List<OperationEndCallback> endOperations = new
List
<OperationEndCallback>(3);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (3)
570
List<SecurityToken> incomingSessionTokens = new
List
<SecurityToken>(1);
1173
List<SecurityToken> incomingTokens = new
List
<SecurityToken>(1);
1215
List<SecurityToken> incomingTokens = new
List
<SecurityToken>(2);
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
85
contextIds = new
List
<UniqueId>(1);
299
contextIds = new
List
<UniqueId>(1);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
801
List<RequestSecurityTokenResponse> rstrList = new
List
<RequestSecurityTokenResponse>(1);
945
List<RequestSecurityTokenResponse> rstrList = new
List
<RequestSecurityTokenResponse>(1);
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
1175
this.futureSessionTokens = new
List
<SecurityContextSecurityToken>(1);
1956
List<RequestSecurityTokenResponse> rstrList = new
List
<RequestSecurityTokenResponse>(1);
System\ServiceModel\Security\SecurityTokenAuthenticatorAdapter.cs (1)
64
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\SecurityUtils.cs (3)
627
List<SecurityKey> temp = new
List
<SecurityKey>(1);
982
List<Claim> claims = new
List
<Claim>(2);
986
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\SimpleSecurityTokenProvider.cs (2)
102
List<Claim> claims = new
List
<Claim>(1);
104
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\SpnegoTokenAuthenticator.cs (1)
139
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (1)
364
List<RequestSecurityTokenResponse> rstrList = new
List
<RequestSecurityTokenResponse>(2);
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
120
List<XmlNode> nodesToRemove = new
List
<XmlNode>(2);
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
267
List<SecurityKey> temp = new
List
<SecurityKey>(1);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
938
List<Claim> claims = new
List
<Claim>(1);
941
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\Tokens\KerberosRequestorSecurityTokenAuthenticator.cs (1)
31
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (2)
102
claimSets = new
List
<ClaimSet>(1);
139
authorizationPolicies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
276
List<SecurityKey> temp = new
List
<SecurityKey>(1);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
55
List<IExpirableItem> items = new
List
<IExpirableItem>(cacheTable.Count);
System\ServiceModel\Security\WindowsSspiNegotiation.cs (1)
369
List<SecurityBuffer> list = new
List
<SecurityBuffer>(2);
System\ServiceModel\Security\WrappedRsaSecurityTokenAuthenticator.cs (1)
69
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\WrappedSaml11SecurityTokenAuthenticator.cs (1)
69
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\WrappedSaml2SecurityTokenAuthenticator.cs (1)
80
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\WrappedUserNameSecurityTokenAuthenticator.cs (1)
69
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\WrappedX509SecurityTokenAuthenticator.cs (1)
96
List<IAuthorizationPolicy> policies = new
List
<IAuthorizationPolicy>(1);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
570
this.earlyDecryptedDataReferences = new
List
<string>(4);
System\ServiceModel\Security\WSTrust.cs (2)
190
this.entropyAuthenticators = new
List
<SecurityTokenAuthenticator>(2);
406
List<RequestSecurityTokenResponse> rstrCollection = new
List
<RequestSecurityTokenResponse>(2);
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
159
List<SecurityToken> serviceTokens = new
List
<SecurityToken>(1);
System\ServiceModel\SynchronizedCollection.cs (1)
50
this.items = new
List
<T>(list.Length);
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
50
this.items = new
List
<T>(list.Length);
System\ServiceModel\Syndication\ResourceCollectionInfo.cs (1)
176
List<string> tmp = new
List
<string>(1);
System\ServiceModel\XmlBuffer.cs (1)
66
sections = new
List
<Section>(1);
System\UriTemplateTrieNode.cs (2)
683
IList<IList<T>> results = new
List
<IList<T>>(this.items.Count);
686
results.Add(new
List
<T>(this.items.Values[i].Count));
TD.Designer.cs (1)
4926
System.Collections.Generic.List<ushort> e2eEvents = new System.Collections.Generic.
List
<ushort>(120);
System.ServiceModel.Activation (2)
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (1)
51
List<Uri> baseAddresses = new
List
<Uri>(this.hosts.Length);
TD.Designer.cs (1)
697
System.Collections.Generic.List<ushort> e2eEvents = new System.Collections.Generic.
List
<ushort>(14);
System.ServiceModel.Activities (5)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
374
rootExecutionProperties = new
List
<Handle>(1)
400
this.PipelineModules = new
List
<IPersistencePipelineModule>(modulesCount);
System\ServiceModel\Activities\InternalSendMessage.cs (1)
773
correlationMessageProperty = new CorrelationMessageProperty(InstanceKey.InvalidKey, new
List
<InstanceKey>(0), transientCorrelations);
System\ServiceModel\Activities\WorkflowService.cs (1)
218
constraintList = new
List
<Constraint>(1)
TD.Designer.cs (1)
621
System.Collections.Generic.List<ushort> e2eEvents = new System.Collections.Generic.
List
<ushort>(3);
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\ServiceDiscoveryBehavior.cs (1)
149
List<ServiceEndpoint> appEndpoints = new
List
<ServiceEndpoint>(serviceDescription.Endpoints.Count);
System.ServiceModel.Internals (2)
System\Runtime\Collections\OrderedDictionary.cs (2)
85
List<TKey> keys = new
List
<TKey>(this.privateDictionary.Count);
104
List<TValue> values = new
List
<TValue>(this.privateDictionary.Count);
System.ServiceModel.Routing (3)
System\ServiceModel\Routing\MessageRpc.cs (2)
207
this.operations = new
List
<SendOperation>(1);
237
this.operations = new
List
<SendOperation>(endpointLists.Count);
System\ServiceModel\Routing\RoutingService.cs (1)
49
this.SessionMessages = new
List
<MessageRpc>(1);
System.Web (9)
Cache\OutputCache.cs (2)
186
headerElements = new
List
<HeaderElement>(count);
197
responseElements = new
List
<ResponseElement>(count);
Compilation\AssemblyBuilder.cs (2)
805
List<string> noWarnStrings = new
List
<string>(5);
816
List<string> noWarnStrings = new
List
<string>(3);
Hosting\CustomRuntimeManager.cs (1)
46
List<IProcessResumeCallback> callbacks = new
List
<IProcessResumeCallback>(suspendListeners.Count);
Hosting\SuspendManager.cs (1)
120
_resumeCallbacks = new
List
<Action>(suspendibleObjects.Count);
HttpApplication.cs (1)
2869
moduleList = new
List
<ModuleConfigurationInfo>(count);
UI\ObjectStateFormatter.cs (1)
1081
List<int> items = new
List
<int>(sparseThreshold);
UI\Page.cs (1)
2971
List<string> controlsToClear = new
List
<string>(controlState.Count);
System.Web.DataVisualization (2)
Common\ChartTypes\BoxPlotChart.cs (1)
1636
List<double> yValues = new
List
<double>(valueCount);
WebForm\General\ChartHttpHandler.cs (1)
1986
static List<HandlerPageTraceInfo> _messages = new
List
<HandlerPageTraceInfo>(MessageLimit);
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (2)
82
List<PropertyDescriptor> visiblePropertyDescriptors = new
List
<PropertyDescriptor>(columns.Count);
83
List<EntityDataSourceWrapperPropertyDescriptor> propertyDescriptors = new
List
<EntityDataSourceWrapperPropertyDescriptor>(columns.Count);
System\Data\WebControls\OrderByBuilder.cs (1)
237
keyMemberNames = new
List
<string>(entityType.KeyMembers.Count);
System.Web.Extensions (6)
Handlers\ScriptModule.cs (1)
132
List<HttpCookie> cookies = new
List
<HttpCookie>(response.Cookies.Count);
UI\PageRequestManager.cs (2)
499
_updatePanelsToRefresh = new
List
<UpdatePanel>(_allUpdatePanels.Count);
500
_childUpdatePanelsToRefresh = new
List
<UpdatePanel>(_allUpdatePanels.Count);
UI\ScriptManager.cs (1)
1884
List<ScriptReferenceBase> filteredScriptList = new
List
<ScriptReferenceBase>(numScripts);
Util\OrderedDictionary.cs (2)
29
_keys = new
List
<TKey>(capacity);
30
_values = new
List
<TValue>(capacity);
System.Windows.Forms (11)
misc\GDI\WindowsGraphicsCacheManager.cs (1)
86
windowsFontCache = new
List
<KeyValuePair<Font, WindowsFont>>(CacheSize);
winforms\Managed\System\Resources\ResXDataNode.cs (1)
1017
List<AssemblyName> assemblyList = new
List
<AssemblyName>(names.Length);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
270
disposeList = new
List
<object>(3);
winforms\Managed\System\WinForms\Control.cs (1)
16168
List<Rectangle> neighboringControlsRectangles = new
List
<Rectangle>(4);
winforms\Managed\System\WinForms\KeysConverter.cs (1)
46
displayOrder = new
List
<string>(34);
winforms\Managed\System\WinForms\ListView.cs (3)
507
savedCheckedItems = new
List
<ListViewItem>(CheckedItems.Count);
543
savedCheckedItems = new
List
<ListViewItem>(CheckedItems.Count);
4392
savedSelectedItems = new
List
<ListViewItem>(lviArr.Length);
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
447
List<ControlInformation> controlsInfo = new
List
<ControlInformation>(Owner.Children.Count);
597
List<ControlInformation> listOfControlInfo = new
List
<ControlInformation>(controlsInfo.Count);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3957
List<Rectangle> neighbors = new
List
<Rectangle>(3);
System.Windows.Forms.DataVisualization (1)
Common\ChartTypes\BoxPlotChart.cs (1)
1636
List<double> yValues = new
List
<double>(valueCount);
System.Workflow.Activities (12)
Rules\Executor.cs (1)
357
List<RuleState> orderedRules = new
List
<RuleState>(rules.Count);
Rules\Parser\Parser.cs (4)
369
List<Type> types = new
List
<Type>(1);
2161
List<Type> candidateTypes = new
List
<Type>(candidateTypeSymbols.Count);
2569
List<CandidateConstructor> candidates = new
List
<CandidateConstructor>(allCtors.Length);
2695
List<CandidateConstructor> bestCandidates = new
List
<CandidateConstructor>(1);
Rules\References.cs (1)
66
List<string> symbolList = new
List
<string>(symbols.Keys.Count);
Rules\RuleValidation.cs (6)
2935
candidateTypes = new
List
<Type>(1);
3081
List<CandidateMember> bestCandidates = new
List
<CandidateMember>(1);
3129
List<CandidateMember> candidates = new
List
<CandidateMember>(methods.Count);
3153
List<Argument> arguments = new
List
<Argument>(argumentExprs.Count);
3194
List<Argument> arguments = new
List
<Argument>(argumentExprs.Count);
3552
List<Argument> arguments = new
List
<Argument>(numArgs);
System.Workflow.ComponentModel (2)
AuthoringOM\Bind.cs (1)
1772
private static List<SourceValueInfo> EmptyInfo = new
List
<SourceValueInfo>(1);
AuthoringOM\Design\Connector.cs (1)
2210
List<DistanceFromPoint> extremitiesList = new
List
<DistanceFromPoint>(4); //at most four points
System.Workflow.Runtime (16)
System\Activities\Statements\Interop.cs (1)
634
this.exposedBodyProperties = new
List
<InteropProperty>(bodyProperties.Length);
Tracking.cs (1)
1666
list = new
List
<T>(capacity);
Tracking\SqlTrackingService.cs (13)
982
IList<ActivityTrackingRecord> activities = new
List
<ActivityTrackingRecord>(5);
1009
activities = new
List
<ActivityTrackingRecord>(5);
1395
List<KeyValuePair<long, string>> annotations = new
List
<KeyValuePair<long, string>>(record1.Annotations.Count + (null == record2 ? 0 : record2.Annotations.Count));
1490
IList<ActivityTrackingRecord> activity = new
List
<ActivityTrackingRecord>(1);
1595
List<KeyValuePair<long, string>> annotations = new
List
<KeyValuePair<long, string>>(10);
1596
List<KeyValuePair<long, TrackingDataItem>> items = new
List
<KeyValuePair<long, TrackingDataItem>>(10);
1714
List<KeyValuePair<long, string>> annotations = new
List
<KeyValuePair<long, string>>(10);
1715
List<KeyValuePair<long, TrackingDataItem>> items = new
List
<KeyValuePair<long, TrackingDataItem>>(10);
1806
List<KeyValuePair<long, TrackingDataItem>> batch = new
List
<KeyValuePair<long, TrackingDataItem>>(_dataItemBatchSize);
1867
List<long> ids = new
List
<long>(_dataItemAnnotationBatchSize);
1876
List<KeyValuePair<long, string>> annotations = new
List
<KeyValuePair<long, string>>(_dataItemAnnotationBatchSize);
1945
List<KeyValuePair<long, string>> batch = new
List
<KeyValuePair<long, string>>(_eventAnnotationBatchSize);
2085
List<KeyValuePair<long, string>> annotations = new
List
<KeyValuePair<long, string>>(record.Annotations.Count);
Tracking\TrackPoint.cs (1)
84
status = new
List
<ActivityExecutionStatus>(9);
System.WorkflowServices (2)
System\ServiceModel\Security\SerializableAuthorizationContext.cs (2)
63
List<IAuthorizationPolicy> authorizationPolicies = new
List
<IAuthorizationPolicy>(1);
180
claimSets = new
List
<ClaimSet>(1);
System.Xml (6)
System\Xml\Core\XmlWriterSettings.cs (1)
848
cdataSections = new
List
<XmlQualifiedName>(length);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1220
if (IsCyclicReferencedType(itemElement, new
List
<string>(1){identifier}))
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
879
List<Type> argTypes = new
List
<Type>(5);
880
List<string> argNames = new
List
<string>(5);
System\Xml\XPath\Internal\ClonableStack.cs (1)
17
public ClonableStack(int capacity) :
base
(capacity) {}
System\Xml\XPath\Internal\QueryBuilder.cs (1)
381
List<Query> argList = new
List
<Query>(numArgs);
WindowsBase (26)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (3)
114
filteredProps = new
List
<PropertyDescriptor>(localEnum.Count);
131
filteredProps = new
List
<PropertyDescriptor>(registeredProperties.Length);
268
List<DependencyProperty> dpList = new
List
<DependencyProperty>(currentCnt);
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
672
List<Attribute> newAttributes = new
List
<Attribute>(baseAttributes.Count + 1);
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
188
newDescriptors = new
List
<PropertyDescriptor>(cnt);
281
List<PropertyDescriptor> newDescriptors = new
List
<PropertyDescriptor>(baseProps.Count);
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
245
_relationships = new
List
<PackageRelationship>(4);
Base\MS\Internal\IO\Packaging\PieceDirectory.cs (1)
171
_pieceStreamInfoList = new
List
<PieceStreamInfo>(sortedPieceInfoList.Count);
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
385
_memoryStreamList = new
List
<MemoryStreamBlock>(5);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (2)
461
transforms = new
List
<String>(1);
495
transformStreams = new
List
<Stream>(transforms.Count);
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (4)
708
new
List
<SafeRightsManagementHandle>(unboundRightsList.Count);
711
new
List
<RightNameExpirationInfoPair>(unboundRightsList.Count);
1616
List<RightNameExpirationInfoPair> resultRightsInfoList = new
List
<RightNameExpirationInfoPair>(10);
1995
_cryptoProviderList = new
List
<CryptoProvider>(5);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (1)
1067
private List<SafeRightsManagementPubHandle> _pubHandlesList = new
List
<SafeRightsManagementPubHandle>(50); // initial capacity
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
281
List<T> newList = new
List
<T>(n);
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
699
return new
List
<IDataTransform>(0); // return an empty list
703
List<IDataTransform> dataTransforms = new
List
<IDataTransform>(transformsList.Count);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
637
List<Uri> signatures = new
List
<Uri>(_signatures.Count);
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
149
List<PackageRelationship> relationships = new
List
<PackageRelationship>(0);
Base\System\IO\Packaging\ZipPackage.cs (4)
234
List<PackagePart> parts = new
List
<PackagePart>(_initialPartListSize);
1631
zipFileInfoNameList = new
List
<string>(count);
1693
_ignoredItemDictionary.Add(normalizedPrefixName, new
List
<string>(_listInitialSize));
1708
_extensionDictionary.Add(extension, new
List
<string>(_listInitialSize));
Base\System\Security\RightsManagement\CryptoProvider.cs (1)
309
List<ContentGrant> grantList = new
List
<ContentGrant>(_boundRightsInfoList.Count);
WsatConfig (2)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
228
List<string> list = new
List
<string>(5);
Configuration\MsdtcClusterUtils.cs (1)
261
List<string> nodeList = new
List
<string>(2); // 2 nodes are a typical cluster configuration
WsatUI (2)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
228
List<string> list = new
List
<string>(5);
Configuration\MsdtcClusterUtils.cs (1)
261
List<string> nodeList = new
List
<string>(2); // 2 nodes are a typical cluster configuration
XamlBuildTask (4)
Microsoft\Build\Tasks\Xaml\BuildExtensionContext.cs (1)
14
static readonly IList<string> emptyList = new
List
<string>(0);
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (2)
239
IList<string> applicationMarkup = new
List
<string>(this.ApplicationMarkup.Length);
271
sourceCodeFiles = new
List
<string>(this.SourceCodeFiles.Length);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (1)
350
sourceCodeFiles = new
List
<string>(this.SourceCodeFiles.Length);