Implemented interface member:
property
CanRead
System.Runtime.InteropServices._PropertyInfo.CanRead
11 overrides of CanRead
mscorlib (2)
system\reflection\emit\propertybuilder.cs (1)
239public override bool CanRead {
system\reflection\propertyinfo.cs (1)
596public override bool CanRead
PresentationFramework (1)
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (1)
38public override bool CanRead
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1816public override bool CanRead { get { return _info.CanRead; } }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1816public override bool CanRead { get { return _info.CanRead; } }
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2506public override bool CanRead
System.Workflow.ComponentModel (5)
AuthoringOM\Bind.cs (1)
1687public override bool CanRead
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
137public override bool CanRead
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
960public override bool CanRead
AuthoringOM\Design\ComponentSerializationService.cs (1)
778public override bool CanRead
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
156public override bool CanRead
71 references to CanRead
mscorlib (1)
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (1)
39if (!propertyInfo.CanRead ||
System (1)
compmod\system\componentmodel\design\serialization\InstanceDescriptor.cs (1)
78if (!pi.CanRead) {
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
131if (property == null || !property.CanRead)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1816public override bool CanRead { get { return _info.CanRead; } }
System.Core (5)
Microsoft\Scripting\Ast\Expression.cs (2)
347if (index.Indexer != null && !index.Indexer.CanRead) { 356if (!prop.CanRead) {
Microsoft\Scripting\Ast\MemberExpression.cs (1)
297if (pi.CanRead && CheckMethod(mi, pi.GetGetMethod(true))) {
Microsoft\Scripting\Ast\MemberMemberBinding.cs (1)
136if (!pi.CanRead) {
Microsoft\Scripting\Ast\NewExpression.cs (1)
309if (!pi.CanRead) {
System.Data (2)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlObjectReaderWithSequence.cs (1)
131if (property == null || !property.CanRead)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1816public override bool CanRead { get { return _info.CanRead; } }
System.Data.Entity (6)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
1822if (pi.CanRead && typeof(TRequired).IsAssignableFrom(pi.PropertyType))
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\Objects\ELinq\TypeSystem.cs (1)
141if (property.CanRead && (property.GetGetMethod(true) == method))
System.Data.Linq (4)
Mapping\AttributedMetaModel.cs (1)
627bool isPublic = (pi.CanRead && pi.GetGetMethod(false) != null)
SqlClient\Common\InheritanceRules.cs (1)
38if (pi.CanRead) {
SqlClient\Query\QueryConverter.cs (1)
901if (pi.CanRead && pi.GetGetMethod() == method) {
SqlClient\Query\Translator.cs (1)
493if (pi.CanRead) {
System.Data.Services (2)
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
254if (!propertiesToBeIgnored.Contains(property.Name) && property.CanRead && property.GetIndexParameters().Length == 0) 626if (property.CanRead && property.GetIndexParameters().Length == 0)
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1483if (pi.CanRead && !TypeSystem.IsPrivate(pi))
System\Data\Services\Client\ClientType.cs (1)
151if (pinfo.CanRead &&
System.Management (1)
Instrumentation\SchemaMapping.cs (1)
227 if(!pi.CanRead)
System.Web.DataVisualization (8)
Common\Utilities\XmlSerializer.cs (8)
398 if(pi.CanRead && pi.PropertyType.GetInterface("IList", true) != null) 428 else if(pi.CanRead && pi.CanWrite) 1530if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null && !this.SerializeICollAsAtribute(pi, objectToSerialize)) 1569 else if(pi.CanRead && pi.CanWrite) 2378if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null && !this.SerializeICollAsAtribute(pi, objectToSerialize)) 2420 else if(pi.CanRead && pi.CanWrite) 3247if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null) 3256 else if(pi.CanRead && pi.CanWrite)
System.Web.Services (2)
System\Web\Services\Protocols\PatternMatcher.cs (1)
159if (!propertyInfo.CanRead)
System\Web\Services\Protocols\Scalars.cs (1)
323return ((PropertyInfo)memberInfo).CanRead;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
2898if (propInfo != null && !propInfo.CanRead)
System.Windows.Forms.DataVisualization (8)
Common\Utilities\XmlSerializer.cs (8)
398 if(pi.CanRead && pi.PropertyType.GetInterface("IList", true) != null) 428 else if(pi.CanRead && pi.CanWrite) 1530if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null && !this.SerializeICollAsAtribute(pi, objectToSerialize)) 1569 else if(pi.CanRead && pi.CanWrite) 2378if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null && !this.SerializeICollAsAtribute(pi, objectToSerialize)) 2420 else if(pi.CanRead && pi.CanWrite) 3247if (pi.CanRead && pi.PropertyType.GetInterface("ICollection", true) != null) 3256 else if(pi.CanRead && pi.CanWrite)
System.Workflow.Activities (2)
Common\Walker.cs (1)
218propValue = prop.CanRead ? prop.GetValue(obj, null) : null;
Designers\StateDesigner.cs (1)
2510return this.realPropertyInfo.CanRead;
System.Workflow.ComponentModel (19)
AuthoringOM\Bind.cs (5)
129if (!(eventArgs.MemberInfo as PropertyInfo).CanRead) 140if (!(eventArgs.MemberInfo as PropertyInfo).CanRead) 1082if (!(eventArgs.MemberInfo as PropertyInfo).CanRead) 1648if (this.getMethod == null && (this.originalPropertyInfo == null || !this.originalPropertyInfo.CanRead)) 1694return this.originalPropertyInfo.CanRead;
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
732if (propertyInfo.CanRead)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
962get { return this.propertyInfo.CanRead; }
AuthoringOM\Compiler\Validation\BindValidator.cs (5)
186if (!pathPropertyInfo.CanRead && ((validationContext.Access & AccessTypes.Read) != 0)) 311else if (!propertyInfo.CanRead) 383if (!pathPropertyInfo.CanRead && ((validationContext.Access & AccessTypes.Read) != 0)) 845if (memberInfo == null || (memberInfo is PropertyInfo && !(memberInfo as PropertyInfo).CanRead)) 879if (memberInfo == null || (memberInfo is PropertyInfo && !(memberInfo as PropertyInfo).CanRead))
AuthoringOM\Design\ComponentSerializationService.cs (1)
783return this.realPropInfo.CanRead;
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
160return this.realPropertyInfo.CanRead;
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
105if (Helpers.GetSerializationVisibility(serializableProperty) != DesignerSerializationVisibility.Hidden && serializableProperty.CanRead && serializableProperty.GetValue(value, null) != null)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
790if (property.CanRead) 967propertyValue = property.CanRead ? property.GetValue(obj, null) : null; 1825propValue = property.CanRead ? property.GetValue(obj, null) : null;
Shared\Walker.cs (1)
217propValue = prop.CanRead ? prop.GetValue(obj, null) : null;
System.Workflow.Runtime (2)
System\Activities\Statements\InteropExecutor.cs (1)
511if (property.CanRead && (property.GetGetMethod() != null))
WorkflowDefinitionDispenser.cs (1)
344if (!property.CanRead || property.DeclaringType == typeof(DependencyObject) || property.DeclaringType == typeof(Activity) || property.DeclaringType == typeof(CompositeActivity))
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
560if (propertyInfo.CanRead)
System.Xml (2)
System\Xml\Serialization\Models.cs (1)
204if (!propertyInfo.CanRead) return false;
System\Xml\Serialization\Types.cs (1)
1178if (!defaultProp.CanRead) continue;