57 references to AsReadOnly
mscorlib (21)
system\reflection\customattribute.cs (19)
88
return Array.
AsReadOnly
(pca);
111
return Array.
AsReadOnly
(pca);
134
return Array.
AsReadOnly
(pca);
192
return Array.
AsReadOnly
(pca);
213
return Array.
AsReadOnly
(pca);
316
return Array.
AsReadOnly
(customAttributes);
416
m_typedCtorArgs = Array.
AsReadOnly
(new CustomAttributeTypedArgument[]
421
m_namedArgs = Array.
AsReadOnly
(new CustomAttributeNamedArgument[]
437
m_typedCtorArgs = Array.
AsReadOnly
(new CustomAttributeTypedArgument[] {
440
m_namedArgs = Array.
AsReadOnly
(new CustomAttributeNamedArgument[0]);
446
m_typedCtorArgs = Array.
AsReadOnly
(new CustomAttributeTypedArgument[]
477
m_namedArgs = Array.
AsReadOnly
(namedArgs);
488
m_typedCtorArgs = Array.
AsReadOnly
(typedArgs);
491
m_namedArgs = Array.
AsReadOnly
(namedArgs);
496
m_typedCtorArgs = Array.
AsReadOnly
(new CustomAttributeTypedArgument[0]);
497
m_namedArgs = Array.
AsReadOnly
(new CustomAttributeNamedArgument[0]);
546
m_typedCtorArgs = Array.
AsReadOnly
(typedCtorArgs);
578
m_namedArgs = Array.
AsReadOnly
(namedArgs);
899
m_value = Array.
AsReadOnly
(arrayValue);
system\reflection\methodbody.cs (2)
131
public virtual IList<LocalVariableInfo> LocalVariables { get { return Array.
AsReadOnly
(m_localVariables); } }
135
public virtual IList<ExceptionHandlingClause> ExceptionHandlingClauses { get { return Array.
AsReadOnly
(m_exceptionHandlingClauses); } }
PresentationCore (1)
Core\CSharp\System\Windows\Media\Fonts.cs (1)
273
return Array.
AsReadOnly
<FontFamily>(fontFamilyList);
PresentationFramework (1)
src\Framework\System\Windows\Controls\GridViewColumnCollectionChangedEventArgs.cs (1)
41
_clearedColumns = System.Array.
AsReadOnly
<GridViewColumn>(clearedColumns);
System.Core (1)
System\Runtime\CompilerServices\DynamicAttribute.cs (1)
67
return Array.
AsReadOnly
(this._transformFlags);
System.Data.Entity (24)
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
132
this._primitiveTypes = Array.
AsReadOnly
(listOfPrimitiveTypes.ToArray());
System\Data\Metadata\Edm\MetadataItem_Static.cs (1)
303
_generalFacetDescriptions = Array.
AsReadOnly
(generalFacetDescriptions);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (22)
246
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
251
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
256
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
261
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
266
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
272
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
277
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
281
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
285
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
289
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
293
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
297
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
301
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
305
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
309
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
313
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
317
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
321
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
325
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
329
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
333
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
337
facetDescriptions.Add(applicableType, Array.
AsReadOnly
(list));
System.ServiceModel (9)
System\ServiceModel\Channels\MessageHeaders.cs (1)
752
IList<MessageHeaderInfo> list = Array.
AsReadOnly
<MessageHeaderInfo>(headers);
System\ServiceModel\Channels\PeerIPHelper.cs (1)
417
if (AddressesChanged(Array.
AsReadOnly
<IPAddress>(newAddresses)))
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (3)
105
return this.body.referrals != null ? Array.
AsReadOnly
<Referral>(this.body.referrals) : null;
274
get { return this.body.referrals != null ? Array.
AsReadOnly
<Referral>(this.body.referrals) : null; }
380
get { return this.body.referrals != null ? Array.
AsReadOnly
<Referral>(this.body.referrals) : null; }
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (1)
285
return Array.
AsReadOnly
<IPAddress>(addresses);
System\ServiceModel\FaultReason.cs (1)
67
this.translations = new SynchronizedReadOnlyCollection<FaultReasonText>(new object(), Array.
AsReadOnly
<FaultReasonText>(translations));
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
347
emptyTokenAuthenticators = Array.
AsReadOnly
(new SupportingTokenAuthenticatorSpecification[0]);
System\ServiceModel\ServiceHost.cs (1)
684
return Array.
AsReadOnly
<InstanceContext>(this.instances.ToArray());