19 references to Contains
PresentationFramework (1)
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1011
if (property.Attributes.
Contains
(_nullDefaultValueAttribute))
System (4)
compmod\system\componentmodel\AttributeCollection.cs (1)
298
if (!
Contains
(attributes[i]))
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
717
return Attributes.
Contains
(DesignerSerializationVisibilityAttribute.Content);
1194
return Attributes.
Contains
(DesignerSerializationVisibilityAttribute.Content);
compmod\system\componentmodel\TypeConverter.cs (1)
489
return Attributes.
Contains
(ReadOnlyAttribute.Yes);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
980
public override bool IsReadOnly { get { return _parent.IsReadOnly || Attributes.
Contains
(ReadOnlyAttribute.Yes); } }
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
980
public override bool IsReadOnly { get { return _parent.IsReadOnly || Attributes.
Contains
(ReadOnlyAttribute.Yes); } }
fx\src\data\System\Data\xmlsaver.cs (1)
144
if ((!pd.ShouldSerializeValue(instance) || !pd.Attributes.
Contains
(DesignerSerializationVisibilityAttribute.Visible))&&( bIsSqlType == false)) {
System.Web (3)
UI\ControlBuilder.cs (2)
3106
if (propDesc.Attributes.
Contains
(HtmlControlPersistableAttribute.No)) {
3112
else if (!usingSetAttribute && !mainDirectiveMode && propDesc.Attributes.
Contains
(DesignerSerializationVisibilityAttribute.Hidden)) {
UI\WebParts\PropertyGridEditorPart.cs (1)
162
if (attributes.
Contains
(PersonalizableAttribute.SharedPersonalizable)) {
System.Web.Mobile (1)
UI\MobileControls\DeviceSpecificChoice.cs (1)
218
if (pd.Attributes.
Contains
(DesignerSerializationVisibilityAttribute.Hidden))
System.Windows.Forms (6)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
490
forceReadOnly |= TypeDescriptor.GetAttributes(value).
Contains
(InheritanceAttribute.InheritedReadOnly);
520
if (Attributes.
Contains
(PasswordPropertyTextAttribute.Yes)) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
187
((PropertyDescriptorGridEntry)ge).propertyInfo.Attributes.
Contains
(NotifyParentPropertyAttribute.Yes)) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
40
if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(obj).
Contains
(InheritanceAttribute.InheritedReadOnly)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
478
((PropertyDescriptorGridEntry)ge).propertyInfo.Attributes.
Contains
(NotifyParentPropertyAttribute.Yes)) {
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
158
if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(this.objValue).
Contains
(InheritanceAttribute.InheritedReadOnly)) {
WindowsBase (1)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
295
readOnly = Attributes.
Contains
(ReadOnlyAttribute.Yes);