Implemented interface member:
property
CanWrite
System.Runtime.InteropServices._PropertyInfo.CanWrite
11 overrides of CanWrite
mscorlib (2)
system\reflection\emit\propertybuilder.cs (1)
242public override bool CanWrite {
system\reflection\propertyinfo.cs (1)
604public override bool CanWrite
PresentationFramework (1)
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (1)
43public override bool CanWrite
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1817public override bool CanWrite { get { return _info.CanWrite; } }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1817public override bool CanWrite { get { return _info.CanWrite; } }
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2514public override bool CanWrite
System.Workflow.ComponentModel (5)
AuthoringOM\Bind.cs (1)
1699public override bool CanWrite
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
144public override bool CanWrite
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
965public override bool CanWrite
AuthoringOM\Design\ComponentSerializationService.cs (1)
788public override bool CanWrite
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
164public override bool CanWrite
67 references to CanWrite
mscorlib (1)
system\reflection\emit\customattributebuilder.cs (1)
194if (!namedProperties[i].CanWrite)
PresentationBuildTasks (4)
Framework\System\Windows\Markup\XamlReaderHelper.cs (3)
3204propertyCanWrite = propInfo.CanWrite; 3520return propertyInfo.CanWrite; 3913if (pi.CanWrite)
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2146propertyCanWrite = propertyInfo.CanWrite;
PresentationFramework (5)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1660if (!pi.CanWrite)
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
1231if (!pi.CanWrite)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (1)
212(PropertyDefinition.PropertyInfo == null || !PropertyDefinition.PropertyInfo.CanWrite) &&
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
670propertyCanWrite = pi.CanWrite;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2146propertyCanWrite = propertyInfo.CanWrite;
System (1)
compmod\system\componentmodel\ComponentResourceManager.cs (1)
174if (prop != null && prop.CanWrite && (kvp.Value == null || prop.PropertyType.IsInstanceOfType(kvp.Value))) {
System.Activities (1)
System\Activities\ExpressionUtilities.cs (1)
107if (!propertyInfo.CanWrite)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1817public override bool CanWrite { get { return _info.CanWrite; } }
System.Core (6)
Microsoft\Scripting\Ast\Expression.cs (2)
390canWrite = index.Indexer.CanWrite; 400canWrite = prop.CanWrite;
Microsoft\Scripting\Ast\MemberAssignment.cs (1)
102if (!pi.CanWrite) {
Microsoft\Scripting\Ast\MemberExpression.cs (1)
300if (pi.CanWrite && CheckMethod(mi, pi.GetSetMethod(true))) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
244if (node.Member.MemberType != MemberTypes.Property || !((PropertyInfo)node.Member).CanWrite) { 282if (node.Indexer == null || !node.Indexer.CanWrite) {
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1817public override bool CanWrite { get { return _info.CanWrite; } }
System.Data.Entity (5)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (4)
427if (clrProperty.CanRead && (!needsSetter || clrProperty.CanWrite)) 571if (clrProperty.CanRead && clrProperty.CanWrite) 643if (clrProperty.CanRead && clrProperty.CanWrite) 743Debug.Assert(clrProperty.CanRead && clrProperty.CanWrite, "The clr property has to have a setter and a getter.");
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
156prop.CanWrite && prop.GetIndexParameters().Length == 0 && null != prop.GetSetMethod(/* nonPublic */true))
System.Data.Linq (7)
ChangeDirector.cs (1)
298(mm.Member is PropertyInfo && ((PropertyInfo)mm.Member).CanWrite)
Mapping\Accessors.cs (1)
101if (pi.CanWrite) {
Mapping\AttributedMetaModel.cs (1)
628&& (!pi.CanWrite || pi.GetSetMethod(false) != null);
SqlClient\Common\InheritanceRules.cs (1)
41if (meth == null && pi.CanWrite) {
SqlClient\Reader\ObjectReaderCompiler.cs (3)
1150return pi.CanWrite; 1184if (m is FieldInfo || (m is PropertyInfo && ((PropertyInfo)m).CanWrite)) { 1246if (m is FieldInfo || (m is PropertyInfo && ((PropertyInfo)m).CanWrite)) {
System.Data.Services.Client (2)
System\Data\Services\Client\ClientType.cs (1)
152(!ptype.IsValueType || pinfo.CanWrite) &&
System\Data\Services\Client\Util.cs (1)
464if (property.Name != "Continuation" || !property.CanWrite)
System.Web.DataVisualization (4)
Common\Utilities\XmlSerializer.cs (4)
428 else if(pi.CanRead && pi.CanWrite) 1569 else if(pi.CanRead && pi.CanWrite) 2420 else if(pi.CanRead && pi.CanWrite) 3256 else if(pi.CanRead && pi.CanWrite)
System.Web.Services (2)
System\Web\Services\Protocols\PatternMatcher.cs (1)
162if (!propertyInfo.CanWrite)
System\Web\Services\Protocols\Scalars.cs (1)
330return ((PropertyInfo)memberInfo).CanWrite;
System.Windows.Forms.DataVisualization (4)
Common\Utilities\XmlSerializer.cs (4)
428 else if(pi.CanRead && pi.CanWrite) 1569 else if(pi.CanRead && pi.CanWrite) 2420 else if(pi.CanRead && pi.CanWrite) 3256 else if(pi.CanRead && pi.CanWrite)
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2518return this.realPropertyInfo.CanWrite;
System.Workflow.ComponentModel (17)
AuthoringOM\Bind.cs (3)
241if ((memberInfo as PropertyInfo).CanWrite) 1659if (this.setMethod == null && (this.originalPropertyInfo == null || !this.originalPropertyInfo.CanWrite)) 1706return this.originalPropertyInfo.CanWrite;
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
967get { return this.propertyInfo.CanWrite; }
AuthoringOM\Compiler\Validation\BindValidator.cs (2)
191else if (!pathPropertyInfo.CanWrite && ((validationContext.Access & AccessTypes.Write) != 0)) 388else if (!pathPropertyInfo.CanWrite && ((validationContext.Access & AccessTypes.Write) != 0))
AuthoringOM\Design\ComponentSerializationService.cs (1)
793return this.realPropInfo.CanWrite;
AuthoringOM\Design\WorkflowInlining.cs (1)
374if (!parameterProperty.CanWrite)
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
168return this.realPropertyInfo.CanWrite;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (8)
969isReadOnly = (!property.CanWrite); 1380if (visibility != DesignerSerializationVisibility.Content && (!property.CanWrite || property.GetSetMethod() == null)) 1624if (pi.CanWrite) 1804isReadOnly = !property.CanWrite; 1923isReadOnly = !property.CanWrite; 2017else if (property.CanWrite) 2907this.contentProperty.CanWrite) 3033if (!this.contentProperty.CanWrite)
System.Workflow.Runtime (2)
System\Activities\Statements\InteropExecutor.cs (1)
482if (propertyInfo != null && propertyInfo.CanWrite)
WorkflowExecutor.cs (1)
370if (propertyInfo != null && propertyInfo.CanWrite)
System.Xml (3)
System\Xml\Serialization\Models.cs (3)
194if (!propertyInfo.CanWrite && typeDesc.Kind != TypeKind.Collection && typeDesc.Kind != TypeKind.Enumerable) 264this.checkSpecified = specifiedProperty.CanWrite ? SpecifiedAccessor.ReadWrite : SpecifiedAccessor.ReadOnly; 273readOnly = !((PropertyInfo)memberInfo).CanWrite;