Implemented interface members:
method
IsDefined
System.Reflection.ICustomAttributeProvider.IsDefined(System.Type, System.Boolean)
method
IsDefined
System.Runtime.InteropServices._MemberInfo.IsDefined(System.Type, System.Boolean)
58 overrides of IsDefined
mscorlib (24)
system\reflection\ConstructorInfo.cs (1)
416public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\constructorbuilder.cs (1)
165public override bool IsDefined (Type attributeType, bool inherit)
system\reflection\emit\dynamicmethod.cs (2)
765public override bool IsDefined(Type attributeType, bool inherit) { return m_dynMethod.IsDefined(attributeType, inherit); } 950public override bool IsDefined(Type attributeType, bool inherit) {
system\reflection\emit\enumbuilder.cs (1)
346public override bool IsDefined (Type attributeType, bool inherit)
system\reflection\emit\fieldbuilder.cs (1)
172public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\generictypeparameterbuilder.cs (1)
213public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); }
system\reflection\emit\methodbuilder.cs (1)
670public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\methodbuilderinstantiation.cs (1)
56public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); }
system\reflection\emit\propertybuilder.cs (1)
256public override bool IsDefined (Type attributeType, bool inherit)
system\reflection\emit\symbolmethod.cs (1)
166public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\symboltype.cs (1)
587public override bool IsDefined (Type attributeType, bool inherit)
system\reflection\emit\typebuilder.cs (1)
1536public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\typebuilderinstantiation.cs (1)
240public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (3)
54public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); } 151public override bool IsDefined(Type attributeType, bool inherit) { return m_ctor.IsDefined(attributeType, inherit); } 252public override bool IsDefined(Type attributeType, bool inherit) { return m_field.IsDefined(attributeType, inherit); }
system\reflection\eventinfo.cs (1)
324public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\fieldinfo.cs (1)
347public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\methodinfo.cs (1)
498public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\propertyinfo.cs (1)
393public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\typedelegator.cs (1)
254public override bool IsDefined(Type attributeType, bool inherit)
system\rttype.cs (1)
5049public override bool IsDefined(Type attributeType, bool inherit)
system\runtime\serialization\serializationfieldinfo.cs (1)
79public override bool IsDefined(Type attributeType, bool inherit) {
PresentationFramework (1)
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (1)
99public override bool IsDefined(Type attributeType, bool inherit)
System (1)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
163public override bool IsDefined(Type type, bool inherit) {
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1250public override bool IsDefined(Type attributeType, bool inherit) 1861public override bool IsDefined(Type attributeType, bool inherit) 1923public override bool IsDefined(Type attributeType, bool inherit) 1997public override bool IsDefined(Type attributeType, bool inherit)
System.Core (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
95public override bool IsDefined(Type attributeType, bool inherit) {
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1250public override bool IsDefined(Type attributeType, bool inherit) 1861public override bool IsDefined(Type attributeType, bool inherit) 1923public override bool IsDefined(Type attributeType, bool inherit) 1997public override bool IsDefined(Type attributeType, bool inherit)
System.Web (1)
Compilation\DelayLoadType.cs (1)
202public override bool IsDefined(Type attributeType, bool inherit) {
System.Workflow.Activities (4)
Designers\StateDesigner.cs (1)
2534public override bool IsDefined(Type attributeType, bool inherit)
Rules\RuleValidation.cs (3)
267public override bool IsDefined(Type attributeType, bool inherit) 379public override bool IsDefined(Type attributeType, bool inherit) 768public override bool IsDefined(Type attributeType, bool inherit)
System.Workflow.ComponentModel (16)
AuthoringOM\Bind.cs (1)
1727public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
577public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
144public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (1)
120public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (2)
126public override bool IsDefined(Type attributeType, bool inherit) 290public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (2)
197public override bool IsDefined(Type attributeType, bool inherit) 270public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
423public override bool IsDefined(Type attributeType, bool inherit) 851public override bool IsDefined(Type attributeType, bool inherit) 922public override bool IsDefined(Type attributeType, bool inherit) 1025public override bool IsDefined(Type attributeType, bool inherit) 1144public override bool IsDefined(Type attributeType, bool inherit) 1215public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Design\ComponentSerializationService.cs (1)
855public override bool IsDefined(Type attributeType, bool inherit)
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
184public override bool IsDefined(Type attributeType, bool inherit)
System.WorkflowServices (2)
System\Workflow\Activities\ContractMethodInfo.cs (1)
200public override bool IsDefined(Type attributeType, bool inherit)
System\Workflow\Activities\ContractType.cs (1)
414public override bool IsDefined(Type attributeType, bool inherit)
93 references to IsDefined
mscorlib (12)
system\__comobject.cs (1)
67fIsURTAggregated = !GetType().IsDefined(typeof(ComImportAttribute), false);
system\attribute.cs (5)
66if (element.IsDefined(attributeType, inherit)) 83if (baseProp.IsDefined(attributeType, false)) 190if (element.IsDefined(attributeType, inherit)) 204if (baseEvent.IsDefined(attributeType, false)) 531return element.IsDefined(attributeType, inherit);
system\reflection\emit\methodbuilderinstantiation.cs (1)
56public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (3)
54public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); } 151public override bool IsDefined(Type attributeType, bool inherit) { return m_ctor.IsDefined(attributeType, inherit); } 252public override bool IsDefined(Type attributeType, bool inherit) { return m_field.IsDefined(attributeType, inherit); }
system\reflection\typedelegator.cs (1)
256return typeImpl.IsDefined(attributeType, inherit);
system\runtime\serialization\serializationeventscache.cs (1)
48if (m.IsDefined(attribute, false))
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
417return UnderlyingType.IsDefined(attributeType, inherit);
System (4)
compmod\system\componentmodel\EnumConverter.cs (4)
166if (!type.IsDefined(typeof(FlagsAttribute), false) && !Enum.IsDefined(type, value)) { 175if (type.IsDefined(typeof(FlagsAttribute), false) && enumName.IndexOf(',') != -1) { 199if (type.IsDefined(typeof(FlagsAttribute), false)) { 307return !type.IsDefined(typeof(FlagsAttribute), false);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
47return t => t.IsDefined(typeof(ServiceContractAttribute), true) && !t.IsGenericType;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1252bool isDefined = _baseReflectionType.IsDefined(attributeType, inherit); 1863bool isDefined = _info.IsDefined(attributeType, inherit); 1925bool isDefined = _info.IsDefined(attributeType, inherit); 1999bool isDefined = _info.IsDefined(attributeType, inherit);
System.Core (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
96return _innerEventInfo.IsDefined(attributeType, inherit);
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1252bool isDefined = _baseReflectionType.IsDefined(attributeType, inherit); 1863bool isDefined = _info.IsDefined(attributeType, inherit); 1925bool isDefined = _info.IsDefined(attributeType, inherit); 1999bool isDefined = _info.IsDefined(attributeType, inherit);
System.Data.Entity (6)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (6)
172if (!type.IsDefined(typeof(EdmTypeAttribute), false)) 465if (property.IsDefined(typeof(EdmRelationshipNavigationPropertyAttribute), false)) 472else if (property.IsDefined(typeof(EdmScalarPropertyAttribute), false)) 485else if (property.IsDefined(typeof(EdmComplexPropertyAttribute), false)) 517Debug.Assert(propertyInfo.IsDefined(typeof(EdmRelationshipNavigationPropertyAttribute), false), "The property must have navigation property defined"); 617Debug.Assert(property.IsDefined(typeof(EdmScalarPropertyAttribute), false), "The property must have a scalar attribute");
System.Runtime.Serialization (14)
System\Runtime\Serialization\ClassDataContract.cs (3)
376if (type.IsDefined(Globals.TypeOfCollectionDataContractAttribute, false)) 392if (type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 1156if (method.IsDefined(attributeType, false))
System\Runtime\Serialization\CollectionDataContract.cs (4)
821if (type.IsDefined(Globals.TypeOfCollectionDataContractAttribute, false)) 827if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 927if (type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 1127return type.IsDefined(Globals.TypeOfCollectionDataContractAttribute, false);
System\Runtime\Serialization\DataContract.cs (3)
596if (type.IsSerializable || type.IsDefined(Globals.TypeOfDataContractAttribute, false) || ClassDataContract.IsNonAttributedTypeValidForSerialization(type)) 1142if (classType.IsSerializable || classType.IsDefined(Globals.TypeOfDataContractAttribute, false)) 1284type.IsDefined(Globals.TypeOfDataContractAttribute, false) ||
System\Runtime\Serialization\DataContractSet.cs (1)
505type.IsDefined(Globals.TypeOfDataContractAttribute, false) ||
System\Runtime\Serialization\EnumDataContract.cs (1)
195IsFlags = type.IsDefined(Globals.TypeOfFlagsAttribute, false);
System\Runtime\Serialization\XmlDataContract.cs (2)
197if (type.IsDefined(Globals.TypeOfDataContractAttribute, false)) 199if (type.IsDefined(Globals.TypeOfCollectionDataContractAttribute, false))
System.ServiceModel (17)
System\ServiceModel\Description\ServiceReflector.cs (2)
369if (service.IsDefined(typeof(ServiceContractAttribute), false)) 392if (t.IsDefined(typeof(ServiceContractAttribute), false))
System\ServiceModel\Description\TypedMessageConverter.cs (1)
50if (!messageContract.IsDefined(typeof(MessageContractAttribute), false))
System\ServiceModel\Description\TypeLoader.cs (12)
1083if (parameters.Length == 1 && parameters[0].ParameterType.IsDefined(typeof(MessageContractAttribute), false)) 1110if (responseType.IsDefined(typeof(MessageContractAttribute), false) && parameters.Length == 0) 1166if (GetParameterType(param).IsDefined(typeof(MessageContractAttribute), false/*inherit*/)) 1171if (returnType != null && returnType.IsDefined(typeof(MessageContractAttribute), false/*inherit*/)) 1249if (!baseType.IsDefined(typeof(MessageContractAttribute), false/*inherit*/)) 1286if (memberInfo.IsDefined(typeof(MessageBodyMemberAttribute), false) || 1287memberInfo.IsDefined(typeof(MessageHeaderAttribute), false) || 1288memberInfo.IsDefined(typeof(MessageHeaderArrayAttribute), false) || 1289memberInfo.IsDefined(typeof(MessagePropertyAttribute), false) 1316if (memberInfo.IsDefined(typeof(MessageHeaderArrayAttribute), false) 1317|| memberInfo.IsDefined(typeof(MessageHeaderAttribute), false)) 1326else if (memberInfo.IsDefined(typeof(MessagePropertyAttribute), false))
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
549if (member.IsDefined(typeof(SoapIgnoreAttribute), false/*inherit*/))
System\ServiceModel\ServiceHost.cs (1)
1747if (!implementedContract.IsDefined(typeof(ServiceContractAttribute), false))
System.ServiceModel.Activities (5)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
522if ((message.Body.ReturnValue != null && message.Body.ReturnValue.Type.IsDefined(typeof(MessageContractAttribute), false)) 603if (message.MessageType != null && message.MessageType.IsDefined(typeof(MessageContractAttribute), false))
System\ServiceModel\Activities\MessageBuilder.cs (1)
106return type.IsDefined(MessageContractAttributeType, false);
System\ServiceModel\Activities\Receive.cs (1)
599if ((message.Body.ReturnValue != null && message.Body.ReturnValue.Type.IsDefined(typeof(MessageContractAttribute), false))
System\ServiceModel\Activities\SendReply.cs (1)
364if (message.MessageType != null && message.MessageType.IsDefined(typeof(MessageContractAttribute), false))
System.Web (2)
Compilation\DelayLoadType.cs (1)
203return Type.IsDefined(attributeType, inherit);
UI\TemplateControl.cs (1)
981return methodInfo.IsDefined(typeof(AsyncStateMachineAttribute), inherit: false);
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
293if (memberInfo.IsDefined(typeof(ScriptIgnoreAttribute), true /*inherits*/)) return true;
System.Workflow.Activities (3)
Designers\StateDesigner.cs (1)
2536return this.realPropertyInfo.IsDefined(attributeType, inherit);
Rules\RuleValidation.cs (2)
269return actualMethod.IsDefined(attributeType, inherit); 381return actualMethod.IsDefined(attributeType, inherit);
System.Workflow.ComponentModel (9)
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
278return baseMemberInfo.IsDefined(attributeType, inherit);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
425return this.runtimeType.IsDefined(attributeType, inherit); 853return this.ctorInfo.IsDefined(attributeType, inherit); 924return this.fieldInfo.IsDefined(attributeType, inherit); 1027return this.propertyInfo.IsDefined(attributeType, inherit); 1146return this.methodInfo.IsDefined(attributeType, inherit); 1217return this.eventInfo.IsDefined(attributeType, inherit);
AuthoringOM\Design\ComponentSerializationService.cs (1)
858return this.realPropInfo.IsDefined(attributeType, inherit);
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
186return this.realPropertyInfo.IsDefined(attributeType, inherit);
System.WorkflowServices (7)
System\ServiceModel\WorkflowServiceHost.cs (1)
111if (!implementedContract.IsDefined(typeof(ServiceContractAttribute), false))
System\Workflow\Activities\ContractMethodParameterInfo.cs (1)
96return this.ParameterType.IsDefined(attributeType, inherit);
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
527if (type.IsDefined(typeof(ServiceContractAttribute), true))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
843type.IsDefined(typeof(MessageContractAttribute), true) ||
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
185if (contractType.IsDefined(typeof(ServiceContractAttribute), false)) 191if (contract.IsDefined(typeof(ServiceContractAttribute), false))
System\Workflow\Activities\ValidationHelper.cs (1)
241currentInterfaceType.IsDefined(typeof(ServiceContractAttribute), false))
System.Xml (2)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
536mapping.IsFlags = model.Type.IsDefined(typeof(FlagsAttribute), false);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
1050mapping.IsFlags = model.Type.IsDefined(typeof(FlagsAttribute), false);