7 types derived from ReadOnlyCollection
System (1)
compmod\system\collections\objectmodel\readonlyobservablecollection.cs (1)
30public class ReadOnlyObservableCollection<T> : ReadOnlyCollection<T>, INotifyCollectionChanged, INotifyPropertyChanged
System.Core (2)
Microsoft\Scripting\Utils\TrueReadOnlyCollection.cs (1)
21sealed class TrueReadOnlyCollection<T> : ReadOnlyCollection<T> {
System\Security\Cryptography\ManifestSignatureInformation.cs (1)
155public sealed class ManifestSignatureInformationCollection : ReadOnlyCollection<ManifestSignatureInformation> {
System.Data.Entity (2)
System\Data\Common\CommandTrees\Internal\ExpressionList.cs (1)
19internal sealed class DbExpressionList : System.Collections.ObjectModel.ReadOnlyCollection<DbExpression>
System\Data\Metadata\Edm\ReadOnlyMetadataCollection.cs (1)
19public class ReadOnlyMetadataCollection<T> : System.Collections.ObjectModel.ReadOnlyCollection<T> where T : MetadataItem
System.ServiceModel (1)
System\ServiceModel\Channels\AddressHeaderCollection.cs (1)
19public sealed class AddressHeaderCollection : ReadOnlyCollection<AddressHeader>
System.ServiceModel.Internals (1)
System\Runtime\ReadOnlyKeyedCollection.cs (1)
9class ReadOnlyKeyedCollection<TKey, TValue> : ReadOnlyCollection<TValue>
360 instantiations of ReadOnlyCollection
mscorlib (21)
system\AggregateException.cs (6)
47m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[0]); 58m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[0]); 77m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[] { innerException }); 172m_innerExceptions = new ReadOnlyCollection<Exception>(exceptionsCopy); 251m_innerExceptions = new ReadOnlyCollection<Exception>(exceptionsCopy); 278m_innerExceptions = new ReadOnlyCollection<Exception>(innerExceptions);
system\array.cs (1)
46return new ReadOnlyCollection<T>(array);
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
2052return new ReadOnlyCollection<TKey>(keys); 2086return new ReadOnlyCollection<TValue>(values);
system\collections\generic\list.cs (1)
253return new ReadOnlyCollection<T>(this);
system\diagnostics\eventing\eventsource.cs (5)
1427eventCallbackArgs.Payload = new ReadOnlyCollection<object>(arg); 2171eventCallbackArgs.Payload = new ReadOnlyCollection<object>(args); 2272eventCallbackArgs.Payload = new ReadOnlyCollection<object>(new List<object>() { msg }); 2273eventCallbackArgs.PayloadNames = new ReadOnlyCollection<string>(new List<string> { "message" }); 4838m_payloadNames = new ReadOnlyCollection<string>(names);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
708eventCallbackArgs.Payload = new ReadOnlyCollection<object>((IList<object>)payload.Values); 709eventCallbackArgs.PayloadNames = new ReadOnlyCollection<string>((IList<string>)payload.Keys);
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (1)
74roList = new ReadOnlyCollection<T>(_this);
system\threading\Tasks\Task.cs (1)
2127new ReadOnlyCollection<ExceptionDispatchInfo>(new ExceptionDispatchInfo[0]);
system\threading\Tasks\TaskExceptionHolder.cs (1)
409return new ReadOnlyCollection<ExceptionDispatchInfo>(exceptions);
system\timezoneinfo.cs (1)
966cachedData.m_readOnlySystemTimeZones = new ReadOnlyCollection<TimeZoneInfo>(list);
PresentationCore (10)
Core\CSharp\System\Windows\Ink\GestureRecognizer.cs (2)
144return new ReadOnlyCollection<ApplicationGesture>(_enabledGestures); 220return new ReadOnlyCollection<GestureRecognitionResult>(_nativeRecognizer.Recognize(strokes));
Core\CSharp\System\Windows\Input\ManipulationDevice.cs (2)
258return new ReadOnlyCollection<IManipulator>(_manipulators); 262return new ReadOnlyCollection<IManipulator>(new List<IManipulator>(2));
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
801_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames); 1085_readOnlycolorContexts = new ReadOnlyCollection<ColorContext>(colorContextList);
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
293_readOnlycolorContexts = new ReadOnlyCollection<ColorContext>(colorContextList);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (2)
1391: new ReadOnlyCollection<String>(strAuthors); 1576: new ReadOnlyCollection<String>(strKeywords);
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
235_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames);
PresentationFramework (85)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
578_ranges = new ReadOnlyCollection<TextSegment>(rangeArray);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1579_pageViews = new ReadOnlyCollection<DocumentPageView>(documentPageViews);
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (2)
320return new ReadOnlyCollection<GlyphRun>(new List<GlyphRun>()); 535return new ReadOnlyCollection<TextSegment>(new List<TextSegment>());
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
701return new ReadOnlyCollection<TextSegment>(textSegments);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1314return new ReadOnlyCollection<TextSegment>(segments);
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (1)
116return new ReadOnlyCollection<TextSegment>(segments);
src\Framework\MS\Internal\Documents\TextDocumentView.cs (4)
387return new ReadOnlyCollection<GlyphRun>(glyphRuns); 601return new ReadOnlyCollection<TextSegment>(new List<TextSegment>()); 3303textSegments = new ReadOnlyCollection<TextSegment>(segments); 3573private static ReadOnlyCollection<ParagraphResult> _emptyParagraphCollection = new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0));
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
512return new ReadOnlyCollection<TextSegment>(segments);
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
116return new ReadOnlyCollection<GlyphRun>(new List<GlyphRun>());
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
202return new ReadOnlyCollection<Rect>(new List<Rect>());
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
106return new ReadOnlyCollection<UIElement>(_selectedElements);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
393return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 412return new ReadOnlyCollection<ParagraphResult>(paragraphResults);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (7)
647return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 673return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 687return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 707return new ReadOnlyCollection<ParagraphResult>(paragraphResults); 784return new ReadOnlyCollection<ColumnResult>(columnResults); 822ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 870return new ReadOnlyCollection<ParagraphResult>(floatingElements);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (7)
653return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 679return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 693return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 713return new ReadOnlyCollection<ParagraphResult>(paragraphResults); 790return new ReadOnlyCollection<ColumnResult>(columnResults); 828ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 876return new ReadOnlyCollection<ParagraphResult>(floatingElements);
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (6)
360return new ReadOnlyCollection<Rect>(rectangles); 380return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0))); 400return new ReadOnlyCollection<ParagraphResult>(floatingElements); 538return new ReadOnlyCollection<ColumnResult>(columnResults); 604return new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 622return new ReadOnlyCollection<ParagraphResult>(paragraphResults);
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
137return new ReadOnlyCollection<Rect>(new List<Rect>(0));
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (3)
669return new ReadOnlyCollection<ColumnResult>(columnResults); 707return new ReadOnlyCollection<ParagraphResult>(paragraphResults); 782return new ReadOnlyCollection<ParagraphResult>(floatingElements);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
776return new ReadOnlyCollection<ParagraphResult>(rowParagraphResults); 836return new ReadOnlyCollection<ParagraphResult>(cellParagraphResults); 858return new ReadOnlyCollection<ParagraphResult>(listResults); 879return new ReadOnlyCollection<ParagraphResult>(listResults);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (5)
399ReadOnlyCollection<LineResult> lines = new ReadOnlyCollection<LineResult>(new List<LineResult>(0)); 478return (floaters != null && floaters.Count > 0) ? new ReadOnlyCollection<ParagraphResult>(floaters) : null; 522return (figures != null && figures.Count > 0) ? new ReadOnlyCollection<ParagraphResult>(figures) : null; 1756return (lines.Count > 0) ? new ReadOnlyCollection<LineResult>(lines) : null; 1825return (lines.Count > 0) ? new ReadOnlyCollection<LineResult>(lines) : null;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (2)
466return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0))); 482return new ReadOnlyCollection<Rect>(new List<Rect>(0));
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1266pageViews = new ReadOnlyCollection<DocumentPageView>(new List<DocumentPageView>(0));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
1750return new ReadOnlyCollection<ApplicationGesture>(this.GestureRecognizer.GetEnabledGestures());
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
155_itemsReadOnly = new ReadOnlyCollection<object>(new ListOfObject(_items));
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
81_pageViews = new ReadOnlyCollection<DocumentPageView>(new List<DocumentPageView>()); 468return new ReadOnlyCollection<DocumentPageView>(pageViewList);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1483OnTextChanged(new TextChangedEventArgs(TextChangedEvent, undoAction, new ReadOnlyCollection<TextChange>(e.Changes.Values)));
src\Framework\System\Windows\Controls\TextBlock.cs (8)
1838return new ReadOnlyCollection<Rect>(new List<Rect>(0)); 1848return new ReadOnlyCollection<Rect>(new List<Rect>(0)); 1855return new ReadOnlyCollection<Rect>(new List<Rect>(0)); 1871return new ReadOnlyCollection<Rect>(new List<Rect>(0)); 1940return new ReadOnlyCollection<Rect>(rectangles); 1959return new HostedElements(new ReadOnlyCollection<TextSegment>(new List<TextSegment>(0))); 1966ReadOnlyCollection<TextSegment> textSegments = new ReadOnlyCollection<TextSegment>(textSegmentsList); 2161return new ReadOnlyCollection<LineResult>(lines);
src\Framework\System\Windows\Controls\TextChangedEventArgs.cs (1)
100: this(id, action, new ReadOnlyCollection<TextChange>(new List<TextChange>()))
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
311return new ReadOnlyCollection<ValidationError>(list);
src\Framework\System\Windows\Data\BindingGroup.cs (2)
263return new ReadOnlyCollection<ValidationError>(superset); 276return new ReadOnlyCollection<ValidationError>(errors);
src\Framework\System\Windows\Data\BindingOperations.cs (2)
407return new ReadOnlyCollection<BindingExpressionBase>(list); 418return new ReadOnlyCollection<BindingGroup>(list);
src\Framework\System\Windows\Data\CollectionView.cs (1)
1521return new ReadOnlyCollection<ItemPropertyInfo>(list);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
108get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); }
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (1)
62get { return new ReadOnlyCollection<BindingExpressionBase>(MutableBindingExpressions); }
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
761lastBlock.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 778cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray)); 805cdbScan.ChildHighlightLayer.RaiseHighlightChangedEvent(new ReadOnlyCollection<TextSegment>(rangeArray));
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
586_textSegments = new ReadOnlyCollection<TextSegment>(parentSegments);
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
743_textSegments = new ReadOnlyCollection<TextSegment>(list);
src\Framework\System\Windows\Documents\Highlights.cs (1)
378Changed(this, new LayerHighlightChangedEventArgs(new ReadOnlyCollection<TextSegment>(ranges), highlightLayer.OwnerType));
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
209_ranges = new ReadOnlyCollection<TextSegment>(list);
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (1)
358_ranges = new ReadOnlyCollection<TextSegment>(rangeArray);
src\Framework\System\Windows\Ink\Events.cs (2)
209return new ReadOnlyCollection<UIElement>(_elements); 374return new ReadOnlyCollection<GestureRecognitionResult>(_gestureRecognitionResults);
System.Activities (29)
System\Activities\Activity.cs (1)
37internal static readonly ReadOnlyCollection<Constraint> EmptyConstraints = new ReadOnlyCollection<Constraint>(new Constraint[0]);
System\Activities\ActivityDelegate.cs (2)
106return new ReadOnlyCollection<RuntimeDelegateArgument>(InternalGetRuntimeDelegateArguments()); 137this.delegateParameters = new ReadOnlyCollection<RuntimeDelegateArgument>(InternalGetRuntimeDelegateArguments());
System\Activities\ActivityInstance.cs (1)
1631emptyChildren = new ReadOnlyCollection<ActivityInstance>(new ActivityInstance[0]);
System\Activities\DynamicUpdate\InstanceUpdateException.cs (3)
45this.blockingActivities = new ReadOnlyCollection<ActivityBlockingUpdate>(blockingActivities); 54this.blockingActivities = new ReadOnlyCollection<ActivityBlockingUpdate>(blockingActivities); 71this.blockingActivities = new ReadOnlyCollection<ActivityBlockingUpdate>(new ActivityBlockingUpdate[0]);
System\Activities\ExclusiveHandle.cs (2)
44return new ReadOnlyCollection<BookmarkScopeHandle>(new List<BookmarkScopeHandle>()); 49this.readOnlyBookmarkScopeCollection = new ReadOnlyCollection<BookmarkScopeHandle>(this.bookmarkScopes);
System\Activities\Expressions\TextExpression.cs (2)
30private static readonly ReadOnlyCollection<string> defaultNamespaces = new ReadOnlyCollection<string>(new string[] 40private static readonly ReadOnlyCollection<AssemblyReference> defaultReferences = new ReadOnlyCollection<AssemblyReference>(new AssemblyReference[]
System\Activities\HybridCollection.cs (3)
124return new ReadOnlyCollection<T>(this.multipleItems); 128return new ReadOnlyCollection<T>(new T[1] { this.singleItem }); 132return new ReadOnlyCollection<T>(new T[0]);
System\Activities\HybridDictionary.cs (4)
51return new ReadOnlyCollection<TValue>(new List<TValue>() { this.singleItemValue }); 55return new ReadOnlyCollection<TValue>(new List<TValue>(this.dictionary.Values)); 68return new ReadOnlyCollection<TKey>(new List<TKey>() { this.singleItemKey }); 72return new ReadOnlyCollection<TKey>(new List<TKey>(this.dictionary.Keys));
System\Activities\Runtime\ActivityExecutor.cs (2)
527emptyBookmarkInfoCollection = new ReadOnlyCollection<BookmarkInfo>(new List<BookmarkInfo>(0)); 2585return new ReadOnlyCollection<BookmarkInfo>(bookmarks);
System\Activities\Runtime\BookmarkScopeManager.cs (1)
331return new ReadOnlyCollection<BookmarkInfo>(bookmarks);
System\Activities\RuntimeArgument.cs (1)
132return new ReadOnlyCollection<string>(this.overloadGroupNames);
System\Activities\Tracking\ActivityStateRecord.cs (1)
26static ReadOnlyCollection<string> wildcardCollection = new ReadOnlyCollection<string>(new List<string>(1) { "*" });
System\Activities\Validation\ActivityValidationServices.cs (2)
17internal static readonly ReadOnlyCollection<Activity> EmptyChildren = new ReadOnlyCollection<Activity>(new Activity[0]); 19internal static ReadOnlyCollection<ValidationError> EmptyValidationErrors = new ReadOnlyCollection<ValidationError>(new List<ValidationError>(0));
System\Activities\Validation\ValidationResults.cs (3)
28this.allValidationErrors = new ReadOnlyCollection<ValidationError>(allValidationErrors); 100this.warnings = new ReadOnlyCollection<ValidationError>(warningsList); 109this.errors = new ReadOnlyCollection<ValidationError>(errorsList);
System\Activities\XamlIntegration\TextExpressionCompilerResults.cs (1)
48this.messages = new ReadOnlyCollection<TextExpressionCompilerError>(messages);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (2)
54this.dropDownItems = new ReadOnlyCollection<DynamicActivityProperty>(new List<DynamicActivityProperty>()); 139this.DropDownItems = new ReadOnlyCollection<DynamicActivityProperty>(list);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
90return new ReadOnlyCollection<ModelItem>(this.itemsAdded.ToList()); 98return new ReadOnlyCollection<ModelItem>(this.itemsRemoved.ToList());
System.Core (11)
Microsoft\Scripting\Actions\CallSite.cs (3)
716new ReadOnlyCollection<ParameterExpression>(vars), 717new ReadOnlyCollection<Expression>(body) 722new ReadOnlyCollection<ParameterExpression>(@params)
Microsoft\Scripting\Ast\BlockExpression.cs (1)
169new ReadOnlyCollection<Expression>(new BlockExpressionList(provider, tObj)),
Microsoft\Scripting\Ast\Expression.cs (1)
303new ReadOnlyCollection<Expression>(new ListArgumentProvider(provider, tObj)),
Microsoft\Scripting\Compiler\StackSpiller.cs (3)
813testValues = new ReadOnlyCollection<Expression>(cloneTests); 834cases = new ReadOnlyCollection<SwitchCase>(clone); 902handlers = new ReadOnlyCollection<CatchBlock>(clone);
Microsoft\Scripting\Compiler\VariableBinder.cs (1)
146body = new ReadOnlyCollection<Expression>(new[] { lambda.Body });
System\Linq\Expressions\ExpressionVisitor.cs (2)
330return new ReadOnlyCollection<T>(sequence.ToArray()); 337_defaultCollection = new ReadOnlyCollection<T>(new T[] { });
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
90return new ReadOnlyCollection<ModelItem>(this.itemsAdded.ToList()); 98return new ReadOnlyCollection<ModelItem>(this.itemsRemoved.ToList());
System.Data.Entity (63)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
29return new System.Collections.ObjectModel.ReadOnlyCollection<TElement>(list); 404(varList) => new System.Collections.ObjectModel.ReadOnlyCollection<DbVariableReferenceExpression>(varList) 1675validRelatedRefs = new System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef>(new DbRelatedEntityRef[] { });
System\Data\Common\CommandTrees\ExpressionBuilder\Row.cs (1)
30this.arguments = new System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<string, DbExpression>>(Helpers.Prepend(columnValues, columnValue));
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (1)
109return new PatternMatchRuleProcessor(new System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule>(rules)).Process;
System\Data\Common\DataRecordInfo.cs (2)
66_fieldMetadata = new System.Collections.ObjectModel.ReadOnlyCollection<FieldMetadata>(fieldList); 92_fieldMetadata = new System.Collections.ObjectModel.ReadOnlyCollection<FieldMetadata>(fieldList);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3891var gpExpressionLambdaVariables = new System.Collections.ObjectModel.ReadOnlyCollection<DbVariableReferenceExpression>(
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (2)
142this.NestedCoordinators = new System.Collections.ObjectModel.ReadOnlyCollection<CoordinatorFactory>(nestedCoordinators); 143this.RecordStateFactories = new System.Collections.ObjectModel.ReadOnlyCollection<RecordStateFactory>(recordStateFactories);
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (4)
101this.NestedRecordStateFactories = new System.Collections.ObjectModel.ReadOnlyCollection<RecordStateFactory>(nestedRecordStateFactories); 105this.ColumnNames = new System.Collections.ObjectModel.ReadOnlyCollection<string>(propertyNames); 106this.TypeUsages = new System.Collections.ObjectModel.ReadOnlyCollection<TypeUsage>(typeUsages); 129this.IsColumnNested = new System.Collections.ObjectModel.ReadOnlyCollection<bool>(isColumnNested);
System\Data\Common\Utils\KeyToListMap.cs (2)
99return new System.Collections.ObjectModel.ReadOnlyCollection<TValue>(m_map[key]); 111valueCollection = new System.Collections.ObjectModel.ReadOnlyCollection<TValue>(list);
System\Data\EntityClient\EntityCommandDefinition.cs (1)
136_parameters = new System.Collections.ObjectModel.ReadOnlyCollection<EntityParameter>(parameterList);
System\Data\EntityClient\EntityConnectionStringBuilder.cs (1)
164return new System.Collections.ObjectModel.ReadOnlyCollection<string>(s_validKeywords);
System\Data\EntityModel\SchemaObjectModel\Function.cs (1)
217return null != _returnTypeList ? new ReadOnlyCollection<ReturnType>(_returnTypeList) : null;
System\Data\Mapping\FunctionImportMapping.cs (8)
61this.NormalizedEntityTypeMappings = new OM.ReadOnlyCollection<FunctionImportNormalizedEntityTypeMapping>(new List<FunctionImportNormalizedEntityTypeMapping>()); 62this.DiscriminatorColumns = new OM.ReadOnlyCollection<string>(new List<string>()); 63this.MappedEntityTypes = new OM.ReadOnlyCollection<EntityType>(new List<EntityType>()); 167this.NormalizedEntityTypeMappings = new OM.ReadOnlyCollection<FunctionImportNormalizedEntityTypeMapping>( 191this.NormalizedEntityTypeMappings = new OM.ReadOnlyCollection<FunctionImportNormalizedEntityTypeMapping>(new List<FunctionImportNormalizedEntityTypeMapping>()); 192this.DiscriminatorColumns = new OM.ReadOnlyCollection<string>(new List<string>() { }); 193this.MappedEntityTypes = new OM.ReadOnlyCollection<EntityType>(new List<EntityType>() { }); 530this.ColumnConditions = new OM.ReadOnlyCollection<FunctionImportEntityTypeMappingCondition>(columnConditions.ToList());
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (3)
42this.IsOfTypeEntityTypes = new ReadOnlyCollection<EntityType>( 44this.EntityTypes = new ReadOnlyCollection<EntityType>( 46this.Conditions = new ReadOnlyCollection<FunctionImportEntityTypeMappingCondition>(
System\Data\Mapping\FunctionImportMappingNonComposable.cs (2)
40this.ResultMappings = new OM.ReadOnlyCollection<FunctionImportStructuralTypeMappingKB>( 48this.ResultMappings = new OM.ReadOnlyCollection<FunctionImportStructuralTypeMappingKB>(
System\Data\Mapping\StorageAssociationTypeMapping.cs (1)
88return new ReadOnlyCollection<EdmType>(new AssociationType[] { m_relation });
System\Data\Mapping\StorageMappingItemCollection.cs (1)
508return new ReadOnlyCollection<EdmMember>(interestingMembers.Distinct().ToList());
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
299this.Members = new ReadOnlyCollection<EdmMember>(new List<EdmMember>(
System\Data\Mapping\StorageSetMapping.cs (1)
238return new ReadOnlyCollection<Triple>(m_typeSpecificQueryViews.Keys.ToList());
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (1)
52return new ReadOnlyCollection<IEntityStateEntry>(interpreter.m_stateEntries);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (2)
35m_slots = new ReadOnlyCollection<SlotInfo>(slotInfos); 36m_children = new ReadOnlyCollection<CqlBlock>(children);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (2)
264childBlock.Slots = new ReadOnlyCollection<SlotInfo>(paddedSlotInfo); 294childBlock.Slots = new ReadOnlyCollection<SlotInfo>(childSlots);
System\Data\Metadata\Edm\ItemCollection.cs (1)
507functionLookUpTable.Add(functionList[0].FullName, new System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>(functionList.ToArray()));
System\Data\Metadata\Edm\MemberCollection.cs (1)
78return new System.Collections.ObjectModel.ReadOnlyCollection<EdmMember>(this);
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
224System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> readOnlyTypes = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(primitiveTypes);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (8)
196System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> readOnlyTypes = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(primitiveTypes); 756promotionTypes[i] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { _primitiveTypes[i] }); 762promotionTypes[(int)PrimitiveTypeKind.Byte] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { 775promotionTypes[(int)PrimitiveTypeKind.Int16] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { 787promotionTypes[(int)PrimitiveTypeKind.Int32] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { 798promotionTypes[(int)PrimitiveTypeKind.Int64] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { 808promotionTypes[(int)PrimitiveTypeKind.Single] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] { 838promotionTypes[(int)promotableKind] = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(new PrimitiveType[] {
System\Data\Metadata\ObjectHelper.cs (5)
33internal static readonly ReadOnlyCollection<KeyValuePair<string, object>> EmptyKeyValueStringObjectList = new ReadOnlyCollection<KeyValuePair<string, object>>(new KeyValuePair<string, object>[0]); 34internal static readonly ReadOnlyCollection<string> EmptyStringList = new ReadOnlyCollection<string>(new string[0]); 35internal static readonly ReadOnlyCollection<FacetDescription> EmptyFacetDescriptionEnumerable = new ReadOnlyCollection<FacetDescription>(new FacetDescription[0]); 36internal static readonly ReadOnlyCollection<EdmFunction> EmptyEdmFunctionReadOnlyCollection = new ReadOnlyCollection<EdmFunction>(new EdmFunction[0]); 37internal static readonly ReadOnlyCollection<PrimitiveType> EmptyPrimitiveTypeReadOnlyCollection = new ReadOnlyCollection<PrimitiveType>(new PrimitiveType[0]);
System\Data\Metadata\TypeSemantics.cs (1)
1174return new objectModel.ReadOnlyCollection<PrimitiveType>(commonTypes);
System\Data\Objects\ELinq\ExpressionVisitorHelpers.cs (2)
41return new ReadOnlyCollection<T>(sequence.ToArray()); 51_defaultCollection = new ReadOnlyCollection<T>(new T[] { });
System\Data\Query\PlanCompiler\TransformationRules.cs (3)
693ReadOnlyCollection<InternalTrees.Rule> NoRules = new ReadOnlyCollection<InternalTrees.Rule>(new InternalTrees.Rule[0]); 713rulesPerType[i] = new ReadOnlyCollection<InternalTrees.Rule>(lookupTable[i].ToArray()); 720return new ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>>(rulesPerType);
System.Data.Linq (1)
SqlClient\Query\Funcletizer.cs (1)
315return new ReadOnlyCollection<Expression>(list);
System.Data.Services (12)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
368return new ReadOnlyCollection<Expression>(list);
System\Data\Services\ETagAttribute.cs (2)
39this.propertyNames = new ReadOnlyCollection<string>(new List<string>(new string[1] { propertyName })); 55this.propertyNames = new ReadOnlyCollection<string>(new List<string>(propertyNames));
System\Data\Services\IgnorePropertiesAttribute.cs (2)
41this.propertyNames = new ReadOnlyCollection<string>(new List<string>(new string[1] { propertyName })); 57this.propertyNames = new ReadOnlyCollection<string>(new List<string>(propertyNames));
System\Data\Services\Providers\ResourceType.cs (5)
36internal static readonly ReadOnlyCollection<ResourceProperty> EmptyProperties = new ReadOnlyCollection<ResourceProperty>(new ResourceProperty[0]); 274readOnlyProperties = new ReadOnlyCollection<ResourceProperty>(this.propertiesDeclaredOnThisType ?? ResourceType.EmptyProperties); 323readOnlyKeyProperties = new ReadOnlyCollection<ResourceProperty>(key); 351ReadOnlyCollection<ResourceProperty> etag = new ReadOnlyCollection<ResourceProperty>(this.Properties.Where(p => p.IsOfKind(ResourcePropertyKind.ETag)).ToList()); 1025readOnlyAllProps = new ReadOnlyCollection<ResourceProperty>(allProps);
System\Data\Services\Providers\ServiceOperation.cs (2)
36private static ReadOnlyCollection<ServiceOperationParameter> emptyParameterCollection = new ReadOnlyCollection<ServiceOperationParameter>(new ServiceOperationParameter[0]); 104this.parameters = new ReadOnlyCollection<ServiceOperationParameter>(new List<ServiceOperationParameter>(parameters));
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
368return new ReadOnlyCollection<Expression>(list);
System\Data\Services\Client\DataServiceKeyAttribute.cs (2)
37this.keyNames = new ReadOnlyCollection<string>(new string[1] { keyName }); 54this.keyNames = new ReadOnlyCollection<string>(keyNames);
System.IdentityModel (6)
System\IdentityModel\Configuration\IdentityConfiguration.cs (2)
324SecurityTokenResolver serviceCertificateResolver = SecurityTokenResolver.CreateDefaultSecurityTokenResolver(new ReadOnlyCollection<SecurityToken>( 358SecurityTokenResolver knownCertificateTokenResolver = SecurityTokenResolver.CreateDefaultSecurityTokenResolver(new ReadOnlyCollection<SecurityToken>(tokens), false);
System\IdentityModel\Policy\DefaultEvaluationContext.cs (1)
40this.readOnlyClaimSets = new ReadOnlyCollection<ClaimSet>(this.claimSets);
System\IdentityModel\SecurityUtils.cs (1)
1006public static ReadOnlyCollection<T> Instance = new ReadOnlyCollection<T>(new List<T>());
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
324_securityKeys = new ReadOnlyCollection<SecurityKey>(new SecurityKey[] { new InMemorySymmetricSecurityKey(key) }); 513_securityKeys = new ReadOnlyCollection<SecurityKey>(new SecurityKey[] { new InMemorySymmetricSecurityKey(key) });
System.Runtime.Caching (1)
System\Caching\MemoryCacheEntryChangeMonitor.cs (1)
109public override ReadOnlyCollection<string> CacheKeys { get { return new ReadOnlyCollection<string>(_keys); } }
System.Runtime.DurableInstancing (1)
System\Runtime\DurableInstancing\InstanceView.cs (1)
210this.queryResults = new ReadOnlyCollection<InstanceStoreQueryResult>(QueryResultsBacking);
System.Runtime.Serialization (4)
System\Runtime\Serialization\DataContractSerializer.cs (2)
197knownTypeCollection = new ReadOnlyCollection<Type>(knownTypeList); 201knownTypeCollection = new ReadOnlyCollection<Type>(Globals.EmptyTypeArray);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
132knownTypeCollection = new ReadOnlyCollection<Type>(knownTypeList); 136knownTypeCollection = new ReadOnlyCollection<Type>(Globals.EmptyTypeArray);
System.ServiceModel (52)
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (1)
15static ReadOnlyCollection<string> emptyNeededData = new ReadOnlyCollection<string>(new List<string>(0));
System\ServiceModel\Channels\CorrelationDataSourceHelper.cs (2)
22this.dataSources = new ReadOnlyCollection<CorrelationDataDescription>(new List<CorrelationDataDescription>(dataSources)); 35this.dataSources = new ReadOnlyCollection<CorrelationDataDescription>(newData);
System\ServiceModel\Channels\CorrelationMessageProperty.cs (5)
17static readonly ReadOnlyCollection<InstanceKey> emptyInstanceKeyList = new ReadOnlyCollection<InstanceKey>(new List<InstanceKey>(0)); 58this.additionalKeys = new ReadOnlyCollection<InstanceKey>(additionalKeysList); 77this.transientCorrelations = new ReadOnlyCollection<InstanceKey>(transientCorrelationsList); 179this.additionalKeys = new ReadOnlyCollection<InstanceKey>(value); 200this.transientCorrelations = new ReadOnlyCollection<InstanceKey>(value);
System\ServiceModel\Channels\PeerIPHelper.cs (2)
118return new ReadOnlyCollection<IPAddress>(cloneArray); 128return new ReadOnlyCollection<IPAddress>(cloneArray);
System\ServiceModel\Channels\PeerMaintainer.cs (1)
571return (new ReadOnlyCollection<PeerNodeAddress>(reply));
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
387this.keys = new ReadOnlyCollection<SecurityKey>(new List<SecurityKey>());
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
403result = new PeerNodeAddress(new EndpointAddress(uriBuilder.Uri), new ReadOnlyCollection<IPAddress>(addresses)); 688return new ReadOnlyCollection<PeerNodeAddress>(new List<PeerNodeAddress>()); 716return new ReadOnlyCollection<PeerNodeAddress>(nodeAddressList);
System\ServiceModel\Channels\RedirectionException.cs (2)
81this.Locations = new ReadOnlyCollection<RedirectionLocation>(locations); 97this.Locations = new ReadOnlyCollection<RedirectionLocation>(locations);
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
207return (T)(object)(new AggregateLogonTokenCacheManager(new ReadOnlyCollection<ILogonTokenCacheManager>(cacheManagers)));
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
39return new ReadOnlyCollection<IBindingConfigurationElement>(configuredBindings);
System\ServiceModel\Configuration\StandardBindingCollectionElement.cs (1)
39return new ReadOnlyCollection<IBindingConfigurationElement>(configuredBindings);
System\ServiceModel\Configuration\StandardEndpointCollectionElement.cs (1)
40return new ReadOnlyCollection<StandardEndpointElement>(configuredEndpoints);
System\ServiceModel\Dispatcher\ActionMessageFilter.cs (1)
68this.actionSet = new ReadOnlyCollection<string>(new List<string>(this.actions.Keys));
System\ServiceModel\OperationContext.cs (1)
330return new System.Collections.ObjectModel.ReadOnlyCollection<SupportingTokenSpecification>(
System\ServiceModel\PeerNodeAddress.cs (2)
33set { ipAddresses = new ReadOnlyCollection<IPAddress>((value == null) ? new IPAddress[0] : value); } 76this.ipAddresses = new ReadOnlyCollection<IPAddress>(new IPAddress[0]);
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (2)
143ReadOnlyCollection<IPAddress> addresses = new ReadOnlyCollection<IPAddress>(addresslist); 366return new ReadOnlyCollection<PeerNodeAddress>(output_addresses);
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
121this.sessionResolverList = new ReadOnlyCollection<SecurityTokenResolver>(tmp);
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (1)
61this.sessionTokenResolverList = new ReadOnlyCollection<SecurityTokenResolver>(tmp);
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (1)
233this.recipientOutOfBandTokenResolverList = new ReadOnlyCollection<SecurityTokenResolver>(tmp);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
39= new ReadOnlyCollection<IAuthorizationPolicy>(
System\ServiceModel\Security\IssuedTokensHeader.cs (2)
71this.tokenIssuances = new ReadOnlyCollection<RequestSecurityTokenResponse>(coll); 107this.tokenIssuances = new ReadOnlyCollection<RequestSecurityTokenResponse>(coll);
System\ServiceModel\Security\MessagePartSpecification.cs (1)
32return new ReadOnlyCollection<XmlQualifiedName>(headerTypes);
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (1)
159this.supportedSpecs = new ReadOnlyCollection<string>(supportedSpecs);
System\ServiceModel\Security\RequestSecurityToken.cs (1)
573this.requestProperties = new ReadOnlyCollection<XmlElement>(this.requestProperties);
System\ServiceModel\Security\SecurityMessageProperty.cs (1)
304return new ReadOnlyCollection<IAuthorizationPolicy>(policies);
System\ServiceModel\Security\SecurityProtocol.cs (3)
93emptyTokenProviders = new ReadOnlyCollection<SupportingTokenProviderSpecification>(new List<SupportingTokenProviderSpecification>()); 425new ReadOnlyCollection<SupportingTokenProviderSpecification>((Collection<SupportingTokenProviderSpecification>)this.channelSupportingTokenProviderSpecification); 666return new ReadOnlyCollection<SecurityTokenResolver>(outOfBandResolvers);
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
1060new ReadOnlyCollection<SupportingTokenAuthenticatorSpecification>((Collection<SupportingTokenAuthenticatorSpecification>)this.channelSupportingTokenAuthenticatorSpecification);
System\ServiceModel\Security\SecurityUtils.cs (1)
2430public static ReadOnlyCollection<T> Instance = new ReadOnlyCollection<T>(new List<T>());
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (1)
274outOfBandTokenResolver = (outOfBandTokens.Count > 0) ? SecurityTokenResolver.CreateDefaultSecurityTokenResolver(new ReadOnlyCollection<SecurityToken>(outOfBandTokens), false) : null;
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (1)
179this.recipientOutOfBandTokenResolverList = new ReadOnlyCollection<SecurityTokenResolver>(tmp);
System\ServiceModel\Security\WSTrustChannel.cs (1)
521new ReadOnlyCollection<IAuthorizationPolicy>(new List<IAuthorizationPolicy>()));
System\ServiceModel\ServiceHost.cs (2)
126externalBaseAddresses = new ReadOnlyCollection<Uri>(new List<Uri>(this.baseAddresses)); 509return new ReadOnlyCollection<ServiceEndpoint>(defaultEndpoints);
System\UriTemplate.cs (5)
1030this.keys = new ReadOnlyCollection<string>(new List<string>(this.defaults.Keys)); 1031this.values = new ReadOnlyCollection<string>(new List<string>(this.defaults.Values)); 1161emptyStringCollection = new ReadOnlyCollection<string>(new List<string>()); 1180Interlocked.CompareExchange<ReadOnlyCollection<string>>(ref this.pathSegmentVariableNamesSnapshot, new ReadOnlyCollection<string>( 1192Interlocked.CompareExchange<ReadOnlyCollection<string>>(ref this.queryValueVariableNamesSnapshot, new ReadOnlyCollection<string>(
System.ServiceModel.Activities (5)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
197this.receiveNames = new ReadOnlyCollection<string>(receiveNames); 198this.sendNames = new ReadOnlyCollection<string>(sendNames);
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
207additionalKeys = new ReadOnlyCollection<InstanceKey>(new InstanceKey[] { }); 270static ReadOnlyCollection<InstanceKey> emptyKeyCollection = new ReadOnlyCollection<InstanceKey>(new InstanceKey[] { });
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
70static ReadOnlyCollection<BookmarkInfo> emptyBookmarkInfoCollection = new ReadOnlyCollection<BookmarkInfo>(new List<BookmarkInfo>());
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryServiceExtension.cs (1)
22this.readOnlyPublishedEndpoints = new ReadOnlyCollection<EndpointDiscoveryMetadata>(this.publishedEndpoints);
System.Web (2)
HttpContext.cs (1)
261_webSocketRequestedProtocols = new ReadOnlyCollection<string>(requestedProtocols ?? new string[0]);
ModelBinding\ComplexModel.cs (1)
19PropertyMetadata = new ReadOnlyCollection<ModelMetadata>(propertyMetadata.ToList());
System.Web.DataVisualization (2)
Common\General\Selection.cs (2)
1375this.Markers = new ReadOnlyCollection<PointF>( new PointF[] {}); 2493result.Markers = new ReadOnlyCollection<PointF>((PointF[])list.ToArray(typeof(PointF)));
System.Web.DynamicData (6)
DynamicData\MetaModel.cs (1)
59_tablesRO = new ReadOnlyCollection<MetaTable>(_tables);
DynamicData\MetaTable.cs (1)
400Columns = new ReadOnlyCollection<MetaColumn>(columns);
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
54ForeignKeyNames = new ReadOnlyCollection<string>(foreignKeyNames);
DynamicData\ModelProviders\DLinqDataModelProvider.cs (1)
34_roTables = new ReadOnlyCollection<TableProvider>(DLinqTables);
DynamicData\ModelProviders\DLinqTableProvider.cs (1)
42_roColumns = new ReadOnlyCollection<ColumnProvider>(_columns);
DynamicData\ModelProviders\EFTableProvider.cs (1)
39_roColumns = new ReadOnlyCollection<ColumnProvider>(columns);
System.Web.Extensions (9)
ClientServices\Providers\SettingsSavedEventArgs.cs (1)
18_failedSettingsList = new ReadOnlyCollection<string>(list);
UI\ScriptManager.cs (7)
1125return new ReadOnlyCollection<RegisteredArrayDeclaration>(ScriptRegistration.ScriptArrays); 1131return new ReadOnlyCollection<RegisteredScript>(ScriptRegistration.ScriptBlocks); 1136return new ReadOnlyCollection<RegisteredDisposeScript>(ScriptRegistration.ScriptDisposes); 1141return new ReadOnlyCollection<RegisteredExpandoAttribute>(ScriptRegistration.ScriptExpandos); 1146return new ReadOnlyCollection<RegisteredHiddenField>(ScriptRegistration.ScriptHiddenFields); 1151return new ReadOnlyCollection<RegisteredScript>(ScriptRegistration.ScriptSubmitStatements); 1156return new ReadOnlyCollection<RegisteredScript>(ScriptRegistration.ScriptStartupBlocks);
UI\WebControls\QueryableDataSource.cs (1)
64_viewNames = new ReadOnlyCollection<string>(new[] { DefaultViewName });
System.Windows.Forms.DataVisualization (2)
Common\General\Selection.cs (2)
1375this.Markers = new ReadOnlyCollection<PointF>( new PointF[] {}); 2493result.Markers = new ReadOnlyCollection<PointF>((PointF[])list.ToArray(typeof(PointF)));
System.Workflow.Activities (3)
StateMachineWorkflowInstance.cs (3)
283return new ReadOnlyCollection<string>(stateHistory.ToArray()); 293return new ReadOnlyCollection<string>(stateHistory.ToArray()); 316ReadOnlyCollection<string> history = new ReadOnlyCollection<string>(stateHistory.ToArray());
System.Workflow.ComponentModel (10)
AuthoringOM\Activity.cs (1)
1387this.SetValue(SynchronizationHandlesProperty, new ReadOnlyCollection<string>(new List<string>(handles)));
AuthoringOM\ActivityExecutionContextCollection.cs (1)
52return new ReadOnlyCollection<ActivityExecutionContext>(this.executionContexts);
AuthoringOM\Behaviors\CancellationHandlerDesigner.cs (1)
39return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Behaviors\CompensatableTransactionScopeActivityDesigner.cs (1)
34return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Behaviors\CompensationDesigner.cs (1)
34return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
38return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (1)
40return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Behaviors\TransactionScopeDesigner.cs (1)
34return new ReadOnlyCollection<DesignerView>(views);
AuthoringOM\Compiler\XomlCompiler.cs (1)
232this.authorizedTypes = new ReadOnlyCollection<AuthorizedType>(authorizedTypes);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2283WorkflowMarkupSerializer.StaticAuthorizedTypes = new ReadOnlyCollection<AuthorizedType>(authorizedTypes);
System.Workflow.Runtime (8)
KeyedPriorityQueue.cs (2)
137return new ReadOnlyCollection<V>(values); 150return new ReadOnlyCollection<K>(keys);
System\Activities\Statements\InteropEnvironment.cs (1)
22static readonly ReadOnlyCollection<IComparable> emptyList = new ReadOnlyCollection<IComparable>(new IComparable[] { });
WorkflowDefinitionDispenser.cs (3)
66return new ReadOnlyCollection<PropertyInfo>(this.workflowOutParameters[workflowType]); 540keys = new ReadOnlyCollection<K>(keyList); 546values = new ReadOnlyCollection<Activity>(list);
WorkflowRuntime.cs (2)
1053return new ReadOnlyCollection<object>(retval); 1070return new ReadOnlyCollection<T>(l);
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (1)
48this.inputs = new ReadOnlyCollection<object>(inputs);
System\Workflow\Activities\ReceiveActivity.cs (1)
1724new ReadOnlyCollection<ClaimSet>(new List<ClaimSet>()) :
WindowsBase (5)
Base\System\IO\Packaging\PackageDigitalSignature.cs (2)
91_signedParts = new ReadOnlyCollection<Uri>(_processor.PartManifest); 110_signedRelationshipSelectors = new ReadOnlyCollection<PackageRelationshipSelector>(_processor.RelationshipManifest);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
170_signatureList = new ReadOnlyCollection<PackageDigitalSignature>(_signatures);
Base\System\Security\RightsManagement\CryptoProvider.cs (1)
320_boundGrantReadOnlyCollection = new ReadOnlyCollection<ContentGrant> (grantList);
Base\System\Security\RightsManagement\SecureEnvironment.cs (1)
206return new ReadOnlyCollection<ContentUser>(userList);
1751 references to ReadOnlyCollection
mscorlib (17)
system\AggregateException.cs (2)
39private ReadOnlyCollection<Exception> m_innerExceptions; // Complete set of exceptions. 327public ReadOnlyCollection<Exception> InnerExceptions
system\array.cs (2)
39public static ReadOnlyCollection<T> AsReadOnly<T>(T[] array) { 43Contract.Ensures(Contract.Result<ReadOnlyCollection<T>>() != null);
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
2031private ReadOnlyCollection<TKey> GetKeys() 2064private ReadOnlyCollection<TValue> GetValues()
system\collections\generic\list.cs (2)
251public ReadOnlyCollection<T> AsReadOnly() { 252Contract.Ensures(Contract.Result<ReadOnlyCollection<T>>() != null);
system\diagnostics\eventing\eventsource.cs (3)
4818public ReadOnlyCollection<Object> Payload { get; internal set; } 4823public ReadOnlyCollection<string> PayloadNames 4977private ReadOnlyCollection<string> m_payloadNames;
system\runtime\compilerservices\TaskAwaiter.cs (1)
184var edis = task.GetExceptionDispatchInfos();
system\threading\Tasks\Task.cs (2)
2121internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos() 7282var edis = task.GetExceptionDispatchInfos();
system\threading\Tasks\TaskExceptionHolder.cs (1)
403internal ReadOnlyCollection<ExceptionDispatchInfo> GetExceptionDispatchInfos()
system\timezoneinfo.cs (2)
226public ReadOnlyCollection<TimeZoneInfo> m_readOnlySystemTimeZones; 923static public ReadOnlyCollection<TimeZoneInfo> GetSystemTimeZones() {
PresentationCore (25)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
749ReadOnlyCollection<StylusPointPropertyInfo> propertyInfos 870ReadOnlyCollection<StylusPointPropertyInfo> propertyInfos
Core\CSharp\System\Windows\IContentHost.cs (1)
40ReadOnlyCollection<Rect> GetRectangles(ContentElement child);
Core\CSharp\System\Windows\Ink\GestureRecognizer.cs (4)
133public ReadOnlyCollection<ApplicationGesture> GetEnabledGestures() 164public ReadOnlyCollection<GestureRecognitionResult> Recognize(StrokeCollection strokes) 191internal ReadOnlyCollection<GestureRecognitionResult> CriticalRecognize(StrokeCollection strokes) 206private ReadOnlyCollection<GestureRecognitionResult> RecognizeImpl(StrokeCollection strokes)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (6)
623public virtual ReadOnlyCollection<ColorContext> ColorContexts 787public virtual ReadOnlyCollection<BitmapFrame> Frames 1070internal ReadOnlyCollection<ColorContext> InternalColorContexts 1729internal void SetupFrames(BitmapDecoder decoder, ReadOnlyCollection<BitmapFrame> frames) 1912internal ReadOnlyCollection<ColorContext> _readOnlycolorContexts; 1945internal ReadOnlyCollection<BitmapFrame> _readOnlyFrames;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
153public virtual ReadOnlyCollection<ColorContext> ColorContexts 888private ReadOnlyCollection<ColorContext> _readOnlycolorContexts;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (3)
330ReadOnlyCollection<ColorContext> colorContexts 367public abstract ReadOnlyCollection<ColorContext> ColorContexts { get; } 409internal ReadOnlyCollection<ColorContext> _readOnlycolorContexts;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
277public override ReadOnlyCollection<ColorContext> ColorContexts
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (2)
51ReadOnlyCollection<ColorContext> colorContexts 142public override ReadOnlyCollection<ColorContext> ColorContexts
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (2)
1383public ReadOnlyCollection<String> Author 1568public ReadOnlyCollection<String> Keywords
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (2)
133public override ReadOnlyCollection<ColorContext> ColorContexts 214public override ReadOnlyCollection<BitmapFrame> Frames
PresentationFramework (330)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
313ReadOnlyCollection<TextSegment> ts = tv.TextSegments;
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
357ReadOnlyCollection<TextSegment> rangeSegments = highlightRange.Range.TextSegments; 600private readonly ReadOnlyCollection<TextSegment> _ranges;
src\Framework\MS\Internal\Annotations\TextAnchor.cs (1)
568internal ReadOnlyCollection<TextSegment> TextSegments
src\Framework\MS\Internal\AppModel\IconHelper.cs (1)
473private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size)
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
967ReadOnlyCollection<ItemPropertyInfo> IItemProperties.ItemProperties
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
271public ReadOnlyCollection<ItemPropertyInfo> ItemProperties
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1917typeof(System.Collections.ObjectModel.ReadOnlyCollection<>),
src\Framework\MS\Internal\Documents\ColumnResult.cs (3)
164internal ReadOnlyCollection<ParagraphResult> Paragraphs 216ReadOnlyCollection<ParagraphResult> paragraphs = Paragraphs; 333private ReadOnlyCollection<ParagraphResult> _paragraphs;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
957public ReadOnlyCollection<DocumentPageView> PageViews 3206private ReadOnlyCollection<DocumentPageView> _pageViews;
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (2)
311internal override ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end) 529internal override ReadOnlyCollection<TextSegment> TextSegments
src\Framework\MS\Internal\Documents\HostedElements.cs (2)
39internal HostedElements(ReadOnlyCollection<TextSegment> textSegments) 222ReadOnlyCollection<TextSegment> _textSegments;
src\Framework\MS\Internal\Documents\IDocumentScrollInfo.cs (1)
206ReadOnlyCollection<DocumentPageView> PageViews { get; }
src\Framework\MS\Internal\Documents\LineResult.cs (1)
60internal abstract ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (4)
160ReadOnlyCollection<TextSegment> textSegments = _pageTextViews[i].TextSegments; 688internal override ReadOnlyCollection<TextSegment> TextSegments 721ReadOnlyCollection<DocumentPageView> pageViews; 877ReadOnlyCollection<TextSegment> segments;
src\Framework\MS\Internal\Documents\ParagraphResult.cs (32)
266internal ReadOnlyCollection<ParagraphResult> Paragraphs 291ReadOnlyCollection<ParagraphResult> paragraphs = Paragraphs; 310private ReadOnlyCollection<ParagraphResult> _paragraphs; 456internal ReadOnlyCollection<LineResult> Lines 472internal ReadOnlyCollection<ParagraphResult> Floaters 487internal ReadOnlyCollection<ParagraphResult> Figures 570private ReadOnlyCollection<LineResult> _lines; 575private ReadOnlyCollection<ParagraphResult> _floaters; 580private ReadOnlyCollection<ParagraphResult> _figures; 625internal ReadOnlyCollection<ParagraphResult> GetParagraphsFromPoint(Point point, bool snapToText) 637internal ReadOnlyCollection<ParagraphResult> GetParagraphsFromPosition(ITextPointer position) 722internal ReadOnlyCollection<ParagraphResult> Paragraphs 747ReadOnlyCollection<ParagraphResult> paragraphs = Paragraphs; 766private ReadOnlyCollection<ParagraphResult> _paragraphs; 811internal ReadOnlyCollection<ParagraphResult> CellParagraphs 835ReadOnlyCollection<ParagraphResult> cells = CellParagraphs; 854private ReadOnlyCollection<ParagraphResult> _cells; 900internal ReadOnlyCollection<ColumnResult> Columns 924ReadOnlyCollection<ColumnResult> columns = Columns; 933internal ReadOnlyCollection<ParagraphResult> FloatingElements 971private ReadOnlyCollection<ColumnResult> _columns; 976private ReadOnlyCollection<ParagraphResult> _floatingElements; 1016internal ReadOnlyCollection<ColumnResult> Columns 1039ReadOnlyCollection<ColumnResult> columns = Columns; 1048internal ReadOnlyCollection<ParagraphResult> FloatingElements 1118private ReadOnlyCollection<ColumnResult> _columns; 1123private ReadOnlyCollection<ParagraphResult> _floatingElements; 1189internal ReadOnlyCollection<ColumnResult> Columns 1212ReadOnlyCollection<ColumnResult> columns = Columns; 1221internal ReadOnlyCollection<ParagraphResult> FloatingElements 1291private ReadOnlyCollection<ColumnResult> _columns; 1296private ReadOnlyCollection<ParagraphResult> _floatingElements;
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
999ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 1302ReadOnlyCollection<TextSegment> ITextView.TextSegments
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (1)
87internal ReadOnlyCollection<TextSegment> GetTextSegments()
src\Framework\MS\Internal\Documents\TextDocumentView.cs (137)
156ReadOnlyCollection<TextSegment> textSegments = TextSegments; 172ReadOnlyCollection<ColumnResult> columns = Columns; 364internal override ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end) 470internal static bool Contains(ITextPointer position, ReadOnlyCollection<TextSegment> segments) 594internal override ReadOnlyCollection<TextSegment> TextSegments 606private ReadOnlyCollection<TextSegment> TextSegmentsCore 622internal ReadOnlyCollection<ColumnResult> Columns 640internal ReadOnlyCollection<ParagraphResult> FloatingElements 688private ITextPointer GetTextPositionFromPoint(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, bool snapToText, bool snapToTextInFloatingElements) 763ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 786ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 799ReadOnlyCollection<ParagraphResult> rowParagraphs = ((TableParagraphResult)paragraph).Paragraphs; 813ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPoint(point, snapToText); 841ReadOnlyCollection<ColumnResult> columns; 842ReadOnlyCollection<ParagraphResult> nestedFloatingElements; 908private ITextPointer GetTextPositionFromPoint(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, bool snapToText) 923ReadOnlyCollection<ParagraphResult> paragraphs; 970private CellInfo GetCellInfoFromPoint(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, Table tableFilter) 1022ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 1032ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPoint(point, false); 1090private CellInfo GetCellInfoFromPoint(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, Point point, Table tableFilter) 1105ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1119private Rect GetRectangleFromTextPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1171ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 1192ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPosition(position); 1218ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 1219ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 1232ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 1233ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 1259private Rect GetRectangleFromTextPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1269ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1281ReadOnlyCollection<ParagraphResult> paragraphs, 1348ReadOnlyCollection<ParagraphResult> paragraphs, 1349ReadOnlyCollection<ParagraphResult> floatingElements, 1375ReadOnlyCollection<ParagraphResult> floatingElements, 1459private bool IsAtCaretUnitBoundary(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1501ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 1516ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPosition(position); 1526ReadOnlyCollection<ColumnResult> columns = subpageParagraphResult.Columns; 1527ReadOnlyCollection<ParagraphResult> nestedFloatingElements = subpageParagraphResult.FloatingElements; 1538ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 1539ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 1550ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 1551ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 1565private bool IsAtCaretUnitBoundary(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1570ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1584private ITextPointer GetNextCaretUnitPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position, LogicalDirection direction) 1627ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 1643ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPosition(position); 1653ReadOnlyCollection<ColumnResult> columns = subpageParagraphResult.Columns; 1654ReadOnlyCollection<ParagraphResult> nestedFloatingElements = subpageParagraphResult.FloatingElements; 1665ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 1666ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 1677ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 1678ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 1693private ITextPointer GetNextCaretUnitPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position, LogicalDirection direction) 1698ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1710private ITextPointer GetBackspaceCaretUnitPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1751ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 1766ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPosition(position); 1776ReadOnlyCollection<ColumnResult> columns = subpageParagraphResult.Columns; 1777ReadOnlyCollection<ParagraphResult> nestedFloatingElements = subpageParagraphResult.FloatingElements; 1788ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 1789ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 1800ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 1801ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 1815private ITextPointer GetBackspaceCaretUnitPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 1820ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 1840private int GetColumnFromPoint(ReadOnlyCollection<ColumnResult> columns, Point point, bool snapToText) 1972private int GetParagraphFromPoint(ReadOnlyCollection<ParagraphResult> paragraphs, Point point, bool snapToText) 2100private int GetParagraphFromPointInFloatingElements(ReadOnlyCollection<ParagraphResult> floatingElements, Point point, bool snapToText) 2132private int GetColumnFromPosition(ReadOnlyCollection<ColumnResult> columns, ITextPointer position) 2183private static int GetParagraphFromPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position, out bool isFloatingPara) 2209private static int GetParagraphFromPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ITextPointer position) 2280private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ParagraphResult> paragraphs, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2327ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 2339ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraph).Lines; 2360ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((TableParagraphResult)paragraph).GetParagraphsFromPosition(position); 2371ReadOnlyCollection<ColumnResult> columns = subpageParagraphResult.Columns; 2372ReadOnlyCollection<ParagraphResult> nestedFloatingElements = subpageParagraphResult.FloatingElements; 2383ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 2384ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 2395ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 2396ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 2419private TextSegment GetLineRangeFromPosition(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position) 2425ReadOnlyCollection<ParagraphResult> paragraphs = (columnIndex < columns.Count && columnIndex >= 0) ? columns[columnIndex].Paragraphs : _emptyParagraphCollection; 2450private ITextPointer GetPositionAtNextLine(ReadOnlyCollection<ParagraphResult> paragraphs, ITextPointer position, double suggestedX, ref int count, out bool positionFound) 2475ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs[paragraphIndex]).Paragraphs; 2491ReadOnlyCollection<LineResult> lines = ((TextParagraphResult)paragraphs[paragraphIndex]).Lines; 2587ReadOnlyCollection<ParagraphResult> nestedParagraphs = subpageParagraphResult.Columns[0].Paragraphs; 2670private ITextPointer GetPositionAtNextLineInFloatingElements(ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position, double suggestedX, ref int count, out bool positionFound) 2690ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 2691ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 2703ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 2704ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 2721private ITextPointer GetPositionAtNextLine(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer position, double suggestedX, ref int count, out double newSuggestedX, out bool positionFound) 2793private ITextPointer GetPositionAtNextLineFromSiblingPara(ReadOnlyCollection<ParagraphResult> paragraphs, int paragraphIndex, double suggestedX, ref int count) 2819ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraphs[paragraphIndex]).Paragraphs; 2860ReadOnlyCollection<ParagraphResult> nestedParagraphs = subpageParagraphResult.Columns[0].Paragraphs; 2885ReadOnlyCollection<ParagraphResult> nestedParagraphs = subpageParagraphResult.Columns[0].Paragraphs; 2966ReadOnlyCollection<LineResult> lines = paragraph.Lines; 3075private ITextPointer GetPositionAtNextLineFromSiblingColumn(ReadOnlyCollection<ColumnResult> columns, int columnIndex, double columnSuggestedX, ref double newSuggestedX, ref int count) 3083ReadOnlyCollection<ParagraphResult> paragraphs = columns[columnIndex].Paragraphs; 3125ReadOnlyCollection<TextSegment> segments = this.TextSegmentsCore; 3138private bool GetGlyphRunsFromParagraphs(List<GlyphRun> glyphRuns, ITextPointer start, ITextPointer end, ReadOnlyCollection<ParagraphResult> paragraphs) 3165ReadOnlyCollection<ParagraphResult> nestedParagraphs = ((ContainerParagraphResult)paragraph).Paragraphs; 3191private void GetGlyphRunsFromFloatingElements(List<GlyphRun> glyphRuns, ITextPointer start, ITextPointer end, ReadOnlyCollection<ParagraphResult> floatingElements, out bool success) 3207ReadOnlyCollection<ColumnResult> columns = figureParagraphResult.Columns; 3208ReadOnlyCollection<ParagraphResult> nestedFloatingElements = figureParagraphResult.FloatingElements; 3219ReadOnlyCollection<ColumnResult> columns = floaterParagraphResult.Columns; 3220ReadOnlyCollection<ParagraphResult> nestedFloatingElements = floaterParagraphResult.FloatingElements; 3236private void GetGlyphRuns(List<GlyphRun> glyphRuns, ITextPointer start, ITextPointer end, ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements) 3268ReadOnlyCollection<ParagraphResult> paragraphs = columns[columnIndexStart].Paragraphs; 3282private ReadOnlyCollection<TextSegment> GetTextSegments() 3284ReadOnlyCollection<TextSegment> textSegments; 3310ReadOnlyCollection<ColumnResult> columns = Columns; 3563private ReadOnlyCollection<ColumnResult> _columns; 3568private ReadOnlyCollection<ParagraphResult> _floatingElements; 3573private static ReadOnlyCollection<ParagraphResult> _emptyParagraphCollection = new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 3578private ReadOnlyCollection<TextSegment> _segments;
src\Framework\MS\Internal\Documents\TextParagraphView.cs (10)
173ReadOnlyCollection<LineResult> lines = Lines; 280ReadOnlyCollection<LineResult> lines; 349internal static ITextPointer GetTextPositionFromPoint(ReadOnlyCollection<LineResult> lines, Point point, bool snapToText) 384internal static int GetLineFromPosition(ReadOnlyCollection<LineResult> lines, ITextPointer position) 506internal override ReadOnlyCollection<TextSegment> TextSegments 519internal ReadOnlyCollection<LineResult> Lines 555internal static int GetLineFromPoint(ReadOnlyCollection<LineResult> lines, Point point, bool snapToText) 592private static bool GetVerticalLineFromPoint(ReadOnlyCollection<LineResult> lines, Point point, bool snapToText, out int lineIndex) 719private static bool GetHorizontalLineFromPoint(ReadOnlyCollection<LineResult> lines, Point point, bool snapToText, ref int lineIndex) 831private ReadOnlyCollection<LineResult> _lines;
src\Framework\MS\Internal\Documents\TextViewBase.cs (4)
109internal virtual ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end) 321internal abstract ReadOnlyCollection<TextSegment> TextSegments { get; } 549ReadOnlyCollection<GlyphRun> ITextView.GetGlyphRuns(ITextPointer start, ITextPointer end) 669ReadOnlyCollection<TextSegment> ITextView.TextSegments
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
200ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
97internal ReadOnlyCollection<UIElement> SelectedElements
src\Framework\MS\Internal\LayoutDump.cs (6)
505ReadOnlyCollection<LineResult> lines = text.GetLineResults(); 649private static void DumpLineResults(XmlTextWriter writer, ReadOnlyCollection<LineResult> lines, Visual visualParent) 690private static void DumpParagraphResults(XmlTextWriter writer, string tagName, ReadOnlyCollection<ParagraphResult> paragraphs, Visual visualParent) 838ReadOnlyCollection<ParagraphResult> rowParagraphs = paragraph.Paragraphs; 846ReadOnlyCollection<ParagraphResult> cellParagraphs = ((RowParagraphResult)rowParagraphs[i]).CellParagraphs; 878private static void DumpColumnResults(XmlTextWriter writer, ReadOnlyCollection<ColumnResult> columns, Visual visualParent)
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (3)
123ReadOnlyCollection<TextSegment> textSegments; 440ReadOnlyCollection<TextSegment> textSegments; 512public ReadOnlyCollection<TextSegment> TextSegments;
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (1)
357ReadOnlyCollection<ColumnResult> colResults = paragraphResult.Columns;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
379internal ReadOnlyCollection<ParagraphResult> GetChildrenParagraphResults(out bool hasTextContent) 466ReadOnlyCollection<ParagraphResult> paragraphs = GetChildrenParagraphResults(out hasTextContent);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (7)
623private ReadOnlyCollection<ParagraphResult> GetChildrenParagraphResults(out bool hasTextContent) 725internal ReadOnlyCollection<ColumnResult> GetColumnResults(out bool hasTextContent) 794internal ReadOnlyCollection<ParagraphResult> GetParagraphResultsFromColumn(IntPtr pfstrack, Vector parentOffset, out bool hasTextContent) 815internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 822ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 856internal ReadOnlyCollection<ParagraphResult> FloatingElementResults
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (7)
628private ReadOnlyCollection<ParagraphResult> GetChildrenParagraphResults(out bool hasTextContent) 731internal ReadOnlyCollection<ColumnResult> GetColumnResults(out bool hasTextContent) 800internal ReadOnlyCollection<ParagraphResult> GetParagraphResultsFromColumn(IntPtr pfstrack, Vector parentOffset, out bool hasTextContent) 821internal Geometry GetTightBoundingGeometryFromTextPositions(ReadOnlyCollection<ColumnResult> columns, ReadOnlyCollection<ParagraphResult> floatingElements, ITextPointer startPosition, ITextPointer endPosition, Rect visibleRect) 828ReadOnlyCollection<ParagraphResult> paragraphs = (columns.Count > 0) ? columns[0].Paragraphs : new ReadOnlyCollection<ParagraphResult>(new List<ParagraphResult>(0)); 862internal ReadOnlyCollection<ParagraphResult> FloatingElementResults
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (5)
319internal ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child, bool isLimitedToTextView) 386internal ReadOnlyCollection<ParagraphResult> FloatingElementResults 428internal ReadOnlyCollection<ColumnResult> GetColumnResults(out bool hasTextContent) 594internal ReadOnlyCollection<ParagraphResult> GetParagraphResultsFromColumn(IntPtr pfstrack, Vector parentOffset, out bool hasTextContent) 1229ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
130ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (3)
608internal ReadOnlyCollection<ColumnResult> GetColumnResults(out bool hasTextContent) 683internal ReadOnlyCollection<ParagraphResult> GetParagraphResultsFromColumn(IntPtr pfstrack, Vector parentOffset, out bool hasTextContent) 767internal ReadOnlyCollection<ParagraphResult> FloatingElementResults
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
739internal ReadOnlyCollection<ParagraphResult> GetChildrenParagraphResults(out bool hasTextContent) 795internal ReadOnlyCollection<ParagraphResult> GetChildrenParagraphResultsForRow(int rowIndex, out bool hasTextContent) 847internal ReadOnlyCollection<ParagraphResult> GetParagraphsFromPoint(Point point, bool snapToText) 868internal ReadOnlyCollection<ParagraphResult> GetParagraphsFromPosition(ITextPointer position)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (6)
394internal ReadOnlyCollection<LineResult> GetLineResults() 399ReadOnlyCollection<LineResult> lines = new ReadOnlyCollection<LineResult>(new List<LineResult>(0)); 446internal ReadOnlyCollection<ParagraphResult> GetFloaters() 491internal ReadOnlyCollection<ParagraphResult> GetFigures() 1710private ReadOnlyCollection<LineResult> LineResultsFromSimpleLines(ref PTS.FSTEXTDETAILSFULL textDetails) 1769private ReadOnlyCollection<LineResult> LineResultsFromCompositeLines(ref PTS.FSTEXTDETAILSFULL textDetails)
src\Framework\MS\Internal\PtsHost\TextParaLineResult.cs (1)
104internal override ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end)
src\Framework\MS\Internal\Text\TextLineResult.cs (1)
94internal override ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end)
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
474public ReadOnlyCollection<Rect> GetRectangles(ContentElement child)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
7806ReadOnlyCollection<ItemPropertyInfo> itemProperties = ((IItemProperties)Items).ItemProperties; 7883ReadOnlyCollection<ItemPropertyInfo> itemProperties,
src\Framework\System\Windows\Controls\DataGridHelper.cs (1)
593ReadOnlyCollection<BindingExpressionBase> childBindings = null;
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
1246protected override ReadOnlyCollection<DocumentPageView> GetPageViewsCollection(out bool changed) 1248ReadOnlyCollection<DocumentPageView> pageViews = null;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1107ReadOnlyCollection<Rect> rects;
src\Framework\System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (2)
100internal ReadOnlyCollection<GridViewColumn> ClearedColumns 105private ReadOnlyCollection<GridViewColumn> _clearedColumns;
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
1101ReadOnlyCollection<GestureRecognitionResult> results = 1745public ReadOnlyCollection<ApplicationGesture> GetEnabledGestures() 1780public ReadOnlyCollection<UIElement> GetSelectedElements()
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1481ReadOnlyCollection<ItemPropertyInfo> IItemProperties.ItemProperties
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
148public ReadOnlyCollection<object> Items 2806private ReadOnlyCollection<object> _itemsReadOnly;
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (3)
336ReadOnlyCollection<LineResult> lr = null; 351ReadOnlyCollection<ColumnResult> cr = tdv.Columns; 355ReadOnlyCollection<ParagraphResult> pr = columnResult.Paragraphs;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
239public ReadOnlyCollection<DocumentPageView> PageViews 446protected virtual ReadOnlyCollection<DocumentPageView> GetPageViewsCollection(out bool changed) 849ReadOnlyCollection<DocumentPageView> pageViews; 891private void VerifyDocumentPageViews(ReadOnlyCollection<DocumentPageView> pageViews) 1676private ReadOnlyCollection<DocumentPageView> _pageViews; // Collection of DocumentPageViews presenting paginated Document.
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2528ReadOnlyCollection<Rect> rects = contentHost.GetRectangles(contentElement);
src\Framework\System\Windows\Controls\SelectedCellsChangedEventArgs.cs (2)
45public SelectedCellsChangedEventArgs(ReadOnlyCollection<DataGridCellInfo> addedCells, ReadOnlyCollection<DataGridCellInfo> removedCells)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (5)
695ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 837ReadOnlyCollection<DocumentPageView> pageViews = this.PageViews; 1018ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 1100ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 1136ReadOnlyCollection<DocumentPageView> pageViews;
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
109ReadOnlyCollection<TextSegment> textSegments = textView.TextSegments;
src\Framework\System\Windows\Controls\TextBlock.cs (5)
92ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 1827protected virtual ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child) 1966ReadOnlyCollection<TextSegment> textSegments = new ReadOnlyCollection<TextSegment>(textSegmentsList); 2127internal ReadOnlyCollection<LineResult> GetLineResults() 3477ReadOnlyCollection<Rect> rects = textBlock.GetRectanglesCore(child);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
686ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 703ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 924ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments; 1146ReadOnlyCollection<TextSegment> textSegments = pageTextView.TextSegments;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
285public virtual ReadOnlyCollection<ValidationError> ValidationErrors
src\Framework\System\Windows\Data\BindingGroup.cs (2)
254public ReadOnlyCollection<ValidationError> ValidationErrors 977ReadOnlyCollection<ValidationError> errors = Validation.GetErrors(mentor);
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
1275public ReadOnlyCollection<ItemPropertyInfo> ItemProperties
src\Framework\System\Windows\Data\BindingOperations.cs (2)
404public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root) 415public static ReadOnlyCollection<BindingGroup> GetSourceUpdatingBindingGroups(DependencyObject root)
src\Framework\System\Windows\Data\CollectionView.cs (1)
1459internal ReadOnlyCollection<ItemPropertyInfo> GetItemProperties()
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
1625public ReadOnlyCollection<ItemPropertyInfo> ItemProperties
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
106public ReadOnlyCollection<BindingExpressionBase> BindingExpressions
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (1)
60public ReadOnlyCollection<BindingExpressionBase> BindingExpressions
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (4)
426internal override ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end) 569internal override ReadOnlyCollection<TextSegment> TextSegments 575ReadOnlyCollection<TextSegment> childSegments = ChildTextView.TextSegments; 649private ReadOnlyCollection<TextSegment> _textSegments;
src\Framework\System\Windows\Documents\FixedTextView.cs (2)
735internal override ReadOnlyCollection<TextSegment> TextSegments 1305private ReadOnlyCollection<TextSegment> _textSegments;
src\Framework\System\Windows\Documents\Highlights.cs (2)
416internal LayerHighlightChangedEventArgs(ReadOnlyCollection<TextSegment> ranges, Type ownerType) 441private readonly ReadOnlyCollection<TextSegment> _ranges;
src\Framework\System\Windows\Documents\ITextView.cs (2)
363ReadOnlyCollection<GlyphRun> GetGlyphRuns(ITextPointer start, ITextPointer end); 530ReadOnlyCollection<TextSegment> TextSegments { get; }
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (2)
281public ReadOnlyCollection<SerializerDescriptor> InstalledSerializers 296private ReadOnlyCollection<SerializerDescriptor> _installedSerializers;
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
231private readonly ReadOnlyCollection<TextSegment> _ranges;
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (1)
380private readonly ReadOnlyCollection<TextSegment> _ranges;
src\Framework\System\Windows\Ink\Events.cs (2)
207public ReadOnlyCollection<UIElement> GetSelectedElements() 372public ReadOnlyCollection<GestureRecognitionResult> GetGestureRecognitionResults()
src\Framework\System\Windows\Input\KeyboardNavigation.cs (3)
745ReadOnlyCollection<Rect> oldRects = _contentRects; 808private ReadOnlyCollection<Rect> _contentRects; 2514ReadOnlyCollection<Rect> rects = parentICH.GetRectangles(ce);
src\Framework\System\Windows\SystemResources.cs (2)
203internal static ReadOnlyCollection<ResourceDictionaryInfo> ThemedResourceDictionaries 234internal static ReadOnlyCollection<ResourceDictionaryInfo> GenericResourceDictionaries
System (1)
net\System\Net\WebSockets\WebSocketBase.cs (1)
1362ReadOnlyCollection<Exception> unwrappedExceptions = aggregateException.Flatten().InnerExceptions;
System.Activities (78)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (12)
468ReadOnlyCollection<Expression> arguments = listInit.Initializers[i].Arguments; 497ReadOnlyCollection<MemberBinding> bindings = memberInit.Bindings; 510ReadOnlyCollection<Expression> arguments = arrayIndex.Arguments; 554ReadOnlyCollection<Expression> callArguments = methodCall.Arguments; 564ReadOnlyCollection<Expression> expressions = newArray.Expressions; 574ReadOnlyCollection<Expression> boundExpressions = newArrayBounds.Expressions; 592ReadOnlyCollection<Expression> ctorArguments = newExpression.Arguments; 627ReadOnlyCollection<ParameterExpression> variables = block.Variables; 632ReadOnlyCollection<Expression> blockExpressions = block.Expressions; 661ReadOnlyCollection<ElementInit> initializers = list.Initializers; 664ReadOnlyCollection<Expression> arguments = initializers[i].Arguments; 674ReadOnlyCollection<MemberBinding> bindings = member.Bindings;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (11)
654Expression Rewrite(Expression expression, ReadOnlyCollection<ParameterExpression> lambdaParameters, out bool abort) 659Expression Rewrite(Expression expression, ReadOnlyCollection<ParameterExpression> lambdaParameters, bool isLocationExpression, out bool abort) 668ReadOnlyCollection<Expression> tmpArguments; 800ReadOnlyCollection<ElementInit> tmpInitializers = listInit.Initializers; 909ReadOnlyCollection<MemberBinding> tmpMemberBindings = memberInit.Bindings; 990ReadOnlyCollection<Expression> tmpExpressions = newArray.Expressions; 1089ReadOnlyCollection<ParameterExpression> tmpVariables = block.Variables; 1135MemberBinding Rewrite(MemberBinding binding, ReadOnlyCollection<ParameterExpression> lambdaParameters, out bool abort) 1140ReadOnlyCollection<Expression> tmpArguments; 1158ReadOnlyCollection<ElementInit> tmpInitializers = list.Initializers; 1189ReadOnlyCollection<MemberBinding> tmpBindings = member.Bindings;
System\Activities\Activity.cs (1)
37internal static readonly ReadOnlyCollection<Constraint> EmptyConstraints = new ReadOnlyCollection<Constraint>(new Constraint[0]);
System\Activities\ActivityInstance.cs (4)
27ReadOnlyCollection<ActivityInstance> childCache; 513internal ReadOnlyCollection<ActivityInstance> GetChildren() 1618static ReadOnlyCollection<ActivityInstance> emptyChildren; 1625public static ReadOnlyCollection<ActivityInstance> Empty
System\Activities\DynamicUpdate\InstanceUpdateException.cs (3)
18private ReadOnlyCollection<ActivityBlockingUpdate> blockingActivities; 61this.blockingActivities = (ReadOnlyCollection<ActivityBlockingUpdate>)info.GetValue( 62"blockingActivities", typeof(ReadOnlyCollection<ActivityBlockingUpdate>));
System\Activities\ExclusiveHandle.cs (2)
19ReadOnlyCollection<BookmarkScopeHandle> readOnlyBookmarkScopeCollection; 38public ReadOnlyCollection<BookmarkScopeHandle> RegisteredBookmarkScopes
System\Activities\Expressions\ExpressionServices.cs (1)
1447static string TryConvertArguments(ReadOnlyCollection<Expression> source, IList target, Type expressionType, int baseEvaluationOrder, ParameterInfo[] parameterInfoArray, bool throwOnError)
System\Activities\Expressions\TextExpression.cs (2)
30private static readonly ReadOnlyCollection<string> defaultNamespaces = new ReadOnlyCollection<string>(new string[] 40private static readonly ReadOnlyCollection<AssemblyReference> defaultReferences = new ReadOnlyCollection<AssemblyReference>(new AssemblyReference[]
System\Activities\ExpressionUtilities.cs (11)
234static LocationFactory CreateParentReference(Expression expression, ReadOnlyCollection<ParameterExpression> lambdaParameters) 254static Func<ActivityContext, T> Compile<T>(Expression objectExpression, ReadOnlyCollection<ParameterExpression> parametersCollection) 266static T Evaluate<T>(Expression objectExpression, ReadOnlyCollection<ParameterExpression> parametersCollection, ActivityContext context) 456public ArgumentFactory(Expression argumentExpression, ReadOnlyCollection<ParameterExpression> expressionParameters) 473public LocationReferenceFactory(Expression locationReferenceExpression, ReadOnlyCollection<ParameterExpression> expressionParameters) 1447ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments; 1473ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments; 1507ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments; 1533ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments; 1671ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments; 1709ReadOnlyCollection<Expression> argumentExpressions = originalExpression.Arguments;
System\Activities\Hosting\WorkflowInstance.cs (2)
891public ReadOnlyCollection<BookmarkInfo> GetBookmarks() 909public ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope)
System\Activities\HybridCollection.cs (1)
120public ReadOnlyCollection<T> AsReadOnly()
System\Activities\NativeActivityContext.cs (1)
162public ReadOnlyCollection<ActivityInstance> GetChildren()
System\Activities\Runtime\ActivityExecutor.cs (5)
27static ReadOnlyCollection<BookmarkInfo> emptyBookmarkInfoCollection; 521static ReadOnlyCollection<BookmarkInfo> EmptyBookmarkInfoCollection 2579internal ReadOnlyCollection<BookmarkInfo> GetAllBookmarks() 2619internal ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope) 2627ReadOnlyCollection<BookmarkInfo> bookmarks = this.bookmarkScopeManager.GetBookmarks(scope);
System\Activities\Runtime\BookmarkScopeManager.cs (1)
304public ReadOnlyCollection<BookmarkInfo> GetBookmarks(BookmarkScope scope)
System\Activities\RuntimeArgument.cs (1)
123public ReadOnlyCollection<string> OverloadGroupNames
System\Activities\Statements\InternalState.cs (1)
895ReadOnlyCollection<ActivityInstance> children = context.GetChildren();
System\Activities\Statements\Pick.cs (2)
150ReadOnlyCollection<ActivityInstance> executingChildren = context.GetChildren(); 185ReadOnlyCollection<ActivityInstance> children = context.GetChildren();
System\Activities\Tracking\ActivityStateRecord.cs (1)
26static ReadOnlyCollection<string> wildcardCollection = new ReadOnlyCollection<string>(new List<string>(1) { "*" });
System\Activities\Tracking\RuntimeTrackingProfile.cs (2)
313static ActivityStateQuery MatchActivityState(ActivityStateRecord activityRecord, ReadOnlyCollection<ActivityStateQuery> subscriptions) 593ReadOnlyCollection<RuntimeTrackingProfile> runtimeProfileCollection = runtimeProfileList.AsReadOnly();
System\Activities\Validation\ActivityValidationServices.cs (2)
17internal static readonly ReadOnlyCollection<Activity> EmptyChildren = new ReadOnlyCollection<Activity>(new Activity[0]); 19internal static ReadOnlyCollection<ValidationError> EmptyValidationErrors = new ReadOnlyCollection<ValidationError>(new List<ValidationError>(0));
System\Activities\Validation\ValidationResults.cs (5)
15ReadOnlyCollection<ValidationError> allValidationErrors; 16ReadOnlyCollection<ValidationError> errors; 17ReadOnlyCollection<ValidationError> warnings; 32public ReadOnlyCollection<ValidationError> Errors 45public ReadOnlyCollection<ValidationError> Warnings
System\Activities\WorkflowApplication.cs (3)
2461internal ReadOnlyCollection<BookmarkInfo> GetBookmarksForIdle() 2466public ReadOnlyCollection<BookmarkInfo> GetBookmarks() 2471public ReadOnlyCollection<BookmarkInfo> GetBookmarks(TimeSpan timeout)
System\Activities\WorkflowApplicationIdleEventArgs.cs (2)
14ReadOnlyCollection<BookmarkInfo> bookmarks; 21public ReadOnlyCollection<BookmarkInfo> Bookmarks
System\Activities\XamlIntegration\TextExpressionCompilerResults.cs (2)
14ReadOnlyCollection<TextExpressionCompilerError> messages; 38public ReadOnlyCollection<TextExpressionCompilerError> CompilerMessages
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\DynamicActivityPropertyChooserViewModel.cs (2)
20private ReadOnlyCollection<DynamicActivityProperty> dropDownItems; 48public ReadOnlyCollection<DynamicActivityProperty> DropDownItems
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
86internal ReadOnlyCollection<ModelItem> ItemsAdded 94internal ReadOnlyCollection<ModelItem> ItemsRemoved
System.AddIn (2)
System\Addin\Hosting\InspectionWorker.cs (2)
283ReadOnlyCollection<CustomAttributeTypedArgument> types = (ReadOnlyCollection<CustomAttributeTypedArgument>)arg.Value;
System.Core (217)
Microsoft\Scripting\Actions\CallInfo.cs (3)
50private readonly ReadOnlyCollection<string> _argNames; 71var argNameCol = argNames.ToReadOnly(); 90public ReadOnlyCollection<string> ArgumentNames {
Microsoft\Scripting\Actions\CallSiteBinder.cs (2)
64internal readonly ReadOnlyCollection<ParameterExpression> Parameters; 101public abstract Expression Bind(object[] args, ReadOnlyCollection<ParameterExpression> parameters, LabelTarget returnLabel);
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (3)
73public sealed override Expression Bind(object[] args, ReadOnlyCollection<ParameterExpression> parameters, LabelTarget returnLabel) { 155private static DynamicMetaObject[] CreateArgumentMetaObjects(object[] args, ReadOnlyCollection<ParameterExpression> parameters) { 168private static BindingRestrictions AddRemoteObjectRestrictions(BindingRestrictions restrictions, object[] args, ReadOnlyCollection<ParameterExpression> parameters) {
Microsoft\Scripting\Ast\BlockExpression.cs (28)
42public ReadOnlyCollection<Expression> Expressions { 49public ReadOnlyCollection<ParameterExpression> Variables { 118internal virtual ReadOnlyCollection<Expression> GetOrMakeExpressions() { 132internal virtual ReadOnlyCollection<ParameterExpression> GetOrMakeVariables() { 146internal virtual BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 163internal static ReadOnlyCollection<Expression> ReturnReadOnlyExpressions(BlockExpression provider, ref object collection) { 175return (ReadOnlyCollection<Expression>)collection; 204internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 208internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 241internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 245internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 280internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 284internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 321internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 325internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 354internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 358internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 382internal override ReadOnlyCollection<ParameterExpression> GetOrMakeVariables() { 393internal IList<ParameterExpression> ReuseOrValidateVariables(ReadOnlyCollection<ParameterExpression> variables) { 425internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 429internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 455internal override ReadOnlyCollection<Expression> GetOrMakeExpressions() { 459internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 479internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) { 753var expressionList = expressions.ToReadOnly(); 771var expressionList = expressions.ToReadOnly(); 772var variableList = variables.ToReadOnly(); 797internal static void ValidateVariables(ReadOnlyCollection<ParameterExpression> varList, string collectionName) {
Microsoft\Scripting\Ast\DynamicExpression.cs (11)
52internal static DynamicExpression Make(Type returnType, Type delegateType, CallSiteBinder binder, ReadOnlyCollection<Expression> arguments) { 127public ReadOnlyCollection<Expression> Arguments { 131internal virtual ReadOnlyCollection<Expression> GetOrMakeArguments() { 449internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 495internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 543internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 593internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 645internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 710var args = arguments.ToReadOnly(); 1067var args = arguments.ToReadOnly(); 1072private static DynamicExpression MakeDynamic(CallSiteBinder binder, Type returnType, ReadOnlyCollection<Expression> args) {
Microsoft\Scripting\Ast\ElementInit.cs (4)
37private ReadOnlyCollection<Expression> _arguments; 39internal ElementInit(MethodInfo addMethod, ReadOnlyCollection<Expression> arguments) { 53public ReadOnlyCollection<Expression> Arguments { 112var argumentsRO = arguments.ToReadOnly();
Microsoft\Scripting\Ast\Expression.cs (8)
41private delegate LambdaExpression LambdaFactory(Expression body, string name, bool tailCall, ReadOnlyCollection<ParameterExpression> parameters); 263internal static ReadOnlyCollection<T> ReturnReadOnly<T>(ref IList<T> collection) { 267ReadOnlyCollection<T> res = value as ReadOnlyCollection<T>; 280return (ReadOnlyCollection<T>)collection; 297internal static ReadOnlyCollection<Expression> ReturnReadOnly(IArgumentProvider provider, ref object collection) { 309return (ReadOnlyCollection<Expression>)collection; 326return ((ReadOnlyCollection<T>)collectionOrT)[0];
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (16)
61public ReadOnlyCollection<Expression> Expressions { get { return _node.Expressions; } } 65public ReadOnlyCollection<ParameterExpression> Variables { get { return _node.Variables; } } 150public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } } 182public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } } 198public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } } 233public ReadOnlyCollection<ParameterExpression> Parameters { get { return _node.Parameters; } } 248public ReadOnlyCollection<ElementInit> Initializers { get { return _node.Initializers; } } 292public ReadOnlyCollection<MemberBinding> Bindings { get { return _node.Bindings; } } 307public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } } 325public ReadOnlyCollection<Expression> Expressions { get { return _node.Expressions; } } 337public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } } 341public ReadOnlyCollection<MemberInfo> Members { get { return _node.Members; } } 372public ReadOnlyCollection<ParameterExpression> Variables { get { return _node.Variables; } } 383public ReadOnlyCollection<Expression> TestValues { get { return _node.TestValues; } } 394public ReadOnlyCollection<SwitchCase> Cases { get { return _node.Cases; } } 415public ReadOnlyCollection<CatchBlock> Handlers { get { return _node.Handlers; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
580var members = node.Members;
Microsoft\Scripting\Ast\ExpressionVisitor.cs (7)
68public ReadOnlyCollection<Expression> Visit(ReadOnlyCollection<Expression> nodes) { 117public static ReadOnlyCollection<T> Visit<T>(ReadOnlyCollection<T> nodes, Func<T, T> elementVisitor) { 166public ReadOnlyCollection<T> VisitAndConvert<T>(ReadOnlyCollection<T> nodes, string callerName) where T : Expression { 228var v = VisitAndConvert(node.Variables, "VisitBlock");
Microsoft\Scripting\Ast\IndexExpression.cs (6)
98public ReadOnlyCollection<Expression> Arguments { 189var indexList = indexes.ToReadOnly(); 344var argList = arguments.ToReadOnly(); 354private static void ValidateIndexedProperty(Expression instance, PropertyInfo property, ref ReadOnlyCollection<Expression> argList) { 400private static void ValidateAccessor(Expression instance, MethodInfo method, ParameterInfo[] indexes, ref ReadOnlyCollection<Expression> arguments) { 416private static void ValidateAccessorArgumentTypes(MethodInfo method, ParameterInfo[] indexes, ref ReadOnlyCollection<Expression> arguments) {
Microsoft\Scripting\Ast\InvocationExpression.cs (2)
76public ReadOnlyCollection<Expression> Arguments { 182var args = arguments.ToReadOnly();
Microsoft\Scripting\Ast\LambdaExpression.cs (11)
50private readonly ReadOnlyCollection<ParameterExpression> _parameters; 59ReadOnlyCollection<ParameterExpression> parameters 90public ReadOnlyCollection<ParameterExpression> Parameters { 191internal Expression(Expression body, string name, bool tailCall, ReadOnlyCollection<ParameterExpression> parameters) 244internal static LambdaExpression Create(Expression body, string name, bool tailCall, ReadOnlyCollection<ParameterExpression> parameters) { 256internal static LambdaExpression CreateLambda(Type delegateType, Expression body, string name, bool tailCall, ReadOnlyCollection<ParameterExpression> parameters) { 350var parameterList = parameters.ToReadOnly(); 466var parameterList = parameters.ToReadOnly(); 498var paramList = parameters.ToReadOnly(); 514var paramList = parameters.ToReadOnly(); 520private static void ValidateLambdaArgs(Type delegateType, ref Expression body, ReadOnlyCollection<ParameterExpression> parameters) {
Microsoft\Scripting\Ast\ListInitExpression.cs (6)
45private readonly ReadOnlyCollection<ElementInit> _initializers; 47internal ListInitExpression(NewExpression newExpression, ReadOnlyCollection<ElementInit> initializers) { 87public ReadOnlyCollection<ElementInit> Initializers { 149var initializerlist = initializers.ToReadOnly(); 188var initializerlist = initializers.ToReadOnly(); 229var initializerlist = initializers.ToReadOnly();
Microsoft\Scripting\Ast\MemberInitExpression.cs (6)
36private readonly ReadOnlyCollection<MemberBinding> _bindings; 38internal MemberInitExpression(NewExpression newExpression, ReadOnlyCollection<MemberBinding> bindings) { 77public ReadOnlyCollection<MemberBinding> Bindings { 99internal static Expression ReduceMemberInit(Expression objExpression, ReadOnlyCollection<MemberBinding> bindings, bool keepOnStack) { 111internal static Expression ReduceListInit(Expression listExpression, ReadOnlyCollection<ElementInit> initializers, bool keepOnStack) { 175var roBindings = bindings.ToReadOnly();
Microsoft\Scripting\Ast\MemberListBinding.cs (5)
37ReadOnlyCollection<ElementInit> _initializers; 38internal MemberListBinding(MemberInfo member, ReadOnlyCollection<ElementInit> initializers) 48public ReadOnlyCollection<ElementInit> Initializers { 97var initList = initializers.ToReadOnly(); 130private static void ValidateListInitArgs(Type listType, ReadOnlyCollection<ElementInit> initializers) {
Microsoft\Scripting\Ast\MemberMemberBinding.cs (5)
39ReadOnlyCollection<MemberBinding> _bindings; 40internal MemberMemberBinding(MemberInfo member, ReadOnlyCollection<MemberBinding> bindings) 50public ReadOnlyCollection<MemberBinding> Bindings { 92ReadOnlyCollection<MemberBinding> roBindings = bindings.ToReadOnly(); 145private static void ValidateMemberInitArgs(Type type, ReadOnlyCollection<MemberBinding> bindings) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (14)
85public ReadOnlyCollection<Expression> Arguments { 104internal virtual ReadOnlyCollection<Expression> GetOrMakeArguments() { 160internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 196internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 229internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 269internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 310internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 353internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 398internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 446internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 495internal override ReadOnlyCollection<Expression> GetOrMakeArguments() { 795ReadOnlyCollection<Expression> argList = arguments.ToReadOnly(); 834private static void ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection<Expression> arguments) { 1034ReadOnlyCollection<Expression> indexList = indexes.ToReadOnly();
Microsoft\Scripting\Ast\NewArrayExpression.cs (8)
40private readonly ReadOnlyCollection<Expression> _expressions; 43internal NewArrayExpression(Type type, ReadOnlyCollection<Expression> expressions) { 48internal static NewArrayExpression Make(ExpressionType nodeType, Type type, ReadOnlyCollection<Expression> expressions) { 67public ReadOnlyCollection<Expression> Expressions { 97internal NewArrayInitExpression(Type type, ReadOnlyCollection<Expression> expressions) 112internal NewArrayBoundsExpression(Type type, ReadOnlyCollection<Expression> expressions) 153ReadOnlyCollection<Expression> initializerList = initializers.ToReadOnly(); 212ReadOnlyCollection<Expression> boundsList = bounds.ToReadOnly();
Microsoft\Scripting\Ast\NewExpression.cs (11)
43private readonly ReadOnlyCollection<MemberInfo> _members; 45internal NewExpression(ConstructorInfo constructor, IList<Expression> arguments, ReadOnlyCollection<MemberInfo> members) { 77public ReadOnlyCollection<Expression> Arguments { 94public ReadOnlyCollection<MemberInfo> Members { 126internal NewValueTypeExpression(Type type, ReadOnlyCollection<Expression> arguments, ReadOnlyCollection<MemberInfo> members) 169var argList = arguments.ToReadOnly(); 185var memberList = members.ToReadOnly(); 186var argList = arguments.ToReadOnly(); 228private static void ValidateNewArgs(ConstructorInfo constructor, ref ReadOnlyCollection<Expression> arguments, ref ReadOnlyCollection<MemberInfo> members) {
Microsoft\Scripting\Ast\RuntimeVariablesExpression.cs (4)
37private readonly ReadOnlyCollection<ParameterExpression> _variables; 39internal RuntimeVariablesExpression(ReadOnlyCollection<ParameterExpression> variables) { 63public ReadOnlyCollection<ParameterExpression> Variables { 108var vars = variables.ToReadOnly();
Microsoft\Scripting\Ast\SwitchCase.cs (4)
34private readonly ReadOnlyCollection<Expression> _testValues; 37internal SwitchCase(Expression body, ReadOnlyCollection<Expression> testValues) { 45public ReadOnlyCollection<Expression> TestValues { 100var values = testValues.ToReadOnly();
Microsoft\Scripting\Ast\SwitchExpression.cs (4)
41private readonly ReadOnlyCollection<SwitchCase> _cases; 45internal SwitchExpression(Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, ReadOnlyCollection<SwitchCase> cases) { 80public ReadOnlyCollection<SwitchCase> Cases { 204var caseList = cases.ToReadOnly();
Microsoft\Scripting\Ast\TryExpression.cs (5)
47private readonly ReadOnlyCollection<CatchBlock> _handlers; 51internal TryExpression(Type type, Expression body, Expression @finally, Expression fault, ReadOnlyCollection<CatchBlock> handlers) { 85public ReadOnlyCollection<CatchBlock> Handlers { 183var @catch = handlers.ToReadOnly(); 202private static void ValidateTryAndCatchHaveSameType(Type type, Expression tryBody, ReadOnlyCollection<CatchBlock> handlers) {
Microsoft\Scripting\Compiler\CompilerScope.cs (2)
177internal void EmitVariableAccess(LambdaCompiler lc, ReadOnlyCollection<ParameterExpression> vars) { 288var hoistedVars = GetVariables().Where(p => Definitions[p] == VariableStorageKind.Hoisted).ToReadOnly();
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (1)
97internal static Type MakeCallSiteDelegate(ReadOnlyCollection<Expression> types, Type returnType) {
Microsoft\Scripting\Compiler\ExpressionQuoter.cs (1)
91var b = Visit(node.Expressions);
Microsoft\Scripting\Compiler\HoistedLocals.cs (2)
70internal readonly ReadOnlyCollection<ParameterExpression> Variables; 75internal HoistedLocals(HoistedLocals parent, ReadOnlyCollection<ParameterExpression> vars) {
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
184internal ReadOnlyCollection<ParameterExpression> Parameters {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (3)
739ReadOnlyCollection<Expression> bounds = node.Expressions; 854private void EmitMemberInit(ReadOnlyCollection<MemberBinding> bindings, bool keepOnStack, Type objectType) { 887private void EmitListInit(ReadOnlyCollection<ElementInit> initializers, bool keepOnStack, Type objectType) {
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (2)
66ReadOnlyCollection<MemberBinding> _bindings; 126ReadOnlyCollection<ElementInit> _inits;
Microsoft\Scripting\Compiler\StackSpiller.cs (6)
584ReadOnlyCollection<ElementInit> inits = node.Initializers; 645ReadOnlyCollection<MemberBinding> bindings = node.Bindings; 785ReadOnlyCollection<SwitchCase> cases = node.Cases; 791ReadOnlyCollection<Expression> testValues = @case.TestValues; 850ReadOnlyCollection<CatchBlock> handlers = node.Handlers; 925private static T[] Clone<T>(ReadOnlyCollection<T> original, int max) {
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (1)
304internal override BlockExpression Rewrite(ReadOnlyCollection<ParameterExpression> variables, Expression[] args) {
Microsoft\Scripting\Compiler\VariableBinder.cs (2)
142private ReadOnlyCollection<Expression> MergeScopes(Expression node) { 143ReadOnlyCollection<Expression> body;
Microsoft\Scripting\Utils\CollectionExtensions.cs (2)
41internal static ReadOnlyCollection<T> ToReadOnly<T>(this IEnumerable<T> enumerable) { 206internal static ReadOnlyCollection<T> Instance = new TrueReadOnlyCollection<T>(new T[0]);
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (4)
408/// Creates a <see cref="ReadOnlyCollection{T}"/> containing all of the the elements of the <see cref="ReadOnlyCollectionBuilder{T}"/>, 410/// <see cref="ReadOnlyCollection{T}"/> has been created. 412/// <returns>A new instance of <see cref="ReadOnlyCollection{T}"/>.</returns> 413public ReadOnlyCollection<T> ToReadOnlyCollection() {
System\Linq\Expressions\ExpressionVisitor.cs (10)
101ReadOnlyCollection<Expression> arguments = this.VisitExpressionList(initializer.Arguments); 172internal virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original) { 216internal virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original) { 236internal virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original) 324internal static ReadOnlyCollection<T> ToReadOnlyCollection<T>(this IEnumerable<T> sequence) { 327ReadOnlyCollection<T> col = sequence as ReadOnlyCollection<T>; 333private static volatile ReadOnlyCollection<T> _defaultCollection; 334internal static ReadOnlyCollection<T> Empty {
System\Linq\SequenceQuery.cs (6)
193ReadOnlyCollection<Expression> args = this.VisitExpressionList(m.Arguments); 222private ReadOnlyCollection<Expression> FixupQuotedArgs(MethodInfo mi, ReadOnlyCollection<Expression> argList) { 313static MethodInfo FindEnumerableMethod(string name, ReadOnlyCollection<Expression> args, params Type[] typeArgs) { 325internal static MethodInfo FindMethod(Type type, string name, ReadOnlyCollection<Expression> args, Type[] typeArgs, BindingFlags flags) { 337private static bool ArgsMatch(MethodInfo m, ReadOnlyCollection<Expression> args, Type[] typeArgs) {
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\EditingScope.cs (2)
86internal ReadOnlyCollection<ModelItem> ItemsAdded 94internal ReadOnlyCollection<ModelItem> ItemsRemoved
fx\src\data\System\Data\Common\FieldNameLookup.cs (1)
42public FieldNameLookup(System.Collections.ObjectModel.ReadOnlyCollection<string> columnNames, int defaultLocaleID) {
System.Data.Entity (306)
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (2)
28private readonly System.Collections.ObjectModel.ReadOnlyCollection<string> _parameterNames; 29private readonly System.Collections.ObjectModel.ReadOnlyCollection<TypeUsage> _parameterTypes;
System\Data\Common\CommandTrees\DbInsertCommandTree.cs (3)
18using ReadOnlyModificationClauses = System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.CommandTrees.DbModificationClause>; // System.Data.Common.ReadOnlyCollection conflicts 30private readonly ReadOnlyModificationClauses _setClauses; 33internal DbInsertCommandTree(MetadataWorkspace metadata, DataSpace dataSpace, DbExpressionBinding target, ReadOnlyModificationClauses setClauses, DbExpression returning)
System\Data\Common\CommandTrees\DbLambda.cs (3)
14using ReadOnlyVariables = System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.CommandTrees.DbVariableReferenceExpression>; 27private readonly ReadOnlyVariables _variables; 30internal DbLambda(ReadOnlyVariables variables, DbExpression bodyExp)
System\Data\Common\CommandTrees\DbModificationCommandTree.cs (1)
27private System.Collections.ObjectModel.ReadOnlyCollection<DbParameterReferenceExpression> _parameters;
System\Data\Common\CommandTrees\DbQueryCommandTree.cs (1)
31private System.Collections.ObjectModel.ReadOnlyCollection<DbParameterReferenceExpression> _parameters;
System\Data\Common\CommandTrees\DbUpdateCommandTree.cs (3)
18using ReadOnlyModificationClauses = System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.CommandTrees.DbModificationClause>; // System.Data.Common.ReadOnlyCollection conflicts 32private readonly ReadOnlyModificationClauses _setClauses; 34internal DbUpdateCommandTree(MetadataWorkspace metadata, DataSpace dataSpace, DbExpressionBinding target, DbExpression predicate, ReadOnlyModificationClauses setClauses, DbExpression returning)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (6)
233var validVars = ArgumentValidation.ValidateLambda(variables, body); 369System.Collections.ObjectModel.ReadOnlyCollection<DbExpressionBinding> validInputs = ArgumentValidation.ValidateCrossJoin(inputs, out resultType); 480System.Collections.ObjectModel.ReadOnlyCollection<DbAggregate> validAggregates; 516System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> validSortOrder = ArgumentValidation.ValidateSkip(input, sortOrder, count); 535System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> validSortOrder = ArgumentValidation.ValidateSort(input, sortOrder); 2827System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef> validRelatedRefs;
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (10)
27internal static System.Collections.ObjectModel.ReadOnlyCollection<TElement> NewReadOnlyCollection<TElement>(IList<TElement> list) 391internal static System.Collections.ObjectModel.ReadOnlyCollection<DbVariableReferenceExpression> ValidateLambda(IEnumerable<DbVariableReferenceExpression> variables, DbExpression body) 409var result = varVal.Validate(); 464internal static System.Collections.ObjectModel.ReadOnlyCollection<DbExpressionBinding> ValidateCrossJoin(IEnumerable<DbExpressionBinding> inputs, out TypeUsage resultType) 561internal static TypeUsage ValidateGroupBy(DbGroupExpressionBinding input, IEnumerable<KeyValuePair<string, DbExpression>> keys, IEnumerable<KeyValuePair<string, DbAggregate>> aggregates, out DbExpressionList validKeys, out System.Collections.ObjectModel.ReadOnlyCollection<DbAggregate> validAggregates) 664private static System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> ValidateSortArguments(DbExpressionBinding input, IEnumerable<DbSortClause> sortOrder) 676internal static System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> ValidateSkip(DbExpressionBinding input, IEnumerable<DbSortClause> sortOrder, DbExpression count) 681var sortKeys = ValidateSortArguments(input, sortOrder); 713internal static System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> ValidateSort(DbExpressionBinding input, IEnumerable<DbSortClause> sortOrder) 1643internal static TypeUsage ValidateNewEntityWithRelationships(EntityType entityType, IEnumerable<DbExpression> attributeValues, IList<DbRelatedEntityRef> relationships, out DbExpressionList validArguments, out System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef> validRelatedRefs)
System\Data\Common\CommandTrees\ExpressionBuilder\Row.cs (1)
21private readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<string, DbExpression>> arguments;
System\Data\Common\CommandTrees\Internal\ParameterRetriever.cs (1)
29internal static System.Collections.ObjectModel.ReadOnlyCollection<DbParameterReferenceExpression> GetParameters(DbCommandTree tree)
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (2)
83private readonly System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule> ruleSet; 85private PatternMatchRuleProcessor(System.Collections.ObjectModel.ReadOnlyCollection<PatternMatchRule> rules)
System\Data\Common\CommandTrees\RelationalExpressions.cs (8)
235private readonly System.Collections.ObjectModel.ReadOnlyCollection<DbAggregate> _aggregates; 240System.Collections.ObjectModel.ReadOnlyCollection<DbAggregate> aggregates) 322private readonly System.Collections.ObjectModel.ReadOnlyCollection<DbExpressionBinding> _inputs; 324internal DbCrossJoinExpression(TypeUsage collectionOfRowResultType, System.Collections.ObjectModel.ReadOnlyCollection<DbExpressionBinding> inputs) 603private readonly System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> _keys; 606internal DbSkipExpression(TypeUsage resultType, DbExpressionBinding input, System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> sortOrder, DbExpression count) 661private readonly System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> _keys; 663internal DbSortExpression(TypeUsage resultType, DbExpressionBinding input, System.Collections.ObjectModel.ReadOnlyCollection<DbSortClause> sortOrder)
System\Data\Common\CommandTrees\ValueExpressions.cs (3)
636private readonly System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef> _relatedEntityRefs; 647internal DbNewInstanceExpression(TypeUsage resultType, DbExpressionList attributeValues, System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef> relationships) 684internal System.Collections.ObjectModel.ReadOnlyCollection<DbRelatedEntityRef> RelatedEntityReferences { get { return _relatedEntityRefs; } }
System\Data\Common\DataRecordInfo.cs (2)
22private readonly System.Collections.ObjectModel.ReadOnlyCollection<FieldMetadata> _fieldMetadata; 111public System.Collections.ObjectModel.ReadOnlyCollection<FieldMetadata> FieldMetadata
System\Data\Common\DbProviderManifest.cs (3)
102public abstract System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetStoreTypes(); 108public abstract System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions(); 116public abstract System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> GetFacetDescriptions(EdmType edmType);
System\Data\Common\DbXmlEnabledProviderManifest.cs (13)
26private System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> _primitiveTypes; 27private Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>> _facetDescriptions = new Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>>(); 28private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions; 77public override System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> GetFacetDescriptions(EdmType type) 83public override System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetStoreTypes() 92public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 125System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> descriptions; 148private static System.Collections.ObjectModel.ReadOnlyCollection<T> GetReadOnlyCollection<T>(PrimitiveType type, Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<T>> typeDictionary, System.Collections.ObjectModel.ReadOnlyCollection<T> useIfEmpty) 150System.Collections.ObjectModel.ReadOnlyCollection<T> collection; 161private static bool EnumerableToReadOnlyCollection<Target, BaseType>(IEnumerable<BaseType> enumerable, out System.Collections.ObjectModel.ReadOnlyCollection<Target> collection) where Target : BaseType
System\Data\Common\EntitySql\ParseResult.cs (2)
25private readonly System.Collections.ObjectModel.ReadOnlyCollection<FunctionDefinition> _functionDefs; 44public System.Collections.ObjectModel.ReadOnlyCollection<FunctionDefinition> FunctionDefinitions { get { return this._functionDefs; } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3891var gpExpressionLambdaVariables = new System.Collections.ObjectModel.ReadOnlyCollection<DbVariableReferenceExpression>(
System\Data\Common\FieldNameLookup.cs (1)
34public FieldNameLookup(System.Collections.ObjectModel.ReadOnlyCollection<string> columnNames, int defaultLocaleID) {
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (2)
70internal readonly System.Collections.ObjectModel.ReadOnlyCollection<CoordinatorFactory> NestedCoordinators; 88internal readonly System.Collections.ObjectModel.ReadOnlyCollection<RecordStateFactory> RecordStateFactories;
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
342var arguments = nex.Arguments;
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (4)
58internal readonly System.Collections.ObjectModel.ReadOnlyCollection<RecordStateFactory> NestedRecordStateFactories; 63internal readonly System.Collections.ObjectModel.ReadOnlyCollection<string> ColumnNames; 68internal readonly System.Collections.ObjectModel.ReadOnlyCollection<TypeUsage> TypeUsages; 73internal readonly System.Collections.ObjectModel.ReadOnlyCollection<bool> IsColumnNested;
System\Data\Common\Utils\KeyToListMap.cs (2)
97internal System.Collections.ObjectModel.ReadOnlyCollection<TValue> ListForKey(TKey key) { 105internal bool TryGetListForKey(TKey key, out System.Collections.ObjectModel.ReadOnlyCollection<TValue> valueCollection)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
46private readonly System.Collections.ObjectModel.ReadOnlyCollection<EntityParameter> _parameters;
System\Data\Mapping\FunctionImportMapping.cs (4)
204internal readonly OM.ReadOnlyCollection<EntityType> MappedEntityTypes; 209internal readonly OM.ReadOnlyCollection<string> DiscriminatorColumns; 215internal readonly OM.ReadOnlyCollection<FunctionImportNormalizedEntityTypeMapping> NormalizedEntityTypeMappings; 539internal readonly OM.ReadOnlyCollection<FunctionImportEntityTypeMappingCondition> ColumnConditions;
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (3)
50internal readonly ReadOnlyCollection<FunctionImportEntityTypeMappingCondition> Conditions; 51internal readonly ReadOnlyCollection<EntityType> EntityTypes; 52internal readonly ReadOnlyCollection<EntityType> IsOfTypeEntityTypes;
System\Data\Mapping\FunctionImportMappingNonComposable.cs (2)
63internal readonly OM.ReadOnlyCollection<FunctionImportStructuralTypeMappingKB> ResultMappings; 112var columnConditions = typeMapping.ColumnConditions;
System\Data\Mapping\StorageAssociationTypeMapping.cs (2)
86internal override ReadOnlyCollection<EdmType> Types { 98internal override ReadOnlyCollection<EdmType> IsOfTypes {
System\Data\Mapping\StorageComplexPropertyMapping.cs (1)
88internal ReadOnlyCollection<StorageComplexTypeMapping> TypeMappings
System\Data\Mapping\StorageComplexTypeMapping.cs (4)
46internal ReadOnlyCollection<ComplexType> Types { 56internal ReadOnlyCollection<ComplexType> IsOfTypes { 65internal ReadOnlyCollection<StoragePropertyMapping> Properties { 75internal ReadOnlyCollection<StoragePropertyMapping> AllProperties {
System\Data\Mapping\StorageEndPropertyMapping.cs (1)
80internal ReadOnlyCollection<StoragePropertyMapping> Properties {
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
172internal ReadOnlyCollection<StorageSetMapping> EntitySetMaps { 189internal ReadOnlyCollection<StorageSetMapping> RelationshipSetMaps {
System\Data\Mapping\StorageEntityTypeMapping.cs (2)
82internal override ReadOnlyCollection<EdmType> Types { 92internal override ReadOnlyCollection<EdmType> IsOfTypes {
System\Data\Mapping\StorageMappingFragment.cs (2)
124internal ReadOnlyCollection<StoragePropertyMapping> AllProperties 139internal ReadOnlyCollection<StoragePropertyMapping> Properties
System\Data\Mapping\StorageMappingItemCollection.cs (5)
63private ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>> _cachedInterestingMembers = 64new ConcurrentDictionary<Tuple<EntitySetBase, EntityTypeBase, InterestingMembersKind>, ReadOnlyCollection<EdmMember>>(); 454internal ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 471private ReadOnlyCollection<EdmMember> FindInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, InterestingMembersKind interestingMembersKind) 718ReadOnlyCollection<StorageEntityContainerMapping> entityContainerMaps =
System\Data\Mapping\StorageMappingItemLoader.cs (3)
1690ReadOnlyCollection<EdmFunction> functionOverloads = this.StoreItemCollection.GetFunctions(functionName); 3861ReadOnlyCollection<string> columnNames = propertyToColumnNamesMap.ListForKey(property); 4351System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads =
System\Data\Mapping\StorageModificationFunctionMapping.cs (4)
170internal readonly ReadOnlyCollection<StorageModificationFunctionParameterBinding> ParameterBindings; 175internal readonly ReadOnlyCollection<AssociationSetEnd> CollocatedAssociationSetEnds; 180internal readonly ReadOnlyCollection<StorageModificationFunctionResultBinding> ResultBindings; 314internal readonly ReadOnlyCollection<EdmMember> Members;
System\Data\Mapping\StorageSetMapping.cs (2)
112internal ReadOnlyCollection<StorageTypeMapping> TypeMappings 236internal ReadOnlyCollection<Triple> GetTypeSpecificQVKeys()
System\Data\Mapping\StorageTypeMapping.cs (3)
77internal ReadOnlyCollection<StorageMappingFragment> MappingFragments 97internal abstract ReadOnlyCollection<EdmType> Types { get;} 103internal abstract ReadOnlyCollection<EdmType> IsOfTypes { get;}
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
36System.Collections.ObjectModel.ReadOnlyCollection<IEntityStateEntry> stateEntries, 54private readonly System.Collections.ObjectModel.ReadOnlyCollection<IEntityStateEntry> m_stateEntries;
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (4)
104private readonly ReadOnlyCollection<DbExpression> m_leftKeySelectors; 105private readonly ReadOnlyCollection<DbExpression> m_rightKeySelectors; 463private JoinDictionary ProcessKeys(IEnumerable<PropagatorResult> instances, ReadOnlyCollection<DbExpression> keySelectors) 480private static CompositeKey ExtractKey(PropagatorResult change, ReadOnlyCollection<DbExpression> keySelectors, Propagator parent)
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.JoinPredicateVisitor.cs (2)
77static internal void GetKeySelectors(DbExpression joinCondition, out ReadOnlyCollection<DbExpression> leftKeySelectors, out ReadOnlyCollection<DbExpression> rightKeySelectors)
System\Data\Mapping\Update\Internal\SourceInterpreter.cs (1)
42internal static ReadOnlyCollection<IEntityStateEntry> GetAllStateEntries(PropagatorResult source, UpdateTranslator translator,
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
406private static IEnumerable<StoragePropertyMapping> FlattenPropertyMappings(System.Collections.ObjectModel.ReadOnlyCollection<StoragePropertyMapping> propertyMappings)
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (1)
371System.Collections.ObjectModel.ReadOnlyCollection<LeafCellTreeNode> nodes;
System\Data\Mapping\ViewGeneration\CellPartitioner.cs (1)
128ReadOnlyCollection<Cell> cellsInComponent = groupMap.ListForKey(setNum);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (4)
45private ReadOnlyCollection<SlotInfo> m_slots; 49private readonly ReadOnlyCollection<CqlBlock> m_children; 68internal ReadOnlyCollection<SlotInfo> Slots 77protected ReadOnlyCollection<CqlBlock> Children
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (3)
42internal readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<object, EntityType>> TypeMap; 47internal readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<EdmProperty, DbExpression>> PropertyMap; 52internal readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<Query.InternalTrees.RelProperty, DbExpression>> RelPropertyMap;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (2)
232ReadOnlyCollection<int> indexes = slotMap.ListForKey(slot); 288private bool AreSlotsEquivalentViaRefConstraints(ReadOnlyCollection<int> cSideSlotIndexes)
System\Data\Mapping\ViewGeneration\Validator.cs (1)
215ReadOnlyCollection<ViewKeyConstraint> cKeyConstraints = extentPairConstraints.ListForKey(extentPair);
System\Data\Mapping\ViewValidator.cs (1)
232var cTypeFunctions = sSpace.GetCTypeFunctions(function.FullName, false);
System\Data\Metadata\CacheForPrimitiveTypes.cs (1)
194internal System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetTypes()
System\Data\Metadata\Edm\EntitySet.cs (6)
42private ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> _foreignKeyDependents; 43private ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> _foreignKeyPrincipals; 69internal ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyDependents 85internal ReadOnlyCollection<Tuple<AssociationSet, ReferentialConstraint>> ForeignKeyPrincipals 165var readOnlyDependents = dependents.AsReadOnly(); 166var readOnlyPrincipals = principals.AsReadOnly();
System\Data\Metadata\Edm\ItemCollection.cs (16)
42private Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> _functionLookUpTable; 62internal Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> FunctionLookUpTable 68Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> functionLookUpTable = PopulateFunctionLookUpTable(this); 195public virtual System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T>() where T : GlobalItem 212System.Collections.ObjectModel.ReadOnlyCollection<T> returnItems = items as System.Collections.ObjectModel.ReadOnlyCollection<T>; 226private static System.Collections.ObjectModel.ReadOnlyCollection<TItem> GenericGetItems<TItem>(ItemCollection collection) where TItem : GlobalItem 307public System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions(string functionName) 319public System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions(string functionName, bool ignoreCase) 332protected static System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetFunctions( 333Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> functionCollection, 336System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads; 351internal static System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetCaseSensitiveFunctions( 352System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads, 489static private Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>> PopulateFunctionLookUpTable(ItemCollection itemCollection) 504var functionLookUpTable = new Dictionary<string, System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>>(StringComparer.OrdinalIgnoreCase);
System\Data\Metadata\Edm\MemberCollection.cs (1)
74public override System.Collections.ObjectModel.ReadOnlyCollection<EdmMember> AsReadOnly
System\Data\Metadata\Edm\MetadataCollection.cs (1)
109public virtual System.Collections.ObjectModel.ReadOnlyCollection<T> AsReadOnly
System\Data\Metadata\Edm\MetadataItem_Static.cs (2)
432private static readonly System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> _generalFacetDescriptions; 477public static System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> GetGeneralFacetDescriptions()
System\Data\Metadata\Edm\PrimitiveType.cs (2)
134public System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> FacetDescriptions 247public static System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetEdmPrimitiveTypes()
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (6)
23private System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> _primitiveTypes; 173public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 183public override System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> GetFacetDescriptions(EdmType type) 224System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> readOnlyTypes = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(primitiveTypes); 227Interlocked.CompareExchange<System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>>(ref _primitiveTypes, readOnlyTypes, null); 245public override System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetStoreTypes()
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (20)
28private Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>> _facetDescriptions; 29private System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> _primitiveTypes; 30private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions; 32private System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>[] _promotionTypes; 77public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions() 88public override System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> GetFacetDescriptions(EdmType type) 95System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription> collection = null; 196System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> readOnlyTypes = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>(primitiveTypes); 199Interlocked.CompareExchange<System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>>(ref _primitiveTypes, readOnlyTypes, null); 241Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>> facetDescriptions = new Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>>(); 340Interlocked.CompareExchange<Dictionary<PrimitiveType, System.Collections.ObjectModel.ReadOnlyCollection<FacetDescription>>>(ref _facetDescriptions, 724System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> readOnlyFunctions = functions.ToFunctionCollection(); 726Interlocked.CompareExchange<System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>>(ref _functions, readOnlyFunctions, null); 735internal System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPromotionTypes(PrimitiveType primitiveType) 752System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>[] promotionTypes = new System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>[EdmConstants.NumPrimitiveTypes]; 829Interlocked.CompareExchange<System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>[]>(ref _promotionTypes, 834private void InitializeSpatialPromotionGroup(System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>[] promotionTypes, PrimitiveTypeKind[] promotableKinds, PrimitiveTypeKind baseKind) 879public override System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetStoreTypes()
System\Data\Metadata\Edm\Provider\EdmProviderManifestFunctionBuilder.cs (2)
21internal EdmProviderManifestFunctionBuilder(System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> edmPrimitiveTypes) 39internal System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> ToFunctionCollection()
System\Data\Metadata\EdmItemCollection.cs (5)
44System.Collections.ObjectModel.ReadOnlyCollection<string> filePaths, 372public System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes() 383 public System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(double edmVersion) 414System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> primitiveTypes = providerManifest.GetStoreTypes(); 420System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functions = providerManifest.GetStoreFunctions();
System\Data\Metadata\MappingMetadataHelper.cs (1)
92ReadOnlyCollection<StorageEntityContainerMapping> entityContainerMaps = mappingCollection.GetItems<StorageEntityContainerMapping>();
System\Data\Metadata\MetadataArtifactLoaderComposite.cs (1)
38private readonly ReadOnlyCollection<MetadataArtifactLoader> _children;
System\Data\Metadata\MetadataArtifactLoaderCompositeFile.cs (9)
34private ReadOnlyCollection<MetadataArtifactLoaderFile> _csdlChildren; 35private ReadOnlyCollection<MetadataArtifactLoaderFile> _ssdlChildren; 36private ReadOnlyCollection<MetadataArtifactLoaderFile> _mslChildren; 80internal ReadOnlyCollection<MetadataArtifactLoaderFile> CsdlChildren 88internal ReadOnlyCollection<MetadataArtifactLoaderFile> SsdlChildren 96internal ReadOnlyCollection<MetadataArtifactLoaderFile> MslChildren 117ReadOnlyCollection<MetadataArtifactLoaderFile> csdlChildren = GetArtifactsInDirectory(_path, XmlConstants.CSpaceSchemaExtension, _uriRegistry).AsReadOnly(); 122ReadOnlyCollection<MetadataArtifactLoaderFile> ssdlChildren = GetArtifactsInDirectory(_path, XmlConstants.SSpaceSchemaExtension, _uriRegistry).AsReadOnly(); 127ReadOnlyCollection<MetadataArtifactLoaderFile> mslChildren = GetArtifactsInDirectory(_path, XmlConstants.CSSpaceSchemaExtension, _uriRegistry).AsReadOnly();
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
30private readonly ReadOnlyCollection<MetadataArtifactLoaderResource> _children;
System\Data\Metadata\MetadataWorkspace.cs (8)
546public ReadOnlyCollection<T> GetItems<T>(DataSpace dataSpace) where T : GlobalItem 709public ReadOnlyCollection<EdmFunction> GetFunctions(string name, string namespaceName, DataSpace dataSpace) 729public ReadOnlyCollection<EdmFunction> GetFunctions(string name, 778public ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(DataSpace dataSpace) 792public ReadOnlyCollection<GlobalItem> GetItems(DataSpace dataSpace) 1223ReadOnlyCollection<StorageEntityContainerMapping> entityContainerMaps = this.GetItems<StorageEntityContainerMapping>(DataSpace.CSSpace); 1412public ReadOnlyCollection<EdmMember> GetRelevantMembersForUpdate(EntitySetBase entitySet, EntityTypeBase entityType, bool partialUpdateSupported) 1429private ReadOnlyCollection<EdmMember> GetInterestingMembers(EntitySetBase entitySet, EntityTypeBase entityType, StorageMappingItemCollection.InterestingMembersKind interestingMembersKind)
System\Data\Metadata\ObjectHelper.cs (5)
33internal static readonly ReadOnlyCollection<KeyValuePair<string, object>> EmptyKeyValueStringObjectList = new ReadOnlyCollection<KeyValuePair<string, object>>(new KeyValuePair<string, object>[0]); 34internal static readonly ReadOnlyCollection<string> EmptyStringList = new ReadOnlyCollection<string>(new string[0]); 35internal static readonly ReadOnlyCollection<FacetDescription> EmptyFacetDescriptionEnumerable = new ReadOnlyCollection<FacetDescription>(new FacetDescription[0]); 36internal static readonly ReadOnlyCollection<EdmFunction> EmptyEdmFunctionReadOnlyCollection = new ReadOnlyCollection<EdmFunction>(new EdmFunction[0]); 37internal static readonly ReadOnlyCollection<PrimitiveType> EmptyPrimitiveTypeReadOnlyCollection = new ReadOnlyCollection<PrimitiveType>(new PrimitiveType[0]);
System\Data\Metadata\ObjectItemCollection.cs (2)
613public override System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T>() 615return base.InternalGetItems(typeof(T)) as System.Collections.ObjectModel.ReadOnlyCollection<T>;
System\Data\Metadata\ObjectLayer\ImmutableAssemblyCacheEntry.cs (2)
18private readonly System.Collections.ObjectModel.ReadOnlyCollection<EdmType> _typesInAssembly; 20private readonly System.Collections.ObjectModel.ReadOnlyCollection<Assembly> _closureAssemblies;
System\Data\Metadata\StoreItemCollection.cs (6)
76System.Collections.ObjectModel.ReadOnlyCollection<string> filePaths, 277public System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes() 327internal System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetCTypeFunctions(string functionName, bool ignoreCase) 329System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads; 345private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> ConvertToCTypeFunctions( 346System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> functionOverloads)
System\Data\Metadata\TypeSemantics.cs (10)
37static private objectModel.ReadOnlyCollection<PrimitiveType>[,] _commonTypeClosure; 751objectModel.ReadOnlyCollection<PrimitiveType> superTypes = EdmProviderManifest.Instance.GetPromotionTypes(subPrimitiveType); 869objectModel.ReadOnlyCollection<PrimitiveType> superTypes = GetPrimitiveCommonSuperTypes((PrimitiveType)type1.EdmType, 896objectModel.ReadOnlyCollection<PrimitiveType> superTypes = GetPrimitiveCommonSuperTypes(primitiveType1, primitiveType2); 1114objectModel.ReadOnlyCollection<PrimitiveType>[,] commonTypeClosure = new objectModel.ReadOnlyCollection<PrimitiveType>[EdmConstants.NumPrimitiveTypes, EdmConstants.NumPrimitiveTypes]; 1120objectModel.ReadOnlyCollection<PrimitiveType> primitiveTypes = EdmProviderManifest.Instance.GetStoreTypes(); 1149System.Threading.Interlocked.CompareExchange<objectModel.ReadOnlyCollection<PrimitiveType>[,]>(ref _commonTypeClosure, commonTypeClosure, null); 1158private static objectModel.ReadOnlyCollection<PrimitiveType> Intersect(IList<PrimitiveType> types1, IList<PrimitiveType> types2) 1183private static objectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveCommonSuperTypes(PrimitiveType primitiveType1, PrimitiveType primitiveType2)
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (2)
80ReadOnlyCollection<KeyValuePair<ObjectParameter, QueryParameterExpression>> parameters = converter.GetParameters(); 112ReadOnlyCollection<KeyValuePair<ObjectParameter, QueryParameterExpression>> parameters = converter.GetParameters();
System\Data\Objects\ELinq\ELinqQueryState.cs (1)
36private ReadOnlyCollection<KeyValuePair<ObjectParameter, QueryParameterExpression>> _linqParameters;
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (5)
115ReadOnlyCollection<Expression> arguments = this.VisitExpressionList(initializer.Arguments); 201internal virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original) 256internal virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original) 281internal virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original)
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
217internal System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<ObjectParameter, QueryParameterExpression>> GetParameters()
System\Data\Objects\ELinq\ExpressionVisitorHelpers.cs (5)
34internal static ReadOnlyCollection<T> ToReadOnlyCollection<T>(this IEnumerable<T> sequence) 38ReadOnlyCollection<T> col = sequence as ReadOnlyCollection<T>; 45private static ReadOnlyCollection<T> _defaultCollection; 46internal static ReadOnlyCollection<T> Empty
System\Data\Objects\ELinq\Funcletizer.cs (4)
39private readonly ReadOnlyCollection<ParameterExpression> _compiledQueryParameters; 51ReadOnlyCollection<ParameterExpression> compiledQueryParameters) 66ReadOnlyCollection<ParameterExpression> compiledQueryParameters) 350ReadOnlyCollection<Func<bool>> recompileRequiredDelegates = _recompileRequiredDelegates.AsReadOnly();
System\Data\Objects\Internal\ComplexTypeMaterializer.cs (1)
138internal Plan(TypeUsage key, ObjectTypeMapping mapping, System.Collections.ObjectModel.ReadOnlyCollection<FieldMetadata> fields)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (4)
21using CompiledQueryParameters = System.Collections.ObjectModel.ReadOnlyCollection<System.Collections.Generic.KeyValuePair<ObjectParameter, System.Data.Objects.ELinq.QueryParameterExpression>>; 32internal readonly CompiledQueryParameters CompiledQueryParameters; 37private ObjectQueryExecutionPlan(DbCommandDefinition commandDefinition, ShaperFactory resultShaperFactory, TypeUsage resultType, MergeOption mergeOption, EntitySet singleEntitySet, CompiledQueryParameters compiledQueryParameters) 51internal static ObjectQueryExecutionPlan Prepare(ObjectContext context, DbQueryCommandTree tree, Type elementType, MergeOption mergeOption, Span span, CompiledQueryParameters compiledQueryParameters, AliasGenerator aliasGenerator)
System\Data\Objects\ObjectContext.cs (1)
1293System.Collections.ObjectModel.ReadOnlyCollection<EntityContainer> entityContainers = this.MetadataWorkspace.GetItems<EntityContainer>(DataSpace.CSpace);
System\Data\Query\InternalTrees\ExplicitDiscriminatorMap.cs (4)
27private readonly System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<object, EntityType>> m_typeMap; 29private readonly System.Collections.ObjectModel.ReadOnlyCollection<EdmProperty> m_properties; 42internal System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<object, EntityType>> TypeMap 59internal System.Collections.ObjectModel.ReadOnlyCollection<EdmProperty> Properties
System\Data\Query\InternalTrees\RuleProcessor.cs (6)
45private static bool ApplyRulesToNode(RuleProcessingContext context, ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rules, Node currentNode, out Node newNode) 86ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rules, 155internal Node ApplyRulesToSubtree(RuleProcessingContext context, ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rules, Node subTreeRoot)
System\Data\Query\PlanCompiler\TransformationRules.cs (18)
595internal static readonly ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> AllRulesTable = BuildLookupTableForRules(AllRules); 601internal static readonly ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> ProjectRulesTable = BuildLookupTableForRules(ProjectOpRules.Rules); 608internal static readonly ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> PostJoinEliminationRulesTable = BuildLookupTableForRules(PostJoinEliminationRules); 615internal static readonly ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> NullabilityRulesTable = BuildLookupTableForRules(NullabilityRules); 691private static ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> BuildLookupTableForRules(IEnumerable<InternalTrees.Rule> rules) 693ReadOnlyCollection<InternalTrees.Rule> NoRules = new ReadOnlyCollection<InternalTrees.Rule>(new InternalTrees.Rule[0]); 708ReadOnlyCollection<InternalTrees.Rule>[] rulesPerType = new ReadOnlyCollection<InternalTrees.Rule>[lookupTable.Length]; 720return new ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>>(rulesPerType); 765ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rulesTable = null; 798private static bool Process(PlanCompiler compilerState, ReadOnlyCollection<ReadOnlyCollection<InternalTrees.Rule>> rulesTable, out bool projectionPruningRequired)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1911var values = map.ListForKey(key);
System\Data\SqlClient\SqlProviderManifest.cs (4)
46private System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> _primitiveTypes = null; 47private System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> _functions = null; 166public override System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetStoreTypes() 212public override System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction> GetStoreFunctions()
System\Data\SqlClient\SqlTypesAssembly.cs (1)
91private static readonly System.Collections.ObjectModel.ReadOnlyCollection<string> preferredSqlTypesAssemblies = new List<string>()
System\Data\UpdateException.cs (2)
26private ReadOnlyCollection<ObjectStateEntry> _stateEntries; 73public ReadOnlyCollection<ObjectStateEntry> StateEntries { get { return _stateEntries; } }
System.Data.Entity.Design (3)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
418ReadOnlyCollection<EntityContainer> containers = workspace.GetItems<EntityContainer>(DataSpace.SSpace);
System\Data\Entity\Design\MetadataExtensionMethods.cs (1)
26public static System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(this EdmItemCollection itemCollection, Version edmVersion)
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (1)
45System.Collections.ObjectModel.ReadOnlyCollection<string> filePaths = null;
System.Data.Linq (106)
ChangeConflicts.cs (2)
150private ReadOnlyCollection<MemberChangeConflict> memberConflicts; 298public ReadOnlyCollection<MemberChangeConflict> MemberConflicts {
DataContext.cs (6)
1645ReadOnlyCollection<object> inserts; 1646ReadOnlyCollection<object> deletes; 1647ReadOnlyCollection<object> updates; 1650ReadOnlyCollection<object> inserts, 1651ReadOnlyCollection<object> deletes, 1652ReadOnlyCollection<object> updates
DataServices.cs (3)
270private static Expression[] BuildKeyExpressions(object[] keyValues, ReadOnlyCollection<MetaDataMember> keyMembers) { 328ReadOnlyCollection<MetaDataMember> keys = null; 416ReadOnlyCollection<MetaDataMember> members = this.member.IsAssociation ? this.member.Association.OtherKey : this.member.DeclaringType.IdentityMembers;
Mapping\AttributedMetaModel.cs (24)
66ReadOnlyCollection<MetaTable> staticTables; 390ReadOnlyCollection<MetaType> inheritanceTypes; 507public override ReadOnlyCollection<MetaType> InheritanceTypes { 531ReadOnlyCollection<MetaDataMember> dataMembers; 532ReadOnlyCollection<MetaDataMember> persistentMembers; 533ReadOnlyCollection<MetaDataMember> identities; 541ReadOnlyCollection<MetaType> derivedTypes; 542ReadOnlyCollection<MetaAssociation> associations; 743public override ReadOnlyCollection<MetaType> InheritanceTypes { 751public override ReadOnlyCollection<MetaType> DerivedTypes { 786public override ReadOnlyCollection<MetaDataMember> DataMembers { 789public override ReadOnlyCollection<MetaDataMember> PersistentDataMembers { 792public override ReadOnlyCollection<MetaDataMember> IdentityMembers { 795public override ReadOnlyCollection<MetaAssociation> Associations { 862private ReadOnlyCollection<MetaParameter> parameters; 863private ReadOnlyCollection<MetaType> rowTypes; 864static ReadOnlyCollection<MetaParameter> _emptyParameters = new List<MetaParameter>(0).AsReadOnly(); 865static ReadOnlyCollection<MetaType> _emptyTypes = new List<MetaType>(0).AsReadOnly(); 960public override ReadOnlyCollection<MetaParameter> Parameters { 969public override ReadOnlyCollection<MetaType> ResultRowTypes { 1314ReadOnlyCollection<MetaDataMember> thisKey; 1315ReadOnlyCollection<MetaDataMember> otherKey; 1383public override ReadOnlyCollection<MetaDataMember> ThisKey { 1386public override ReadOnlyCollection<MetaDataMember> OtherKey {
Mapping\MappedMetaModel.cs (35)
418ReadOnlyCollection<MetaType> inheritanceTypes; 544public override ReadOnlyCollection<MetaType> InheritanceTypes { 569ReadOnlyCollection<MetaDataMember> dataMembers; 570ReadOnlyCollection<MetaDataMember> persistentDataMembers; 571ReadOnlyCollection<MetaDataMember> identities; 579ReadOnlyCollection<MetaType> derivedTypes; 580ReadOnlyCollection<MetaAssociation> associations; 822public override ReadOnlyCollection<MetaType> InheritanceTypes { 825public override ReadOnlyCollection<MetaType> DerivedTypes { 866public override ReadOnlyCollection<MetaDataMember> DataMembers { 869public override ReadOnlyCollection<MetaDataMember> PersistentDataMembers { 872public override ReadOnlyCollection<MetaDataMember> IdentityMembers { 875public override ReadOnlyCollection<MetaAssociation> Associations { 1217ReadOnlyCollection<MetaDataMember> thisKey; 1218ReadOnlyCollection<MetaDataMember> otherKey; 1286public override ReadOnlyCollection<MetaDataMember> ThisKey { 1292public override ReadOnlyCollection<MetaDataMember> OtherKey { 1332ReadOnlyCollection<MetaParameter> parameters; 1334ReadOnlyCollection<MetaType> rowTypes; 1335static ReadOnlyCollection<MetaParameter> _emptyParameters = new List<MetaParameter>(0).AsReadOnly(); 1336static ReadOnlyCollection<MetaType> _emptyTypes = new List<MetaType>(0).AsReadOnly(); 1404public override ReadOnlyCollection<MetaParameter> Parameters { 1428public override ReadOnlyCollection<MetaType> ResultRowTypes { 1490protected static ReadOnlyCollection<MetaDataMember> MakeKeys(MetaType mtype, string keyFields) { 1534ReadOnlyCollection<MetaDataMember> dataMembers; 1535ReadOnlyCollection<MetaType> inheritanceTypes; 1538private static ReadOnlyCollection<MetaType> _emptyTypes = new List<MetaType>().AsReadOnly(); 1539private static ReadOnlyCollection<MetaDataMember> _emptyDataMembers = new List<MetaDataMember>().AsReadOnly(); 1540private static ReadOnlyCollection<MetaAssociation> _emptyAssociations = new List<MetaAssociation>().AsReadOnly(); 1577public override ReadOnlyCollection<MetaType> InheritanceTypes { 1594public override ReadOnlyCollection<MetaType> DerivedTypes { 1621public override ReadOnlyCollection<MetaDataMember> DataMembers { 1627public override ReadOnlyCollection<MetaDataMember> PersistentDataMembers { 1630public override ReadOnlyCollection<MetaDataMember> IdentityMembers { 1636public override ReadOnlyCollection<MetaAssociation> Associations {
Mapping\MetaModel.cs (10)
190public abstract ReadOnlyCollection<MetaType> InheritanceTypes { get; } 203public abstract ReadOnlyCollection<MetaType> DerivedTypes { get; } 207public abstract ReadOnlyCollection<MetaDataMember> DataMembers { get; } 211public abstract ReadOnlyCollection<MetaDataMember> PersistentDataMembers { get; } 215public abstract ReadOnlyCollection<MetaDataMember> IdentityMembers { get; } 219public abstract ReadOnlyCollection<MetaAssociation> Associations { get; } 381public abstract ReadOnlyCollection<MetaParameter> Parameters { get; } 394public abstract ReadOnlyCollection<MetaType> ResultRowTypes { get; } 443public abstract ReadOnlyCollection<MetaDataMember> ThisKey { get; } 447public abstract ReadOnlyCollection<MetaDataMember> OtherKey { get; }
SqlClient\Query\Funcletizer.cs (5)
232ReadOnlyCollection<Expression> arguments = this.VisitExpressionList(initializer.Arguments); 299internal virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original) { 343internal virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original) { 363internal virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original) {
SqlClient\Query\SqlParameterizer.cs (5)
66internal ReadOnlyCollection<SqlParameterInfo> Parameterize(SqlNode node) { 76internal ReadOnlyCollection<ReadOnlyCollection<SqlParameterInfo>> ParameterizeBlock(SqlBlock block) { 81List<ReadOnlyCollection<SqlParameterInfo>> list = new List<ReadOnlyCollection<SqlParameterInfo>>();
SqlClient\Query\Translator.cs (1)
216private static Expression[] GetKeyValues(Expression expr, ReadOnlyCollection<MetaDataMember> keys) {
SqlClient\SqlProvider.cs (15)
834private ICompiledSubQuery CompileSubQuery(SqlNode query, Type elementType, ReadOnlyCollection<Me.SqlParameter> parameters) { 1181private void AssignParameters(DbCommand cmd, ReadOnlyCollection<SqlParameterInfo> parms, object[] userArguments, object lastResult) { 1292ReadOnlyCollection<SqlParameterInfo> parameters; 1296internal QueryInfo(SqlNode query, string commandText, ReadOnlyCollection<SqlParameterInfo> parameters, ResultShape resultShape, Type resultType) { 1309internal ReadOnlyCollection<SqlParameterInfo> Parameters { 1438private QueryInfo[] BuildQuery(ResultShape resultShape, Type resultType, SqlNode node, ReadOnlyCollection<Me.SqlParameter> parentParameters, SqlNodeAnnotations annotations) { 1600ReadOnlyCollection<ReadOnlyCollection<SqlParameterInfo>> parameters = parameterizer.ParameterizeBlock(block); 1616ReadOnlyCollection<SqlParameterInfo> parameters = parameterizer.Parameterize(node); 1739ReadOnlyCollection<Me.SqlParameter> parameters; 1742internal CompiledSubQuery(QueryInfo queryInfo, IObjectReaderFactory factory, ReadOnlyCollection<Me.SqlParameter> parameters, ICompiledSubQuery[] subQueries) { 1782ReadOnlyCollection<SqlParameterInfo> parameters; 1790internal ExecuteResult(DbCommand command, ReadOnlyCollection<SqlParameterInfo> parameters, IObjectReaderSession session, object value, bool useReturnValue) 1799internal ExecuteResult(DbCommand command, ReadOnlyCollection<SqlParameterInfo> parameters, IObjectReaderSession session) { 1805internal ExecuteResult(DbCommand command, ReadOnlyCollection<SqlParameterInfo> parameters, IObjectReaderSession session, object value)
System.Data.Services (29)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (5)
202ReadOnlyCollection<Expression> arguments = this.VisitExpressionList(initializer.Arguments); 344internal virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original) 427internal virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original) 462internal virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original)
System\Data\Services\ETagAttribute.cs (2)
25private readonly ReadOnlyCollection<string> propertyNames; 59public ReadOnlyCollection<string> PropertyNames
System\Data\Services\IgnorePropertiesAttribute.cs (2)
27private readonly ReadOnlyCollection<string> propertyNames; 61public ReadOnlyCollection<string> PropertyNames
System\Data\Services\Providers\OrderingInfo.cs (1)
51public ReadOnlyCollection<OrderingExpression> OrderingExpressions
System\Data\Services\Providers\ResourceType.cs (15)
36internal static readonly ReadOnlyCollection<ResourceProperty> EmptyProperties = new ReadOnlyCollection<ResourceProperty>(new ResourceProperty[0]); 88private ReadOnlyCollection<ResourceProperty> allProperties; 91private ReadOnlyCollection<ResourceProperty> keyProperties; 94private ReadOnlyCollection<ResourceProperty> etagProperties; 255public ReadOnlyCollection<ResourceProperty> Properties 264public ReadOnlyCollection<ResourceProperty> PropertiesDeclaredOnThisType 268ReadOnlyCollection<ResourceProperty> readOnlyProperties = this.propertiesDeclaredOnThisType as ReadOnlyCollection<ResourceProperty>; 302public ReadOnlyCollection<ResourceProperty> KeyProperties 314ReadOnlyCollection<ResourceProperty> readOnlyKeyProperties; 345public ReadOnlyCollection<ResourceProperty> ETagProperties 351ReadOnlyCollection<ResourceProperty> etag = new ReadOnlyCollection<ResourceProperty>(this.Properties.Where(p => p.IsOfKind(ResourcePropertyKind.ETag)).ToList()); 867ReadOnlyCollection<ResourceProperty> key = this.KeyProperties; 1013private ReadOnlyCollection<ResourceProperty> InitializeProperties() 1017ReadOnlyCollection<ResourceProperty> readOnlyAllProps;
System\Data\Services\Providers\ServiceOperation.cs (3)
27private readonly ReadOnlyCollection<ServiceOperationParameter> parameters; 36private static ReadOnlyCollection<ServiceOperationParameter> emptyParameterCollection = new ReadOnlyCollection<ServiceOperationParameter>(new ServiceOperationParameter[0]); 154public ReadOnlyCollection<ServiceOperationParameter> Parameters
System\Data\Services\Providers\ServiceOperationWrapper.cs (1)
87public ReadOnlyCollection<ServiceOperationParameter> Parameters
System.Data.Services.Client (10)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (5)
202ReadOnlyCollection<Expression> arguments = this.VisitExpressionList(initializer.Arguments); 344internal virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original) 427internal virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original) 462internal virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2146private static bool ExpressionIsSimpleAccess(Expression argument, ReadOnlyCollection<ParameterExpression> expressions)
System\Data\Services\Client\DataServiceContext.cs (2)
399public ReadOnlyCollection<LinkDescriptor> Links 411public ReadOnlyCollection<EntityDescriptor> Entities
System\Data\Services\Client\DataServiceKeyAttribute.cs (2)
26private readonly ReadOnlyCollection<string> keyNames; 58public ReadOnlyCollection<string> KeyNames
System.IdentityModel (116)
System\IdentityModel\Policy\AuthorizationContext.cs (1)
15public abstract ReadOnlyCollection<ClaimSet> ClaimSets { get; }
System\IdentityModel\Policy\DefaultAuthorizationContext.cs (2)
15ReadOnlyCollection<ClaimSet> claimSets; 53public override ReadOnlyCollection<ClaimSet> ClaimSets
System\IdentityModel\Policy\DefaultEvaluationContext.cs (2)
19ReadOnlyCollection<ClaimSet> readOnlyClaimSets; 32public override ReadOnlyCollection<ClaimSet> ClaimSets
System\IdentityModel\Policy\EvaluationContext.cs (1)
13public abstract ReadOnlyCollection<ClaimSet> ClaimSets { get; }
System\IdentityModel\Policy\UnconditionalPolicy.cs (5)
22ReadOnlyCollection<ClaimSet> issuances; 41public UnconditionalPolicy(ReadOnlyCollection<ClaimSet> issuances, DateTime expirationTime) 61internal UnconditionalPolicy(IIdentity primaryIdentity, ReadOnlyCollection<ClaimSet> issuances, DateTime expirationTime) 83void Initialize(ClaimSet issuer, ClaimSet issuance, ReadOnlyCollection<ClaimSet> issuances, DateTime expirationTime) 158internal ReadOnlyCollection<ClaimSet> Issuances
System\IdentityModel\RsaEncryptionCookieTransform.cs (2)
101protected virtual ReadOnlyCollection<RSA> DecryptionKeys 153ReadOnlyCollection<RSA> decryptionKeys = DecryptionKeys;
System\IdentityModel\RsaSignatureCookieTransform.cs (2)
113protected virtual ReadOnlyCollection<RSA> VerificationKeys 149ReadOnlyCollection<RSA> verificationKeys = VerificationKeys;
System\IdentityModel\SecurityUtils.cs (11)
95internal static ReadOnlyCollection<SecurityKey> CreateSymmetricSecurityKeys( byte[] key ) 353public override ReadOnlyCollection<ClaimSet> ClaimSets { get { return this.policy.Issuances; } } 597internal static ReadOnlyCollection<IAuthorizationPolicy> CreateAuthorizationPolicies(ClaimSet claimSet) 602internal static ReadOnlyCollection<IAuthorizationPolicy> CreateAuthorizationPolicies(ClaimSet claimSet, DateTime expirationTime) 723internal static ReadOnlyCollection<ClaimSet> CloneClaimSetsIfNecessary(ReadOnlyCollection<ClaimSet> claimSets) 757internal static void DisposeClaimSetsIfNecessary(ReadOnlyCollection<ClaimSet> claimSets) 768internal static ReadOnlyCollection<IAuthorizationPolicy> CloneAuthorizationPoliciesIfNecessary(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 803public static void DisposeAuthorizationPoliciesIfNecessary(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 1006public static ReadOnlyCollection<T> Instance = new ReadOnlyCollection<T>(new List<T>());
System\IdentityModel\Selectors\CustomUserNameSecurityTokenAuthenticator.cs (1)
25protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore(string userName, string password)
System\IdentityModel\Selectors\RsaSecurityTokenAuthenticator.cs (1)
24protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (3)
65protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token) 172ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.supportingAuthenticators[i].ValidateToken(token); 211ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.supportingAuthenticators[i].ValidateToken(token);
System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (3)
26public ReadOnlyCollection<IAuthorizationPolicy> ValidateToken(SecurityToken token) 49ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = ValidateTokenCore(token); 74protected abstract ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token);
System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
98public static SecurityTokenResolver CreateDefaultSecurityTokenResolver(ReadOnlyCollection<SecurityToken> tokens, bool canMatchLocalId) 105ReadOnlyCollection<SecurityToken> tokens; 108public SimpleTokenResolver(ReadOnlyCollection<SecurityToken> tokens, bool canMatchLocalId)
System\IdentityModel\Selectors\SecurityTokenVersion.cs (1)
11public abstract ReadOnlyCollection<string> GetSecuritySpecifications();
System\IdentityModel\Selectors\UserNameSecurityTokenAuthenticator.cs (2)
22protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token) 28protected abstract ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore(string userName, string password);
System\IdentityModel\Selectors\WindowsSecurityTokenAuthenticator.cs (1)
32protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\IdentityModel\Selectors\WindowsUserNameSecurityTokenAuthenticator.cs (1)
30protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore(string userName, string password)
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
74protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\IdentityModel\Tokens\AggregateTokenResolver.cs (1)
43public ReadOnlyCollection<SecurityTokenResolver> TokenResolvers
System\IdentityModel\Tokens\AuthorizationPolicy.cs (1)
83public ReadOnlyCollection<ClaimsIdentity> IdentityCollection
System\IdentityModel\Tokens\EncryptedSecurityToken.cs (1)
95public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (4)
27ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 38ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies 92public ReadOnlyCollection<IAuthorizationPolicy> AuthorizationPolicies 97public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (2)
19ReadOnlyCollection<SecurityKey> securityKeys = null; 68public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
23ReadOnlyCollection<SecurityKey> securityKeys; 84public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (2)
64/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 69public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\RsaSecurityToken.cs (2)
19ReadOnlyCollection<SecurityKey> rsaKey; 166public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (2)
143/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 147public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\Saml2SecurityToken.cs (3)
18private ReadOnlyCollection<SecurityKey> keys; 36public Saml2SecurityToken(Saml2Assertion assertion, ReadOnlyCollection<SecurityKey> keys, SecurityToken issuerToken) 80public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (5)
304/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 311public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token) 644ReadOnlyCollection<SecurityKey> keys = this.ResolveSecurityKeys(assertion, Configuration.ServiceTokenResolver); 2134protected virtual ReadOnlyCollection<SecurityKey> ResolveSecurityKeys(Saml2Assertion assertion, SecurityTokenResolver resolver) 2163ReadOnlyCollection<SecurityKey> securityKeys;
System\IdentityModel\Tokens\SamlAssertion.cs (3)
29ReadOnlyCollection<SecurityKey> cryptoList; 236internal ReadOnlyCollection<SecurityKey> SecurityKeys 404ReadOnlyCollection<SecurityKey> BuildCryptoList()
System\IdentityModel\Tokens\SamlAttribute.cs (1)
185public virtual ReadOnlyCollection<Claim> ExtractClaims()
System\IdentityModel\Tokens\SamlAttributeStatement.cs (1)
164ReadOnlyCollection<Claim> attributeClaims = attributes[i].ExtractClaims();
System\IdentityModel\Tokens\SamlAuthenticationClaimResource.cs (3)
22ReadOnlyCollection<SamlAuthorityBinding> authorityBindings; 83ReadOnlyCollection<SamlAuthorityBinding> authorityBindings 110public ReadOnlyCollection<SamlAuthorityBinding> AuthorityBindings
System\IdentityModel\Tokens\SamlSecurityToken.cs (1)
52public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
950/// <returns>The <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 957public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\SamlSubject.cs (1)
204public virtual ReadOnlyCollection<Claim> ExtractClaims()
System\IdentityModel\Tokens\SamlSubjectStatement.cs (1)
77ReadOnlyCollection<Claim> subjectClaims = this.subject.ExtractClaims();
System\IdentityModel\Tokens\SecurityToken.cs (1)
12public abstract ReadOnlyCollection<SecurityKey> SecurityKeys { get; }
System\IdentityModel\Tokens\SecurityTokenElement.cs (5)
28ReadOnlyCollection<ClaimsIdentity> _subject; 114/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 115public ReadOnlyCollection<ClaimsIdentity> GetIdentities() 131/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 133protected virtual ReadOnlyCollection<ClaimsIdentity> ValidateToken(XmlElement securityTokenXml, SecurityTokenHandlerCollection securityTokenHandlers)
System\IdentityModel\Tokens\SecurityTokenHandler.cs (2)
265/// <returns>The <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 267public virtual ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (2)
351/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 354public ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
66ReadOnlyCollection<SecurityKey> _securityKeys; 654public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (10)
34public static readonly ReadOnlyCollection<CookieTransform> DefaultCookieTransforms = (new List<CookieTransform>(new CookieTransform[] { new DeflateCookieTransform(), new ProtectedDataCookieTransform() }).AsReadOnly()); 38ReadOnlyCollection<CookieTransform> _transforms; 61public SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform> transforms) 72public SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform> transforms, TimeSpan tokenLifetime) 258(principal.Identities as ReadOnlyCollection<ClaimsIdentity>)[0].BootstrapContext = new BootstrapContext(tokenDescriptor.Token, bootstrapTokenCollection[tokenDescriptor.Token.GetType()]); 554public ReadOnlyCollection<CookieTransform> Transforms 575/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 578public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token) 629/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 633public virtual ReadOnlyCollection<ClaimsIdentity> ValidateToken(SessionSecurityToken token, string endpointId)
System\IdentityModel\Tokens\UserNameSecurityToken.cs (1)
39public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\WindowsSecurityToken.cs (1)
93public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (2)
47/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 53public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\IdentityModel\Tokens\X509SecurityToken.cs (2)
15ReadOnlyCollection<SecurityKey> securityKeys; 64public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
489/// <returns>A <see cref="ReadOnlyCollection{T}"/> of <see cref="ClaimsIdentity"/> representing the identities contained in the token.</returns> 496public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (2)
18ReadOnlyCollection<SecurityKey> securityKeys; 107public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\BufferedGenericXmlSecurityToken.cs (1)
27ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies,
System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (2)
22ReadOnlyCollection<SecurityKey> securityKey; 168public override ReadOnlyCollection<SecurityKey> SecurityKeys
System.IdentityModel.Selectors (2)
infocard\client\System\IdentityModel\Selectors\InfoCardProofToken.cs (2)
23ReadOnlyCollection<SecurityKey> m_securityKeys; 47public override ReadOnlyCollection<SecurityKey> SecurityKeys
System.Runtime.Caching (8)
System\Caching\CacheEntryChangeMonitor.cs (1)
10public abstract ReadOnlyCollection<string> CacheKeys { get; }
System\Caching\FileChangeMonitor.cs (1)
9public abstract ReadOnlyCollection<string> FilePaths { get; }
System\Caching\HostFileChangeMonitor.cs (3)
21private readonly ReadOnlyCollection<String> _filePaths; 127public override ReadOnlyCollection<String> FilePaths { get { return _filePaths; } } 147private static ReadOnlyCollection<string> SanitizeFilePathsList(IList<string> filePaths) {
System\Caching\MemoryCacheEntryChangeMonitor.cs (3)
17private ReadOnlyCollection<String> _keys; 109public override ReadOnlyCollection<string> CacheKeys { get { return new ReadOnlyCollection<string>(_keys); } } 115internal MemoryCacheEntryChangeMonitor(ReadOnlyCollection<String> keys, String regionName, MemoryCache cache) {
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstanceView.cs (2)
25ReadOnlyCollection<InstanceStoreQueryResult> queryResults; 204public ReadOnlyCollection<InstanceStoreQueryResult> InstanceStoreQueryResults
System.Runtime.Serialization (4)
System\Runtime\Serialization\DataContractSerializer.cs (2)
32ReadOnlyCollection<Type> knownTypeCollection; 189public ReadOnlyCollection<Type> KnownTypes
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
27ReadOnlyCollection<Type> knownTypeCollection; 124public ReadOnlyCollection<Type> KnownTypes
System.ServiceModel (244)
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (1)
15static ReadOnlyCollection<string> emptyNeededData = new ReadOnlyCollection<string>(new List<string>(0));
System\ServiceModel\Channels\CorrelationMessageProperty.cs (7)
17static readonly ReadOnlyCollection<InstanceKey> emptyInstanceKeyList = new ReadOnlyCollection<InstanceKey>(new List<InstanceKey>(0)); 20ReadOnlyCollection<InstanceKey> additionalKeys; 22ReadOnlyCollection<InstanceKey> transientCorrelations; 50this.additionalKeys = additionalKeys as ReadOnlyCollection<InstanceKey>; 69this.transientCorrelations = transientCorrelations as ReadOnlyCollection<InstanceKey>; 92public ReadOnlyCollection<InstanceKey> AdditionalKeys 105public ReadOnlyCollection<InstanceKey> TransientCorrelations
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
381ReadOnlyCollection<IAuthorizationPolicy> spnPolicies = SecurityUtils.CreatePrincipalNameAuthorizationPolicies(spn);
System\ServiceModel\Channels\HttpChannelListener.cs (2)
643ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.userNameTokenAuthenticator.ValidateToken(securityToken); 654ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.windowsTokenAuthenticator.ValidateToken(securityToken);
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
84ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = SecurityUtils.NonValidatingX509Authenticator.ValidateToken(token);
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
154ReadOnlyCollection<IAuthorizationPolicy> policies = this.certificateAuthenticator.ValidateToken(token);
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
187ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.x509SecurityTokenAuthenticator.ValidateToken(token); 218ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = policies.AsReadOnly();
System\ServiceModel\Channels\PeerIPHelper.cs (8)
73public bool AddressesChanged(ReadOnlyCollection<IPAddress> addresses) 111static ReadOnlyCollection<IPAddress> CloneAddresses(IPAddress[] sourceArray) 121public static ReadOnlyCollection<IPAddress> CloneAddresses(ReadOnlyCollection<IPAddress> sourceCollection, bool maskScopeId) 350public ReadOnlyCollection<IPAddress> GetLocalAddresses() 452public ReadOnlyCollection<IPAddress> SortAddresses(ReadOnlyCollection<IPAddress> addresses) 454ReadOnlyCollection<IPAddress> sortedAddresses = SocketAddressList.SortAddresses(this.ipv6Socket, listenAddress, addresses);
System\ServiceModel\Channels\PeerMaintainer.cs (5)
200ReadOnlyCollection<PeerNodeAddress> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), false); 311ReadOnlyCollection<PeerNodeAddress> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), true); 378ReadOnlyCollection<PeerNodeAddress> addresses = ResolveNewAddresses(timeoutHelper.RemainingTime(), true); 516ReadOnlyCollection<PeerNodeAddress> ResolveNewAddresses(TimeSpan timeLeft, bool retryResolve) 538ReadOnlyCollection<PeerNodeAddress> addresses;
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
143ReadOnlyCollection<IPAddress> sortedAddresses = this.ipHelper.SortAddresses(remoteAddress.IPAddresses);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (2)
321ReadOnlyCollection<SecurityKey> keys; 381public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (4)
67public static ReadOnlyCollection<IPAddress> SortAddresses(Socket socket, IPAddress listenAddress, ReadOnlyCollection<IPAddress> addresses) 69ReadOnlyCollection<IPAddress> sortedAddresses = null; 271public ReadOnlyCollection<IPAddress> ToAddresses()
System\ServiceModel\Channels\PnrpPeerResolver.cs (1)
625public override ReadOnlyCollection<PeerNodeAddress> Resolve(string meshId, int maxAddresses, TimeSpan timeout)
System\ServiceModel\Channels\SecurityChannelListener.cs (2)
434ReadOnlyCollection<ILogonTokenCacheManager> cacheManagers; 436public AggregateLogonTokenCacheManager(ReadOnlyCollection<ILogonTokenCacheManager> cacheManagers)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
663ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.parent.ClientCertificateAuthenticator.ValidateToken(token); 686ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = SecurityUtils.NonValidatingX509Authenticator.ValidateToken(token); 969ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = this.serverCertificateAuthenticator.ValidateToken(token);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
255ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = authenticator.ValidateToken(token); 401ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = SecurityUtils.CreatePrincipalNameAuthorizationPolicies(principalName);
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
38public abstract ReadOnlyCollection<IBindingConfigurationElement> ConfiguredBindings
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
29public override ReadOnlyCollection<IBindingConfigurationElement> ConfiguredBindings
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
38public abstract ReadOnlyCollection<StandardEndpointElement> ConfiguredEndpoints
System\ServiceModel\Configuration\StandardBindingCollectionElement.cs (1)
29public override ReadOnlyCollection<IBindingConfigurationElement> ConfiguredBindings
System\ServiceModel\Configuration\StandardEndpointCollectionElement.cs (1)
30public override ReadOnlyCollection<StandardEndpointElement> ConfiguredEndpoints
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (2)
25ReadOnlyCollection<IAuthorizationPolicy> externalAuthorizationPolicies; 56public ReadOnlyCollection<IAuthorizationPolicy> ExternalAuthorizationPolicies
System\ServiceModel\Dispatcher\ActionMessageFilter.cs (2)
17ReadOnlyCollection<string> actionSet; 62public ReadOnlyCollection<string> Actions
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (1)
36ReadOnlyCollection<IAuthorizationPolicy> authPolicy = security.ServiceSecurityContext.AuthorizationPolicies;
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (1)
22ReadOnlyCollection<IAuthorizationPolicy> externalAuthorizationPolicies;
System\ServiceModel\Dispatcher\DispatchRuntime.cs (2)
25ReadOnlyCollection<IAuthorizationPolicy> externalAuthorizationPolicies; 266public ReadOnlyCollection<IAuthorizationPolicy> ExternalAuthorizationPolicies
System\ServiceModel\PeerNodeAddress.cs (4)
27ReadOnlyCollection<IPAddress> ipAddresses; 37public PeerNodeAddress(EndpointAddress endpointAddress, ReadOnlyCollection<IPAddress> ipAddresses) 46void Initialize(EndpointAddress endpointAddress, ReadOnlyCollection<IPAddress> ipAddresses) 70public ReadOnlyCollection<IPAddress> IPAddresses
System\ServiceModel\PeerResolver.cs (1)
15public abstract ReadOnlyCollection<PeerNodeAddress> Resolve(string meshId, int maxAddresses, TimeSpan timeout);
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (2)
143ReadOnlyCollection<IPAddress> addresses = new ReadOnlyCollection<IPAddress>(addresslist); 295public override ReadOnlyCollection<PeerNodeAddress> Resolve(string meshId, int maxAddresses, TimeSpan timeout)
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
226ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies;
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
276ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies;
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
22ReadOnlyCollection<SecurityTokenResolver> sessionResolverList;
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (2)
23ReadOnlyCollection<SecurityTokenResolver> sessionTokenResolverList; 90ReadOnlyCollection<SecurityTokenResolver> mergedTokenResolvers = MergeOutOfBandResolvers(supportingAuthenticators, this.sessionTokenResolverList);
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (3)
223IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 232void DoIdentityCheckAndAttachInitiatorSecurityProperty(Message message, SecurityToken initiatorToken, SecurityToken recipientToken, ReadOnlyCollection<IAuthorizationPolicy> recipientTokenPolicies) 305ReadOnlyCollection<IAuthorizationPolicy> signingTokenPolicies = this.initiatorAsymmetricTokenAuthenticator.ValidateToken(signingToken);
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (2)
21ReadOnlyCollection<SecurityTokenResolver> recipientOutOfBandTokenResolverList; 81public ReadOnlyCollection<SecurityTokenResolver> RecipientOutOfBandTokenResolverList
System\ServiceModel\Security\DerivedKeyCachingSecurityTokenSerializer.cs (3)
203ReadOnlyCollection<SecurityKey> keys; 248public ReadOnlyCollection<SecurityKey> SecurityKeys 258ReadOnlyCollection<SecurityKey> computedKeys;
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
40ReadOnlyCollection<CookieTransform> _cookieTransforms;
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (8)
38protected static readonly ReadOnlyCollection<IAuthorizationPolicy> AnonymousAuthorizationPolicy 48protected override ReadOnlyCollection<IAuthorizationPolicy> GetAuthorizationPolicies(OperationContext operationContext) 59ReadOnlyCollection<IAuthorizationPolicy> baseAuthorizationPolicies = base.GetAuthorizationPolicies(operationContext); 79ReadOnlyCollection<IAuthorizationPolicy> baseAuthorizationPolicies, 133ReadOnlyCollection<IAuthorizationPolicy> policyCollection = 154ReadOnlyCollection<ClaimsIdentity> tranportTokenIdentities = GetTransportTokenIdentities(transportToken); 204static ReadOnlyCollection<ClaimsIdentity> GetTransportTokenIdentities(SecurityToken transportToken) 405static ReadOnlyCollection<ClaimsIdentity> ConvertToIDFxIdentities(IList<IAuthorizationPolicy> authorizationPolicies,
System\ServiceModel\Security\IdentityVerifier.cs (1)
88internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies)
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
265ReadOnlyCollection<IAuthorizationPolicy> signingTokenPolicies = this.sessionTokenAuthenticator.ValidateToken(signingToken);
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
659ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\IssuedTokensHeader.cs (2)
18ReadOnlyCollection<RequestSecurityTokenResponse> tokenIssuances; 112public ReadOnlyCollection<RequestSecurityTokenResponse> TokenIssuances
System\ServiceModel\Security\MessageSecurityProtocol.cs (5)
172IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 174ReadOnlyCollection<IAuthorizationPolicy> protectionTokenPolicies; 190protected void DoIdentityCheckAndAttachInitiatorSecurityProperty(Message message, SecurityToken protectionToken, ReadOnlyCollection<IAuthorizationPolicy> protectionTokenPolicies) 198protected AuthorizationContext EnsureIncomingIdentity(Message message, SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 231ReadOnlyCollection<IAuthorizationPolicy> authzPolicies = authenticator.ValidateToken(token);
System\ServiceModel\Security\MessageSecurityTokenVersion.cs (2)
22ReadOnlyCollection<string> supportedSpecs; 198public override ReadOnlyCollection<string> GetSecuritySpecifications()
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (3)
417ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, bool isCookieMode) 425DateTime keyExpirationTime, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, bool isCookieMode) 542protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (7)
73Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping; 78ReadOnlyCollection<SecurityTokenResolver> outOfBandTokenResolver; 457public Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> SecurityTokenAuthorizationPoliciesMapping 463this.tokenPoliciesMapping = new Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>>(); 551public void ConfigureOutOfBandTokenResolver(ReadOnlyCollection<SecurityTokenResolver> outOfBandResolvers) 1760ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 2093public AggregateSecurityHeaderTokenResolver(SecurityHeaderTokenResolver tokenResolver, ReadOnlyCollection<SecurityTokenResolver> outOfBandTokenResolvers) :
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (3)
658ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 664ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, int defaultKeySize, bool isBearerKeyType) 672public virtual GenericXmlSecurityToken GetIssuedToken(string expectedTokenType, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, RSA clientKey)
System\ServiceModel\Security\SctClaimsHandler.cs (1)
125bool ContainsEndpointAuthPolicy( ReadOnlyCollection<IAuthorizationPolicy> policies )
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (1)
294ReadOnlyCollection<SecurityKey> keys = token.SecurityKeys;
System\ServiceModel\Security\SecurityMessageProperty.cs (5)
28ReadOnlyCollection<IAuthorizationPolicy> externalAuthorizationPolicies; 51public ReadOnlyCollection<IAuthorizationPolicy> ExternalAuthorizationPolicies 237internal ReadOnlyCollection<IAuthorizationPolicy> GetInitiatorTokenAuthorizationPolicies() 242internal ReadOnlyCollection<IAuthorizationPolicy> GetInitiatorTokenAuthorizationPolicies(bool includeTransportToken) 247internal ReadOnlyCollection<IAuthorizationPolicy> GetInitiatorTokenAuthorizationPolicies(bool includeTransportToken, SecurityContextSecurityToken supportingSessionTokenToExclude)
System\ServiceModel\Security\SecurityProtocol.cs (6)
32static ReadOnlyCollection<SupportingTokenProviderSpecification> emptyTokenProviders; 87static ReadOnlyCollection<SupportingTokenProviderSpecification> EmptyTokenProviders 503void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> tokens, SecurityTokenAttachmentMode attachmentMode, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 515protected void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 643protected ReadOnlyCollection<SecurityTokenResolver> MergeOutOfBandResolvers(IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators, ReadOnlyCollection<SecurityTokenResolver> primaryResolvers)
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
78static ReadOnlyCollection<SupportingTokenAuthenticatorSpecification> emptyTokenAuthenticators; 341static ReadOnlyCollection<SupportingTokenAuthenticatorSpecification> EmptyTokenAuthenticators
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (7)
567protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token) 573static bool IsSameIdentity(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, ServiceSecurityContext incomingContext) 598internal static ReadOnlyCollection<IAuthorizationPolicy> CreateSecureConversationPolicies(SecurityMessageProperty security, DateTime expirationTime) 603static ReadOnlyCollection<IAuthorizationPolicy> CreateSecureConversationPolicies(SecurityMessageProperty security, ReadOnlyCollection<IAuthorizationPolicy> currentTokenPolicies, DateTime expirationTime) 658SecurityContextSecurityToken IssueToken(RequestSecurityToken rst, Message request, SecurityContextSecurityToken currentToken, ReadOnlyCollection<IAuthorizationPolicy> currentTokenPolicies, out RequestSecurityTokenResponse rstr) 698ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = (securityProperty != null) ?
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
716ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 800ReadOnlyCollection<SecurityKey> issuedKeys = issuedToken.SecurityKeys;
System\ServiceModel\Security\SecurityTokenAuthenticatorAdapter.cs (1)
48protected sealed override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\SecurityTokenSpecification.cs (3)
16ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies; 18public SecurityTokenSpecification(SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies) 33public ReadOnlyCollection<IAuthorizationPolicy> SecurityTokenPolicies
System\ServiceModel\Security\SecurityUtils.cs (4)
625internal static ReadOnlyCollection<SecurityKey> CreateSymmetricSecurityKeys(byte[] key) 782internal static Claim GetPrimaryIdentityClaim(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 964internal static ReadOnlyCollection<IAuthorizationPolicy> CreatePrincipalNameAuthorizationPolicies(string principalName) 2430public static ReadOnlyCollection<T> Instance = new ReadOnlyCollection<T>(new List<T>());
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (2)
580internal ReadOnlyCollection<IAuthorizationPolicy> ValidateToken(SecurityToken token, ChannelBinding channelBinding, ExtendedProtectionPolicy protectionPolicy) 587protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\SimpleSecurityTokenProvider.cs (2)
83ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies 98static ReadOnlyCollection<IAuthorizationPolicy> GetServiceAuthorizationPolicies(EndpointIdentity endpointIdentity)
System\ServiceModel\Security\SpnegoTokenAuthenticator.cs (1)
122protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation)
System\ServiceModel\Security\SpnegoTokenProvider.cs (1)
265protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation)
System\ServiceModel\Security\SspiNegotiationTokenAuthenticator.cs (3)
72protected abstract ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation); 76protected virtual void IssueServiceToken(SspiNegotiationTokenAuthenticatorState sspiState, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, out SecurityContextSecurityToken serviceToken, out WrappedKeySecurityToken proofToken, 280ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = ValidateSspiNegotiation(sspiNegotiation);
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (2)
56protected abstract ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation); 360ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = ValidateSspiNegotiation(sspiNegotiation);
System\ServiceModel\Security\SupportingTokenSpecification.cs (2)
18public SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode) 22public SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (2)
378ReadOnlyCollection<IAuthorizationPolicy> signingTokenPolicies = this.initiatorTokenAuthenticator.ValidateToken(signingToken); 384ReadOnlyCollection<IAuthorizationPolicy> wrappingTokenPolicies = this.initiatorTokenAuthenticator.ValidateToken(wrappingToken);
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (2)
19ReadOnlyCollection<SecurityTokenResolver> recipientOutOfBandTokenResolverList; 62public ReadOnlyCollection<SecurityTokenResolver> RecipientOutOfBandTokenResolverList
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (2)
209protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation) 229ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies;
System\ServiceModel\Security\TlsnegoTokenProvider.cs (2)
161protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateSspiNegotiation(ISspiNegotiation sspiNegotiation) 173ReadOnlyCollection<IAuthorizationPolicy> authzPolicies;
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (4)
47ReadOnlyCollection<SecurityKey> securityKeys; 143public override ReadOnlyCollection<SecurityKey> SecurityKeys 166internal bool TryGetSecurityKeys(out ReadOnlyCollection<SecurityKey> keys) 272internal void InitializeDerivedKey(ReadOnlyCollection<SecurityKey> securityKeys)
System\ServiceModel\Security\Tokens\DerivedKeySecurityTokenStub.cs (1)
55public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\GenericXmlSecurityTokenAuthenticator.cs (1)
25protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
933protected ReadOnlyCollection<IAuthorizationPolicy> GetServiceAuthorizationPolicies(AcceleratedTokenProviderState negotiationState) 992ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = GetServiceAuthorizationPolicies(negotiationState);
System\ServiceModel\Security\Tokens\KerberosRequestorSecurityTokenAuthenticator.cs (1)
28protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\Tokens\NonValidatingSecurityTokenAuthenticator.cs (1)
25protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\Tokens\ProviderBackedSecurityToken.cs (1)
116public override System.Collections.ObjectModel.ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (1)
152ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies)
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (13)
27ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 28ReadOnlyCollection<SecurityKey> securityKeys; 41public SecurityContextSecurityToken(UniqueId contextId, string id, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 48public SecurityContextSecurityToken(UniqueId contextId, string id, byte[] key, DateTime validFrom, DateTime validTo, UniqueId keyGeneration, DateTime keyEffectiveTime, DateTime keyExpirationTime, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 60internal SecurityContextSecurityToken(SecurityContextSecurityToken sourceToken, string id, byte[] key, UniqueId keyGeneration, DateTime keyEffectiveTime, DateTime keyExpirationTime, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 69internal SecurityContextSecurityToken(UniqueId contextId, string id, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, bool isCookieMode, byte[] cookieBlob) 74internal SecurityContextSecurityToken(UniqueId contextId, string id, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, bool isCookieMode, byte[] cookieBlob, 85ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = System.IdentityModel.SecurityUtils.CloneAuthorizationPoliciesIfNecessary(from.authorizationPolicies); 155public ReadOnlyCollection<IAuthorizationPolicy> AuthorizationPolicies 169public override ReadOnlyCollection<SecurityKey> SecurityKeys 238void Initialize(UniqueId contextId, byte[] key, DateTime validFrom, DateTime validTo, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, bool isCookieMode, 308DateTime validFrom, DateTime validTo, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, SecurityStateEncoder securityStateEncoder) 316DateTime keyExpirationTime, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, SecurityStateEncoder securityStateEncoder)
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenAuthenticator.cs (1)
26protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
System\ServiceModel\Security\Tokens\SspiSecurityToken.cs (1)
104public override ReadOnlyCollection<SecurityKey> SecurityKeys
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (6)
43public bool TryAddTokenCache(string userName, string password, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 97ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 99public LogonToken(string userName, string password, byte[] salt, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 118public ReadOnlyCollection<IAuthorizationPolicy> GetAuthorizationPolicies() 152protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore(string userName, string password) 168ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = base.ValidateUserNamePasswordCore(userName, password);
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
199IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, Dictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping)
System\ServiceModel\Security\TrustDriver.cs (2)
147string expectedTokenType, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, int defaultKeySize, bool isBearerKeyType); 149public abstract GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, string expectedTokenType, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, RSA clientKey);
System\ServiceModel\Security\WrappedRsaSecurityTokenAuthenticator.cs (1)
54protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token )
System\ServiceModel\Security\WrappedSaml11SecurityTokenAuthenticator.cs (1)
54protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token )
System\ServiceModel\Security\WrappedSaml2SecurityTokenAuthenticator.cs (1)
65protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token )
System\ServiceModel\Security\WrappedSamlSecurityTokenAuthenticator.cs (1)
43protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token )
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
97protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token )
System\ServiceModel\Security\WrappedUserNameSecurityTokenAuthenticator.cs (3)
54protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token ) 56ReadOnlyCollection<ClaimsIdentity> identities = null; 75protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateUserNamePasswordCore( string userName, string password )
System\ServiceModel\Security\WrappedX509SecurityTokenAuthenticator.cs (2)
53protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore( SecurityToken token ) 55ReadOnlyCollection<ClaimsIdentity> identities = null;
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
499ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = rsaAuthenticator.ValidateToken(token); 589ReadOnlyCollection<SecurityKey> keys = token.SecurityKeys;
System\ServiceModel\Security\WSTrust.cs (2)
655ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, int defaultKeySize, bool isBearerKeyType) 772ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies, RSA clientKey)
System\ServiceModel\ServiceAuthenticationManager.cs (6)
18public virtual ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message) 38public override ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message) 83public override ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message)
System\ServiceModel\ServiceAuthorizationManager.cs (4)
40ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = GetAuthorizationPolicies(operationContext); 54protected virtual ReadOnlyCollection<IAuthorizationPolicy> GetAuthorizationPolicies(OperationContext operationContext) 62ReadOnlyCollection<IAuthorizationPolicy> externalPolicies = security.ExternalAuthorizationPolicies; 68ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies = security.ServiceSecurityContext.AuthorizationPolicies;
System\ServiceModel\ServiceConfiguration.cs (1)
75public ReadOnlyCollection<Uri> BaseAddresses
System\ServiceModel\ServiceHost.cs (4)
40ReadOnlyCollection<Uri> externalBaseAddresses; 122public ReadOnlyCollection<Uri> BaseAddresses 484public virtual ReadOnlyCollection<ServiceEndpoint> AddDefaultEndpoints() 682internal ReadOnlyCollection<InstanceContext> GetInstanceContexts()
System\ServiceModel\ServiceSecurityContext.cs (4)
21ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies; 28public ServiceSecurityContext(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 43public ServiceSecurityContext(AuthorizationContext authorizationContext, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies) 165public ReadOnlyCollection<IAuthorizationPolicy> AuthorizationPolicies
System\UriTemplate.cs (12)
280public ReadOnlyCollection<string> PathSegmentVariableNames 294public ReadOnlyCollection<string> QueryValueVariableNames 1010ReadOnlyCollection<string> keys; 1011ReadOnlyCollection<string> values; 1137static ReadOnlyCollection<string> emptyStringCollection = null; 1141ReadOnlyCollection<string> pathSegmentVariableNamesSnapshot = null; 1144ReadOnlyCollection<string> queryValueVariableNamesSnapshot = null; 1155public static ReadOnlyCollection<string> EmptyCollection 1174public ReadOnlyCollection<string> PathSegmentVariableNames 1180Interlocked.CompareExchange<ReadOnlyCollection<string>>(ref this.pathSegmentVariableNamesSnapshot, new ReadOnlyCollection<string>( 1186public ReadOnlyCollection<string> QueryValueVariableNames 1192Interlocked.CompareExchange<ReadOnlyCollection<string>>(ref this.queryValueVariableNamesSnapshot, new ReadOnlyCollection<string>(
System.ServiceModel.Activities (9)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
26ReadOnlyCollection<string> sendNames; 27ReadOnlyCollection<string> receiveNames;
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (2)
107ReadOnlyCollection<BookmarkInfo> bookmarks = this.host.DurableInstanceManager.PersistenceProviderDirectory.GetBookmarksForInstance(instanceKey); 163public void Retry(HashSet<InstanceKey> associatedInstances, ReadOnlyCollection<BookmarkInfo> availableBookmarks)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
270static ReadOnlyCollection<InstanceKey> emptyKeyCollection = new ReadOnlyCollection<InstanceKey>(new InstanceKey[] { });
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
176internal ReadOnlyCollection<BookmarkInfo> Bookmarks { get; set; }
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
312internal ReadOnlyCollection<BookmarkInfo> GetBookmarksForInstance(InstanceKey instanceKey) 314ReadOnlyCollection<BookmarkInfo> result = null;
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
70static ReadOnlyCollection<BookmarkInfo> emptyBookmarkInfoCollection = new ReadOnlyCollection<BookmarkInfo>(new List<BookmarkInfo>());
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\DefaultDiscoveryService.cs (1)
12readonly ReadOnlyCollection<EndpointDiscoveryMetadata> publishedEndpoints;
System\ServiceModel\Discovery\DiscoveryServiceExtension.cs (2)
17ReadOnlyCollection<EndpointDiscoveryMetadata> readOnlyPublishedEndpoints; 25public ReadOnlyCollection<EndpointDiscoveryMetadata> PublishedEndpoints
System.ServiceModel.Internals (2)
System\Runtime\ExceptionTrace.cs (1)
139ReadOnlyCollection<Exception> innerExceptions = aggregateException.Flatten().InnerExceptions;
System\Runtime\Fx.cs (1)
227ReadOnlyCollection<Exception> innerExceptions = ((AggregateException)exception).InnerExceptions;
System.Web (2)
HttpContext.cs (1)
97private ReadOnlyCollection<string> _webSocketRequestedProtocols;
ModelBinding\ComplexModel.cs (1)
28public ReadOnlyCollection<ModelMetadata> PropertyMetadata {
System.Web.DataVisualization (2)
Common\General\Selection.cs (1)
1382public ReadOnlyCollection<PointF> Markers { get; internal set; }
WebForm\General\ChartHttpHandler.cs (1)
2143internal static ReadOnlyCollection<HandlerPageTraceInfo> Messages
System.Web.DynamicData (27)
DynamicData\ControlFilterExpression.cs (1)
122var names = column.ForeignKeyNames;
DynamicData\IMetaForeignKeyColumn.cs (1)
9ReadOnlyCollection<string> ForeignKeyNames { get; }
DynamicData\IMetaModel.cs (1)
20ReadOnlyCollection<IMetaTable> Tables { get; }
DynamicData\IMetaTable.cs (2)
16ReadOnlyCollection<IMetaColumn> Columns { get; } 52ReadOnlyCollection<IMetaColumn> PrimaryKeyColumns { get; }
DynamicData\MetaForeignKeyColumn.cs (1)
206public ReadOnlyCollection<string> ForeignKeyNames { get { return Provider.Association.ForeignKeyNames; } }
DynamicData\MetaModel.cs (3)
23private ReadOnlyCollection<MetaTable> _tablesRO; 379public ReadOnlyCollection<MetaTable> Tables { 651ReadOnlyCollection<IMetaTable> IMetaModel.Tables {
DynamicData\MetaTable.cs (5)
34private ReadOnlyCollection<MetaColumn> _primaryKeyColumns; 54public ReadOnlyCollection<MetaColumn> Columns { 220public ReadOnlyCollection<MetaColumn> PrimaryKeyColumns { 1029ReadOnlyCollection<IMetaColumn> IMetaTable.Columns { 1062ReadOnlyCollection<IMetaColumn> IMetaTable.PrimaryKeyColumns {
DynamicData\ModelProviders\AssociationProvider.cs (1)
80public virtual ReadOnlyCollection<string> ForeignKeyNames { get; protected set; }
DynamicData\ModelProviders\DataModelProvider.cs (1)
12public abstract ReadOnlyCollection<TableProvider> Tables { get; }
DynamicData\ModelProviders\DLinqDataModelProvider.cs (2)
11private ReadOnlyCollection<TableProvider> _roTables; 69public override ReadOnlyCollection<TableProvider> Tables {
DynamicData\ModelProviders\DLinqTableProvider.cs (2)
10private ReadOnlyCollection<ColumnProvider> _roColumns; 77public override ReadOnlyCollection<ColumnProvider> Columns {
DynamicData\ModelProviders\EFDataModelProvider.cs (2)
11private ReadOnlyCollection<TableProvider> _tables; 79public override ReadOnlyCollection<TableProvider> Tables {
DynamicData\ModelProviders\EFTableProvider.cs (2)
10private ReadOnlyCollection<ColumnProvider> _roColumns; 62public override ReadOnlyCollection<ColumnProvider> Columns {
DynamicData\ModelProviders\SimpleModelProvider.cs (1)
20public override ReadOnlyCollection<TableProvider> Tables {
DynamicData\ModelProviders\SimpleTableProvider.cs (1)
39public override ReadOnlyCollection<ColumnProvider> Columns {
DynamicData\ModelProviders\TableProvider.cs (1)
67public abstract ReadOnlyCollection<ColumnProvider> Columns { get; }
System.Web.Entity (11)
System\Data\WebControls\EntityDataSourceUtil.cs (9)
199internal static IEnumerable<EdmType> GetTypeAndSubtypesOf(EntityType type, ReadOnlyCollection<GlobalItem> itemCollection, bool includeAbstractTypes) 219internal static bool IsTypeOrSubtypeOf(EntityType superType, EntityType derivedType, ReadOnlyCollection<GlobalItem> itemCollection) 436private static IEnumerable<EdmType> GetTypeAndSubtypesOf<T_EdmType>(EdmType type, ReadOnlyCollection<GlobalItem> itemCollection, bool includeAbstractTypes) 907internal static ReadOnlyCollection<EntityDataSourceColumn> GetNamedColumns(MetadataWorkspace csWorkspace, MetadataWorkspace ocWorkspace, 915ReadOnlyCollection<EdmMember> interestingMembers = GetInterestingMembers(csWorkspace, entitySet, entityType); 939private static ReadOnlyCollection<EdmMember> GetInterestingMembers(MetadataWorkspace csWorkspace, EntitySet entitySet, EntityType entityType) 952ReadOnlyCollection<EdmMember> result = interestingMembers.ToList().AsReadOnly(); 958MetadataWorkspace ocWorkspace, ReadOnlyCollection<EdmMember> interestingMembers) 977private static Dictionary<EdmProperty, EntityDataSourcePropertyColumn> AddPropertyColumns(List<EntityDataSourceColumn> columns, MetadataWorkspace ocWorkspace, EntityDataSourceMemberPath parent, IEnumerable<EdmProperty> properties, ReadOnlyCollection<EdmMember> interestingMembers)
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (2)
52internal readonly ReadOnlyCollection<EntityDataSourceWrapperPropertyDescriptor> AllPropertyDescriptors; 81ReadOnlyCollection<EntityDataSourceColumn> columns = EntityDataSourceUtil.GetNamedColumns(csWorkspace, ocWorkspace, entitySet, entityType);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
1253ReadOnlyCollection<EntityContainer> entityContainers = this.EdmItemCollection.GetItems<EntityContainer>();
System.Web.Extensions (11)
ClientServices\Providers\SettingsSavedEventArgs.cs (2)
13private ReadOnlyCollection<string> _failedSettingsList; 21public ReadOnlyCollection<string> FailedSettingsList {
UI\ScriptManager.cs (7)
1124public ReadOnlyCollection<RegisteredArrayDeclaration> GetRegisteredArrayDeclarations() { 1129public ReadOnlyCollection<RegisteredScript> GetRegisteredClientScriptBlocks() { 1135public ReadOnlyCollection<RegisteredDisposeScript> GetRegisteredDisposeScripts() { 1140public ReadOnlyCollection<RegisteredExpandoAttribute> GetRegisteredExpandoAttributes() { 1145public ReadOnlyCollection<RegisteredHiddenField> GetRegisteredHiddenFields() { 1150public ReadOnlyCollection<RegisteredScript> GetRegisteredOnSubmitStatements() { 1155public ReadOnlyCollection<RegisteredScript> GetRegisteredStartupScripts() {
UI\WebControls\LinqDataSourceView.cs (1)
626private ReadOnlyCollection<MetaDataMember> GetTableMetaDataMembers(ITable table, Type dataObjectType) {
UI\WebControls\QueryableDataSource.cs (1)
19private ReadOnlyCollection<string> _viewNames;
System.Windows.Forms.DataVisualization (1)
Common\General\Selection.cs (1)
1382public ReadOnlyCollection<PointF> Markers { get; internal set; }
System.Workflow.Activities (33)
Designers\ConditionalDesigner.cs (3)
46public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 57public override bool CanRemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 65public override bool CanMoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove)
Designers\EventHandlersDesigner.cs (1)
49public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\ListenDesigner.cs (1)
46public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\ParallelDesigner.cs (1)
51public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\StateDesigner.cs (7)
701internal ReadOnlyCollection<Rectangle> EventHandlersBounds 766internal virtual ReadOnlyCollection<Type> ValidChildTypes 839public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 850ReadOnlyCollection<Type> validChildTypes = ValidChildTypes; 1080public override ReadOnlyCollection<ConnectionPoint> GetConnectionPoints(DesignerEdges edges) 1118protected override ReadOnlyCollection<Point> GetConnections(DesignerEdges edges) 1670ReadOnlyCollection<TransitionInfo> transitions = TransitionInfo.ParseStateMachine(rootState);
Designers\StateDesigner.Helpers.cs (1)
37internal ContainedDesignersParser(ReadOnlyCollection<ActivityDesigner> containedDesigners)
Designers\StateDesigner.TransitionInfo.cs (1)
126internal static ReadOnlyCollection<TransitionInfo> ParseStateMachine(StateActivity rootState)
Designers\StateDesignerConnector.cs (1)
191ReadOnlyCollection<Point> endSegmentEditPoints = ConnectorSegments;
Designers\StateFinalizationDesigner.cs (1)
46public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\StateInitializationDesigner.cs (1)
46public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\TaskDesigner.cs (1)
25public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
Designers\WhileDesigner.cs (1)
94public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
EventDriven.cs (1)
46ReadOnlyCollection<Activity> enabledActivities = this.EnabledActivities;
EventHandlingScope.cs (1)
276public override bool CanInsertActivities(HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<Activity> activitiesToInsert)
LocalService\ExternalDataExchangeService.cs (2)
114internal ReadOnlyCollection<object> GetAllServices() 116ReadOnlyCollection<object> collection;
StateMachineWorkflowInstance.cs (9)
107private static ReadOnlyCollection<StateActivity> GetLeafStates(StateActivity parentState) 134public ReadOnlyCollection<StateActivity> States 151public ReadOnlyCollection<string> PossibleStateTransitions 159public ReadOnlyCollection<string> StateHistory 202ReadOnlyCollection<WorkflowQueueInfo> workflowQueuedInfos = this.WorkflowInstance.GetWorkflowQueueData(); 219private ReadOnlyCollection<string> GetPossibleStateTransitions() 222ReadOnlyCollection<WorkflowQueueInfo> workflowQueuedInfos = this.WorkflowInstance.GetWorkflowQueueData(); 262private ReadOnlyCollection<string> GetStateHistory() 316ReadOnlyCollection<string> history = new ReadOnlyCollection<string>(stateHistory.ToArray());
System.Workflow.ComponentModel (99)
AuthoringOM\Activity.cs (1)
2127public ReadOnlyCollection<Activity> EnabledActivities
AuthoringOM\ActivityExecutionContextCollection.cs (2)
44public ReadOnlyCollection<ActivityExecutionContext> ExecutionContexts 311internal ReadOnlyCollection<ActivityExecutionContextInfo> CompletedExecutionContexts
AuthoringOM\Behaviors\CancellationHandlerDesigner.cs (2)
25public override ReadOnlyCollection<DesignerView> Views 42public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
AuthoringOM\Behaviors\CompensatableTransactionScopeActivityDesigner.cs (1)
18public override ReadOnlyCollection<DesignerView> Views
AuthoringOM\Behaviors\CompensationDesigner.cs (2)
20public override ReadOnlyCollection<DesignerView> Views 48public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
24public override ReadOnlyCollection<DesignerView> Views
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (2)
26public override ReadOnlyCollection<DesignerView> Views 55public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert)
AuthoringOM\Behaviors\TransactionScopeDesigner.cs (1)
18public override ReadOnlyCollection<DesignerView> Views
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
71public ReadOnlyCollection<object> ArgumentValues
AuthoringOM\Compiler\XomlCompiler.cs (1)
118ReadOnlyCollection<AuthorizedType> authorizedTypes;
AuthoringOM\Design\ActivityDesigner.cs (7)
393protected virtual ReadOnlyCollection<ActivityDesignerVerb> SmartTagVerbs 423protected internal virtual ReadOnlyCollection<DesignerAction> DesignerActions 584protected virtual ReadOnlyCollection<WorkflowDesignerMessageFilter> MessageFilters 931ReadOnlyCollection<ConnectionPoint> connectionPoints = GetConnectionPoints(DesignerEdges.All); 978public virtual ReadOnlyCollection<ConnectionPoint> GetConnectionPoints(DesignerEdges edges) 1174protected internal virtual ReadOnlyCollection<Point> GetConnections(DesignerEdges edges) 2403ReadOnlyCollection<WorkflowDesignerMessageFilter> IWorkflowRootDesigner.MessageFilters
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
113public override ReadOnlyCollection<ActivityDesigner> ContainedDesigners
AuthoringOM\Design\CompositeActivityDesigner.cs (10)
129public virtual ReadOnlyCollection<ActivityDesigner> ContainedDesigners 423public static void InsertActivities(CompositeActivityDesigner compositeActivityDesigner, HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert, string undoTransactionDescription) 500public static void RemoveActivities(IServiceProvider serviceProvider, ReadOnlyCollection<Activity> activitiesToRemove, string transactionDescription) 732public virtual bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 807public virtual void InsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 858public virtual bool CanMoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove) 886public virtual void MoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove) 987public virtual bool CanRemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 1009public virtual void RemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 1087ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners;
AuthoringOM\Design\Connector.cs (4)
289public virtual ReadOnlyCollection<Point> ConnectorSegments 333ReadOnlyCollection<Point> segments = ConnectorSegments; 465ReadOnlyCollection<Point> endSegmentEditPoints = ConnectorSegments; 1599ReadOnlyCollection<ActivityDesigner> containedDesigners = parentDesigner.ContainedDesigners;
AuthoringOM\Design\DesignerHelpers.cs (1)
1518internal static DesignerVerb[] GetDesignerActionVerbs(ActivityDesigner designer, ReadOnlyCollection<DesignerAction> designerActions)
AuthoringOM\Design\DesignerInterfaces.cs (4)
194public ReadOnlyCollection<Activity> Activities 482ReadOnlyCollection<IDesignerGlyphProvider> GlyphProviders { get; } 502ReadOnlyCollection<IDesignerVerbProvider> VerbProviders { get; } 526ReadOnlyCollection<WorkflowDesignerMessageFilter> MessageFilters { get; }
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
751ReadOnlyCollection<object> argumentValues = attributeInfoAttribute.AttributeInfo.ArgumentValues;
AuthoringOM\Design\FreeFormDesigner.cs (8)
285ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 326public ReadOnlyCollection<Connector> Connectors 549ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 592public override void MoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove) 905public override void InsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 1011ReadOnlyCollection<Connector> connectors = freeformDesigner.Connectors; 1163ReadOnlyCollection<ActivityDesigner> containedDesigners = parentDesigner.ContainedDesigners; 1194ReadOnlyCollection<ActivityDesigner> containedDesigners = parentDesigner.ContainedDesigners;
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (2)
525ReadOnlyCollection<ConnectionPoint> snapPoints = designer.GetConnectionPoints(DesignerEdges.All); 578ReadOnlyCollection<ConnectionPoint> snapPoints = designer.GetConnectionPoints(DesignerEdges.All);
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
239ReadOnlyCollection<IDesignerGlyphProvider> IDesignerGlyphProviderService.GlyphProviders
AuthoringOM\Design\ParallelActivityDesigner.cs (12)
136ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 147public override bool CanRemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 161public override bool CanMoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove) 220ReadOnlyCollection<Point> connectionPoints = GetInnerConnections(DesignerEdges.Top | DesignerEdges.Bottom); 283ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 340ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 343ReadOnlyCollection<Point> firstDesignerConnections = firstDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 346ReadOnlyCollection<Point> lastDesignerConnections = lastDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 380ReadOnlyCollection<Point> designerConnections = activityDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 410ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 431ReadOnlyCollection<Point> firstDesignerConnections = firstDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 447ReadOnlyCollection<Point> lastDesignerConnections = lastDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom);
AuthoringOM\Design\SecondaryViewProvider.cs (3)
36internal static ReadOnlyCollection<DesignerView> GetViews(StructuredCompositeActivityDesigner designer) 92ReadOnlyCollection<DesignerView> views = designer.Views; 103ReadOnlyCollection<DesignerView> views = designer.Views;
AuthoringOM\Design\SequentialActivityDesigner.cs (8)
186ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 190ReadOnlyCollection<Point> containerConnections = GetInnerConnections(DesignerEdges.Top | DesignerEdges.Bottom); 203ReadOnlyCollection<Point> startDesignerConnections = startDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 223ReadOnlyCollection<Point> designerFromConnections = designerFrom.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 225ReadOnlyCollection<Point> designerToConnections = designerTo.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 233ReadOnlyCollection<Point> endDesignerConnections = endDesigner.GetConnections(DesignerEdges.Top | DesignerEdges.Bottom); 343ReadOnlyCollection<ActivityDesigner> containedDesigners = ContainedDesigners; 445ReadOnlyCollection<Point> connectionPoints = GetInnerConnections(DesignerEdges.Top | DesignerEdges.Bottom);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
257protected override ReadOnlyCollection<Point> GetInnerConnections(DesignerEdges edges)
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (14)
52public override ReadOnlyCollection<ActivityDesigner> ContainedDesigners 178public virtual ReadOnlyCollection<DesignerView> Views 220protected override ReadOnlyCollection<ActivityDesignerVerb> SmartTagVerbs 272private ReadOnlyCollection<DesignerView> ValidatedViews 276ReadOnlyCollection<DesignerView> views = Views; 306public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 331public override void InsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 342public override void MoveActivities(HitTestInfo moveLocation, ReadOnlyCollection<Activity> activitiesToMove) 353public override bool CanRemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 373ReadOnlyCollection<DesignerView> views = ValidatedViews; 439protected virtual ReadOnlyCollection<Point> GetInnerConnections(DesignerEdges edges) 598ReadOnlyCollection<DesignerView> views = ValidatedViews; 643ReadOnlyCollection<DesignerView> newViews = SecondaryViewProvider.GetViews(this); 644ReadOnlyCollection<DesignerView> oldViews = Views;
AuthoringOM\Design\WorkflowInlining.cs (5)
46public override ReadOnlyCollection<ActivityDesigner> ContainedDesigners 104public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 109public override void InsertActivities(HitTestInfo insertLocation, ReadOnlyCollection<Activity> activitiesToInsert) 113public override bool CanRemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove) 118public override void RemoveActivities(ReadOnlyCollection<Activity> activitiesToRemove)
AuthoringOM\Design\WorkflowView.cs (1)
2205public ReadOnlyCollection<WorkflowDesignerMessageFilter> Filters
AuthoringOM\Design\XomlDesignerLoader.cs (1)
539ReadOnlyCollection<IDesignerVerbProvider> IDesignerVerbProviderService.VerbProviders
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
42private static volatile ReadOnlyCollection<AuthorizedType> StaticAuthorizedTypes;
System.Workflow.Runtime (21)
DebugEngine\DebugController.cs (3)
545ReadOnlyCollection<Type> types; 546ReadOnlyCollection<Activity> values; 555ReadOnlyCollection<byte[]> keys;
KeyedPriorityQueue.cs (2)
128public ReadOnlyCollection<V> Values 141public ReadOnlyCollection<K> Keys
System\Activities\Statements\InteropEnvironment.cs (1)
22static readonly ReadOnlyCollection<IComparable> emptyList = new ReadOnlyCollection<IComparable>(new IComparable[] { });
WorkflowDefinitionDispenser.cs (7)
59internal ReadOnlyCollection<PropertyInfo> GetOutputParameters(Activity rootActivity) 78internal void GetWorkflowTypes(out ReadOnlyCollection<Type> keys, out ReadOnlyCollection<Activity> values) 83internal void GetWorkflowDefinitions(out ReadOnlyCollection<byte[]> keys, out ReadOnlyCollection<Activity> values) 529internal void GetWorkflowDefinitions<K>(out ReadOnlyCollection<K> keys, out ReadOnlyCollection<Activity> values)
WorkflowExecutor.cs (1)
1325internal ReadOnlyCollection<WorkflowQueueInfo> GetWorkflowQueueInfos()
WorkflowInstance.cs (1)
67public ReadOnlyCollection<WorkflowQueueInfo> GetWorkflowQueueData()
WorkflowQueueInfo.cs (3)
25private ReadOnlyCollection<string> _subscribedActivityNames; 27internal WorkflowQueueInfo(IComparable queueName, ICollection items, ReadOnlyCollection<string> subscribedActivityNames) 36public ReadOnlyCollection<string> SubscribedActivityNames { get { return _subscribedActivityNames; } }
WorkflowRuntime.cs (3)
264public ReadOnlyCollection<WorkflowInstance> GetLoadedWorkflows() 1041public ReadOnlyCollection<object> GetAllServices(Type serviceType) 1064public ReadOnlyCollection<T> GetAllServices<T>()
System.WorkflowServices (7)
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (2)
28ReadOnlyCollection<object> inputs; 76public ReadOnlyCollection<object> Inputs
System\Workflow\Activities\OperationValidationEventArgs.cs (3)
13private ReadOnlyCollection<ClaimSet> claimSets; 16public OperationValidationEventArgs(ReadOnlyCollection<ClaimSet> claimSets) 21public ReadOnlyCollection<ClaimSet> ClaimSets
System\Workflow\Activities\ReceiveActivity.cs (2)
1494public void PopulateInputs(ReceiveActivity activity, ReadOnlyCollection<object> inputs) 1723ReadOnlyCollection<ClaimSet> claims = requestContext.AuthorizationContext == null ?
WindowsBase (10)
Base\System\ComponentModel\IItemProperties.cs (1)
33ReadOnlyCollection<ItemPropertyInfo> ItemProperties { get; }
Base\System\IO\Packaging\PackageDigitalSignature.cs (4)
83public ReadOnlyCollection<Uri> SignedParts 102public ReadOnlyCollection<PackageRelationshipSelector> SignedRelationshipSelectors 455private ReadOnlyCollection<Uri> _signedParts; 456private ReadOnlyCollection<PackageRelationshipSelector> _signedRelationshipSelectors;
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (2)
160public ReadOnlyCollection<PackageDigitalSignature> Signatures 1412private ReadOnlyCollection<PackageDigitalSignature> _signatureList; // lazy-init cached return value for Signatures property
Base\System\Security\RightsManagement\CryptoProvider.cs (2)
298public ReadOnlyCollection<ContentGrant> BoundGrants 575private ReadOnlyCollection<ContentGrant> _boundGrantReadOnlyCollection;
Base\System\Security\RightsManagement\SecureEnvironment.cs (1)
164static public ReadOnlyCollection<ContentUser> GetActivatedUsers()
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\AttributeParameterData.cs (1)
121public ReadOnlyCollection<AttributeParameterData> ArrayContents
Microsoft\Build\Tasks\Xaml\BuildExtensionContext.cs (4)
48public ReadOnlyCollection<string> References 66public ReadOnlyCollection<string> SourceCodeFiles 92public ReadOnlyCollection<string> GeneratedFiles 104public ReadOnlyCollection<string> GeneratedResourceFiles