Implemented interface members:
method
GetCustomAttributes
System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Type, System.Boolean)
method
GetCustomAttributes
System.Runtime.InteropServices._MemberInfo.GetCustomAttributes(System.Type, System.Boolean)
58 overrides of GetCustomAttributes
mscorlib (24)
system\reflection\ConstructorInfo.cs (1)
401public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\constructorbuilder.cs (1)
160public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\dynamicmethod.cs (2)
758public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 934public override Object[] GetCustomAttributes(Type attributeType, bool inherit) {
system\reflection\emit\enumbuilder.cs (1)
311public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\fieldbuilder.cs (1)
166public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\generictypeparameterbuilder.cs (1)
211public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); }
system\reflection\emit\methodbuilder.cs (1)
664public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\methodbuilderinstantiation.cs (1)
55public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); }
system\reflection\emit\propertybuilder.cs (1)
251public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\symbolmethod.cs (1)
161public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\symboltype.cs (1)
582public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\typebuilder.cs (1)
1518public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\emit\typebuilderinstantiation.cs (1)
238public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (3)
53public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); } 150public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_ctor.GetCustomAttributes(attributeType, inherit); } 251public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_field.GetCustomAttributes(attributeType, inherit); }
system\reflection\eventinfo.cs (1)
309public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\fieldinfo.cs (1)
332public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\methodinfo.cs (1)
484public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\propertyinfo.cs (1)
378public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\reflection\typedelegator.cs (1)
249public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\rttype.cs (1)
5034public override Object[] GetCustomAttributes(Type attributeType, bool inherit)
system\runtime\serialization\serializationfieldinfo.cs (1)
75public override Object[] GetCustomAttributes(Type attributeType, bool inherit) {
PresentationFramework (1)
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (1)
89public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System (1)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
159public override object[] GetCustomAttributes(Type type, bool inherit) {
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1242public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1844public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1906public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1980public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Core (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
87public override object[] GetCustomAttributes(Type attributeType, bool inherit) {
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
1242public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1844public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1906public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1980public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Web (1)
Compilation\DelayLoadType.cs (1)
194public override object[] GetCustomAttributes(Type attributeType, bool inherit) {
System.Workflow.Activities (4)
Designers\StateDesigner.cs (1)
2529public override object[] GetCustomAttributes(Type attributeType, bool inherit)
Rules\RuleValidation.cs (3)
257public override object[] GetCustomAttributes(Type attributeType, bool inherit) 369public override object[] GetCustomAttributes(Type attributeType, bool inherit) 758public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.Workflow.ComponentModel (16)
AuthoringOM\Bind.cs (1)
1723public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
348public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
133public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (1)
109public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (2)
116public override object[] GetCustomAttributes(Type attributeType, bool inherit) 277public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (2)
186public override object[] GetCustomAttributes(Type attributeType, bool inherit) 266public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
301public override object[] GetCustomAttributes(Type attributeType, bool inherit) 843public override object[] GetCustomAttributes(Type attributeType, bool inherit) 914public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1017public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1136public override object[] GetCustomAttributes(Type attributeType, bool inherit) 1207public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Design\ComponentSerializationService.cs (1)
847public override object[] GetCustomAttributes(Type attributeType, bool inherit)
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
179public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System.WorkflowServices (2)
System\Workflow\Activities\ContractMethodInfo.cs (1)
171public override object[] GetCustomAttributes(Type attributeType, bool inherit)
System\Workflow\Activities\ContractType.cs (1)
226public override object[] GetCustomAttributes(Type attributeType, bool inherit)
280 references to GetCustomAttributes
mscorlib (25)
system\activator.cs (1)
641Object[] Attr = t.GetCustomAttributes(typeof(ComVisibleAttribute),false);
system\applicationactivator.cs (2)
105Object[] attrs = EntryAssembly.EntryPoint.GetCustomAttributes(typeof(STAThreadAttribute), false); 108attrs = EntryAssembly.EntryPoint.GetCustomAttributes(typeof(MTAThreadAttribute), false);
system\attribute.cs (5)
35Attribute[] attributes = (Attribute[])element.GetCustomAttributes(type, inherit); 143Attribute[] attributes = (Attribute[])element.GetCustomAttributes(type, inherit); 426Object [] obj = type.GetCustomAttributes(typeof(AttributeUsageAttribute), false); 476return element.GetCustomAttributes(type, inherit) as Attribute[]; 500return element.GetCustomAttributes(typeof(Attribute), inherit) as Attribute[];
system\diagnostics\eventing\eventsource.cs (1)
3146foreach (var attribute in member.GetCustomAttributes(attributeType, false))
System\Diagnostics\Eventing\TraceLogging\Statics.cs (3)
429var attributes = propInfo.GetCustomAttributes( 448var attributes = propInfo.GetCustomAttributes(typeof(AttributeType), false); 468var attributes = type.GetCustomAttributes(typeof(AttributeType), false);
system\reflection\emit\methodbuilderinstantiation.cs (1)
55public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (3)
53public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); } 150public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_ctor.GetCustomAttributes(attributeType, inherit); } 251public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_field.GetCustomAttributes(attributeType, inherit); }
system\reflection\typedelegator.cs (1)
251return typeImpl.GetCustomAttributes(attributeType, inherit);
system\runtime\interopservices\registrationservices.cs (1)
1018if(CurrentMethod.GetCustomAttributes(RegFuncAttrType, true).Length != 0)
system\runtime\remoting\activationservices.cs (1)
984currAttr = currType.GetCustomAttributes(
system\runtime\remoting\remotingattributes.cs (3)
69Object[] attrs = RI.GetCustomAttributes(typeof(SoapFieldAttribute), false); 284Object[] attrs = RI.GetCustomAttributes(typeof(SoapMethodAttribute), true); 435Object[] attrs = RI.GetCustomAttributes(typeof(OneWayAttribute), true);
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (1)
856Object [] attrs = cache.memberInfos[i].GetCustomAttributes(typeof(OptionalFieldAttribute), false);
system\runtime\serialization\formatterservices.cs (1)
482object[] typeAttributes = type.GetCustomAttributes(typeof(TypeForwardedFromAttribute), false);
system\runtime\serialization\objectclonehelper.cs (1)
158Object [] attrs = mi[index].GetCustomAttributes(typeof(OptionalFieldAttribute), false);
PresentationFramework (4)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
835object[] contentPropertyAttributes = type.GetCustomAttributes(
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (1)
79int dispid = ((DispIdAttribute[])method.GetCustomAttributes(typeof(DispIdAttribute), false))[0].Value;
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
377return UnderlyingType.GetCustomAttributes(attributeType, inherit);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
3980type.GetCustomAttributes(typeof(TrimSurroundingWhitespaceAttribute),true )
System (5)
compmod\system\componentmodel\EnumConverter.cs (1)
266foreach (Attribute attr in field.GetCustomAttributes(typeof(BrowsableAttribute), false)) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
944object[] typeAttrs = type.GetCustomAttributes(typeof(Attribute), false); 986object[] memberAttrs = member.GetCustomAttributes(typeof(Attribute), false);
compmod\system\componentmodel\TypeDescriptor.cs (1)
464object[] attrs = type.GetCustomAttributes(typeof(TypeDescriptionProviderAttribute), false);
compmod\system\diagnostics\SwitchAttribute.cs (1)
83 object[] attribs = member.GetCustomAttributes(typeof(SwitchAttribute), false);
System.Activities (1)
System\Activities\Debugger\DebugManager.cs (1)
260object[] objects = activity.GetType().GetCustomAttributes(typeof(DebuggerStepThroughAttribute), false);
System.Activities.Core.Presentation (6)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
241|| (type.GetCustomAttributes(typeof(CollectionDataContractAttribute), false).Length > 0));
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (5)
71else if (type.GetCustomAttributes(typeof(DataContractAttribute), false).Length > 0) 75.Where(member => member.GetCustomAttributes(typeof(DataMemberAttribute), false).Length > 0) 78else if (type.GetCustomAttributes(typeof(SerializableAttribute), false).Length > 0) 82.Where(member => member.MemberType == MemberTypes.Field && member.GetCustomAttributes(typeof(NonSerializedAttribute), false).Length == 0) 90(member.GetCustomAttributes(typeof(IgnoreDataMemberAttribute), false).Length == 0))
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeData.cs (1)
86object[] usageAttributes = _attributeType.GetCustomAttributes(typeof(AttributeUsageAttribute), true);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
361Object[] attrs = reflectMember.GetCustomAttributes(typeof(Attribute), true); 379attrs = reflectType.GetCustomAttributes(typeof(Attribute), true); 396attrs = iface.GetCustomAttributes(typeof(Attribute), false); 428attrList.AddRange(reflectMember.GetCustomAttributes(typeof(Attribute), true));
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
197object[] attributes = this.GetType().GetCustomAttributes(typeof(TypeConverterAttribute), false); 276object[] attributes = this.GetType().GetCustomAttributes(typeof(EditorAttribute), false);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
223= discoveredToolType.GetCustomAttributes(typeof(ToolboxItemAttribute), true) as ToolboxItemAttribute[];
System.ComponentModel.DataAnnotations (1)
DataAnnotations\EnumDataTypeAttribute.cs (1)
90return enumType.GetCustomAttributes(typeof(FlagsAttribute), false).Length != 0;
System.Core (2)
System\Runtime\InteropServices\ComAwareEventInfo.cs (2)
88return _innerEventInfo.GetCustomAttributes(attributeType, inherit); 111object[] comEventInterfaces = eventInfo.DeclaringType.GetCustomAttributes(typeof(ComEventInterfaceAttribute), false);
System.Data (11)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeData.cs (1)
86object[] usageAttributes = _attributeType.GetCustomAttributes(typeof(AttributeUsageAttribute), true);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
361Object[] attrs = reflectMember.GetCustomAttributes(typeof(Attribute), true); 379attrs = reflectType.GetCustomAttributes(typeof(Attribute), true); 396attrs = iface.GetCustomAttributes(typeof(Attribute), false); 428attrList.AddRange(reflectMember.GetCustomAttributes(typeof(Attribute), true));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
197object[] attributes = this.GetType().GetCustomAttributes(typeof(TypeConverterAttribute), false); 276object[] attributes = this.GetType().GetCustomAttributes(typeof(EditorAttribute), false);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
223= discoveredToolType.GetCustomAttributes(typeof(ToolboxItemAttribute), true) as ToolboxItemAttribute[];
fx\src\data\System\Data\Sql\sqlser.cs (1)
107return t.GetCustomAttributes(typeof(SqlUserDefinedTypeAttribute), false);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
484Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute[] attributes = (Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute[])type.GetCustomAttributes(typeof(Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute), true);
fx\src\data\System\Data\SqlClient\SqlUdtInfo.cs (1)
67object[] attr = target.GetCustomAttributes(typeof(Microsoft.SqlServer.Server.SqlUserDefinedTypeAttribute), false);
System.Data.Entity (10)
System\Data\Metadata\Edm\EnumType.cs (1)
98_isFlags = clrType.GetCustomAttributes(typeof(FlagsAttribute), false).Any();
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (1)
87foreach (MetadataPropertyAttribute attribute in propertyInfo.GetCustomAttributes(
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (6)
141clrType.GetCustomAttributes(typeof(EdmTypeAttribute), false /*inherit*/).Length == 0 || // not a type we track 282EdmTypeAttribute[] typeAttributes = (EdmTypeAttribute[])clrType.GetCustomAttributes(typeof(EdmTypeAttribute), false /*inherit*/); 371if (type.GetCustomAttributes(typeof(EdmEntityTypeAttribute), false).Length > 0 && TryGetLoadedType(type, out edmType)) 522object[] relationshipPropertyAttributes = propertyInfo.GetCustomAttributes(typeof(EdmRelationshipNavigationPropertyAttribute), false); 634object[] attrs = property.GetCustomAttributes(typeof(EdmScalarPropertyAttribute), false); 675var edmScalarPropertyAttribute = (EdmScalarPropertyAttribute)clrProperty.GetCustomAttributes(typeof(EdmScalarPropertyAttribute), false).Single();
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
62EdmFunctionAttribute functionAttribute = linq.Method.GetCustomAttributes(typeof(EdmFunctionAttribute), false)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1527DataContractAttribute[] attributes = (DataContractAttribute[])_baseClrType.GetCustomAttributes(typeof(DataContractAttribute), false);
System.Data.Linq (6)
Mapping\AttributedMetaModel.cs (6)
80ProviderAttribute[] attrs = (ProviderAttribute[])this.contextType.GetCustomAttributes(typeof(ProviderAttribute), true); 88DatabaseAttribute[] das = (DatabaseAttribute[])this.contextType.GetCustomAttributes(typeof(DatabaseAttribute), false); 233TableAttribute[] attrs = (TableAttribute[])root.GetCustomAttributes(typeof(TableAttribute), true); 256TableAttribute[] attrs = (TableAttribute[])derivedType.GetCustomAttributes(typeof(TableAttribute), false); 397InheritanceMappingAttribute[] inheritanceInfo = (InheritanceMappingAttribute[])type.GetCustomAttributes(typeof(InheritanceMappingAttribute), true); 462TableAttribute[] attrs = (TableAttribute[])type.Type.GetCustomAttributes(typeof(TableAttribute), false);
System.Data.Services (10)
System\Data\Services\DataServiceConfiguration.cs (2)
1002method.GetCustomAttributes(typeof(QueryInterceptorAttribute), true /* inherit */); 1028method.GetCustomAttributes(typeof(ChangeInterceptorAttribute), true /* inherit */);
System\Data\Services\IgnorePropertiesAttribute.cs (1)
81IgnorePropertiesAttribute[] attributes = (IgnorePropertiesAttribute[])type.GetCustomAttributes(typeof(IgnorePropertiesAttribute), inherit);
System\Data\Services\MimeTypeAttribute.cs (1)
72return member.ReflectedType.GetCustomAttributes(typeof(MimeTypeAttribute), true)
System\Data\Services\Providers\BaseServiceProvider.cs (2)
507if (methodInfo.GetCustomAttributes(typeof(WebGetAttribute), true).Length != 0) 511else if (methodInfo.GetCustomAttributes(typeof(WebInvokeAttribute), true).Length != 0)
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
921ETagAttribute[] attributes = (ETagAttribute[])resourceType.InstanceType.GetCustomAttributes(typeof(ETagAttribute), inherit); 954if (type.GetCustomAttributes(typeof(HasStreamAttribute), true /* inherit */).Length == 1)
System\Data\Services\Providers\ResourceType.cs (1)
707foreach (EntityPropertyMappingAttribute epmAttr in currentResourceType.InstanceType.GetCustomAttributes(typeof(EntityPropertyMappingAttribute), currentResourceType.BaseType != null ? false : true))
System\Data\Services\SingleResultAttribute.cs (1)
40return method.GetCustomAttributes(typeof(SingleResultAttribute), true).Length > 0;
System.Data.Services.Client (5)
System\Data\Services\Client\Binding\BindingEntityInfo.cs (1)
278object[] attributes = entityType.GetCustomAttributes(typeof(EntitySetAttribute), true);
System\Data\Services\Client\ClientType.cs (4)
720foreach (EntityPropertyMappingAttribute epmAttr in type.GetCustomAttributes(typeof(EntityPropertyMappingAttribute), false)) 751MimeTypePropertyAttribute attribute = (MimeTypePropertyAttribute)this.ElementType.GetCustomAttributes(typeof(MimeTypePropertyAttribute), true).SingleOrDefault(); 773object[] attributes = this.ElementType.GetCustomAttributes(typeof(MediaEntryAttribute), true); 791attributes = this.ElementType.GetCustomAttributes(typeof(HasStreamAttribute), true);
System.Management (4)
Instrumentation\Attributes.cs (2)
368Object [] rg = type.GetCustomAttributes(typeof(InstrumentationClassAttribute), true); 425Object [] rg = member.GetCustomAttributes(typeof(ManagedNameAttribute), false);
Instrumentation\Instrumentation.cs (1)
305object[] attributes = type.GetCustomAttributes(typeof(System.Management.Instrumentation.InstrumentationClassAttribute), true);
Instrumentation\SchemaMapping.cs (1)
212 if(field.GetCustomAttributes(typeof(IgnoreMemberAttribute), false).Length > 0)
System.Runtime.Serialization (11)
System\Runtime\Serialization\ClassDataContract.cs (3)
870object[] memberAttributes = member.GetCustomAttributes(typeof(DataMemberAttribute), false); 935object[] memberAttributes = member.GetCustomAttributes(typeof(IgnoreDataMemberAttribute), false); 981object[] optionalFields = field.GetCustomAttributes(Globals.TypeOfOptionalFieldAttribute, false);
System\Runtime\Serialization\DataContract.cs (4)
1537object[] dataContractAttributes = type.GetCustomAttributes(Globals.TypeOfDataContractAttribute, false); 1558object[] collectionContractAttributes = type.GetCustomAttributes(Globals.TypeOfCollectionDataContractAttribute, false); 1795object[] typeAttributes = type.GetCustomAttributes(typeof(TypeForwardedFromAttribute), false); 2067object[] knownTypeAttributes = type.GetCustomAttributes(Globals.TypeOfKnownTypeAttribute, false);
System\Runtime\Serialization\EnumDataContract.cs (2)
283object[] memberAttributes = field.GetCustomAttributes(Globals.TypeOfEnumMemberAttribute, false); 303object[] dataMemberAttributes = field.GetCustomAttributes(Globals.TypeOfDataMemberAttribute, false);
System\Runtime\Serialization\SchemaExporter.cs (1)
612object[] attrs = clrType.GetCustomAttributes(Globals.TypeOfXmlSchemaProviderAttribute, false);
System\Runtime\Serialization\XmlDataContract.cs (1)
211object[] xmlRootAttributes = (UnderlyingType == null) ? null : UnderlyingType.GetCustomAttributes(Globals.TypeOfXmlRootAttribute, false);
System.ServiceModel (1)
System\ServiceModel\Configuration\StandardRuntimeFlagEnumValidatorAttribute.cs (1)
45bool hasFlags = value.GetCustomAttributes(typeof(FlagsAttribute), true).Length > 0;
System.ServiceModel.Web (4)
System\ServiceModel\Description\WebHttpBehavior.cs (3)
402attributes = od.SyncMethod.GetCustomAttributes(typeof(DescriptionAttribute), true); 406attributes = od.BeginMethod.GetCustomAttributes(typeof(DescriptionAttribute), true); 410attributes = od.TaskMethod.GetCustomAttributes(typeof(DescriptionAttribute), true);
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
265TypeConverterAttribute[] typeConverterAttrs = parameterType.GetCustomAttributes(typeof(TypeConverterAttribute), true) as TypeConverterAttribute[];
System.Web (13)
Compilation\BuildProvider.cs (1)
530object[] attrs = Type.GetCustomAttributes(
Compilation\DelayLoadType.cs (1)
195return Type.GetCustomAttributes(attributeType, inherit);
Configuration\FolderLevelBuildProvider.cs (1)
111object[] attrs = TypeInternal.GetCustomAttributes(
ModelBinding\ModelBinderProviderCollection.cs (1)
103.GetCustomAttributes(typeof(ModelBinderProviderOptionsAttribute), true /* inherit */)
UI\ControlBuilder.cs (2)
1033object[] attrs = memberInfo.GetCustomAttributes(typeof(UrlPropertyAttribute), true); 1751object[] containerAttrs = pInfo.GetCustomAttributes(typeof(TemplateContainerAttribute), /*inherits*/ false);
UI\SupportsEventValidationAttribute.cs (1)
41object[] attribs = type.GetCustomAttributes(typeof(SupportsEventValidationAttribute), false /* inherits */);
UI\TargetFrameworkUtil.cs (1)
450return targetType.GetCustomAttributes(attributeType, inherit);
UI\TemplateParser.cs (1)
628object[] attrs = BaseType.GetCustomAttributes(
UI\Util.cs (1)
610object[] instanceAttrs = pInfo.GetCustomAttributes(typeof(TemplateInstanceAttribute), /*inherits*/ false);
UI\WebParts\WebPartManager.cs (2)
1776object[] consumerAttributes = method.GetCustomAttributes(typeof(ConnectionConsumerAttribute), true); 1811object[] providerAttributes = method.GetCustomAttributes(typeof(ConnectionProviderAttribute), true);
UI\WebParts\WebPartTransformerAttribute.cs (1)
83object[] attributes = transformerType.GetCustomAttributes(typeof(WebPartTransformerAttribute), true);
System.Web.Extensions (8)
Script\Services\ProxyGenerator.cs (2)
72object[] attribs = type.GetCustomAttributes(typeof(ServiceContractAttribute), true); 77object[] attribs = type.GetCustomAttributes(typeof(ScriptServiceAttribute), true);
Script\Services\WebServiceData.cs (5)
176object[] attribs = type.GetCustomAttributes(typeof(ScriptServiceAttribute), true); 190object[] wmAttribs = method.GetCustomAttributes(typeof(WebMethodAttribute), true); 197object[] responseAttribs = method.GetCustomAttributes(typeof(ScriptMethodAttribute), true); 305ProcessIncludeAttributes((GenerateScriptTypeAttribute[])_typeData.Type.GetCustomAttributes(typeof(GenerateScriptTypeAttribute), true)); 310ProcessIncludeAttributes((GenerateScriptTypeAttribute[])methodData.MethodInfo.GetCustomAttributes(typeof(GenerateScriptTypeAttribute), true));
UI\TargetControlTypeCache.cs (1)
26object[] attrs = extenderControlType.GetCustomAttributes(typeof(TargetControlTypeAttribute), true);
System.Web.Services (19)
System\Web\Services\Configuration\WebServicesSection.cs (4)
95object[] xmlElementAttribs = discoveryReferenceType.GetCustomAttributes(typeof(XmlRootAttribute), false); 151object[] attrs = type.GetCustomAttributes(typeof(XmlFormatExtensionPointAttribute), false); 200object[] attrs = extensionType.GetCustomAttributes(typeof(XmlFormatExtensionAttribute), false); 215attrs = extensionType.GetCustomAttributes(typeof(XmlFormatExtensionPrefixAttribute), false);
System\Web\Services\Description\ProtocolImporter.cs (1)
480XmlFormatExtensionAttribute[] attrs = (XmlFormatExtensionAttribute[])item.GetType().GetCustomAttributes(typeof(XmlFormatExtensionAttribute), false);
System\Web\Services\Description\ProtocolReflector.cs (2)
307object[] attrs = ServiceType.GetCustomAttributes(typeof(WebServiceBindingAttribute), false); 324object[] attrs = bindingInterface.GetCustomAttributes(typeof(WebServiceBindingAttribute), false);
System\Web\Services\Protocols\LogicalMethodInfo.cs (3)
307object[] declAttributes = declaration.GetCustomAttributes(type, false); 308object[] implAttributes = methodInfo.GetCustomAttributes(type, false); 329attrForType = methodInfo.GetCustomAttributes(type, false);
System\Web\Services\Protocols\PatternMatcher.cs (1)
183object[] attrs = memberInfo.GetCustomAttributes(typeof(MatchAttribute), false);
System\Web\Services\Protocols\SoapReflector.cs (2)
190object[] rpcServiceAttributes = type.GetCustomAttributes(typeof(SoapRpcServiceAttribute), false); 191object[] docServiceAttributes = type.GetCustomAttributes(typeof(SoapDocumentServiceAttribute), false);
System\Web\Services\WebMethodAttribute.cs (3)
221attrs = declaration.GetCustomAttributes(typeof(WebMethodAttribute), false); 226attrs = implementation.GetCustomAttributes(typeof(WebMethodAttribute), false); 285object[] attrs = declaration.DeclaringType.GetCustomAttributes(typeof(WebServiceBindingAttribute), false);
System\Web\Services\WebServiceAttribute.cs (1)
83object[] attrs = type.GetCustomAttributes(typeof(WebServiceAttribute), false);
System\Web\Services\WebServiceBindingAttribute.cs (2)
110object[] attrs = type.GetCustomAttributes(typeof(WebServiceBindingAttribute), false); 125object[] attrs = type.GetCustomAttributes(typeof(WebServiceBindingAttribute), false);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
17966object[] custom = controlType.GetCustomAttributes(typeof(ComSourceInterfacesAttribute), false);
System.Workflow.Activities (50)
Common\CompModHelpers.cs (2)
728object[] attributes = memberInfo.GetCustomAttributes(typeof(DesignerSerializationVisibilityAttribute), true); 1288isAlternateFlowActivityAttribute = activity.GetType().GetCustomAttributes(typeof(AlternateFlowActivityAttribute), true).Length != 0;
Common\Walker.cs (2)
273DesignerSerializationVisibilityAttribute[] visibilityAttrs = (DesignerSerializationVisibilityAttribute[])prop.GetCustomAttributes(typeof(DesignerSerializationVisibilityAttribute), true); 283BrowsableAttribute[] browsableAttrs = (BrowsableAttribute[])type.GetCustomAttributes(typeof(BrowsableAttribute), true);
CorrelationValidator.cs (15)
46object[] attributes = interfaceType.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), false); 100attributes = interfaceType.GetCustomAttributes(typeof(CorrelationProviderAttribute), false); 106object[] correlationParameterAttributes = interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), false); 164attributes = targetMember.GetCustomAttributes(typeof(CorrelationInitializerAttribute), false) as object[]; 256attributes = existingTargetMember.GetCustomAttributes(typeof(CorrelationInitializerAttribute), false) as object[]; 376object[] attributes = interfaceType.GetCustomAttributes(typeof(CorrelationProviderAttribute), false); 379object[] dsAttribs = interfaceType.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), false); 380object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), false); 473foreach (object interfaceAttribute in interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), false)) 504int aliasLength = memberInfo.GetCustomAttributes(typeof(CorrelationInitializerAttribute), false).Length; 525int aliasLength = memberInfo.GetCustomAttributes(typeof(CorrelationInitializerAttribute), false).Length; 635if (memberInfo.GetCustomAttributes(typeof(CorrelationInitializerAttribute), false).Length != 0 || 636memberInfo.GetCustomAttributes(typeof(CorrelationAliasAttribute), false).Length != 0) 669foreach (object memberAttribute in memberInfo.GetCustomAttributes(typeof(CorrelationAliasAttribute), false)) 925object[] attrs = type.GetCustomAttributes(typeof(SerializableAttribute), false);
Designers\EventSinkActivityDesigner.cs (2)
44object[] corrProvAttribs = interfaceType.GetCustomAttributes(typeof(CorrelationProviderAttribute), false); 45object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), false);
Designers\InvokeMethodActivityDesigner.cs (2)
43object[] corrProvAttribs = interfaceType.GetCustomAttributes(typeof(CorrelationProviderAttribute), false); 44object[] corrParamAttribs = interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), false);
Designers\StateDesigner.cs (1)
2531return this.realPropertyInfo.GetCustomAttributes(attributeType, inherit);
EventSinkActivity.cs (1)
514object[] dsAttribs = type.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), false);
InvokeWebService.cs (2)
339object[] attrs = method.GetCustomAttributes(typeof(SoapDocumentMethodAttribute), false); 341attrs = method.GetCustomAttributes(typeof(SoapRpcMethodAttribute), false);
LocalService\CorrelationResolver.cs (10)
104object[] corrProviderAttribs = this.interfaceType.GetCustomAttributes(typeof(CorrelationProviderAttribute), true); 107corrProviderAttribs = this.interfaceType.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), true); 108object[] corrParameterAttribs = this.interfaceType.GetCustomAttributes(typeof(CorrelationParameterAttribute), true); 276if ((member.GetCustomAttributes(typeof(CorrelationInitializerAttribute), true)).Length > 0) 283if ((member.GetCustomAttributes(typeof(CorrelationInitializerAttribute), true)).Length > 0) 306if (interfaceType.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), true).Length == 0) 393customAttrs = eventInfo.GetCustomAttributes(typeof(CorrelationAliasAttribute), true); 396customAttrs = eventInfo.EventHandlerType.GetCustomAttributes(typeof(CorrelationAliasAttribute), true); 409customAttrs = methodInfo.GetCustomAttributes(typeof(CorrelationAliasAttribute), true); 441return type.GetCustomAttributes(typeof(CorrelationParameterAttribute), true);
LocalService\ExternalDataExchangeService.cs (1)
276object[] attributes = type.GetCustomAttributes(typeof(ExternalDataExchangeAttribute), false);
Rules\Expressions.cs (4)
362object[] attrs = method.GetCustomAttributes(typeof(RuleAttribute), true); 1134object[] attrs = pi.GetCustomAttributes(typeof(RuleAttribute), true); 1419object[] attrs = mi.GetCustomAttributes(typeof(RuleAttribute), true); 2403object[] attrs = pi.GetCustomAttributes(typeof(RuleAttribute), true);
Rules\References.cs (1)
78object[] attrs = member.GetCustomAttributes(typeof(RuleAttribute), true);
Rules\RuleAttributes.cs (2)
361object[] attrs = mi.GetCustomAttributes(typeof(RuleAttribute), true); 424object[] attrs = mi.GetCustomAttributes(typeof(RuleAttribute), true);
Rules\RuleValidation.cs (5)
259return actualMethod.GetCustomAttributes(attributeType, inherit); 371return actualMethod.GetCustomAttributes(attributeType, inherit); 3428object[] objAttrs = type.GetCustomAttributes(extensionAttribute, false); 3440object[] objAttrs = mi.GetCustomAttributes(extensionAttribute, false); 3599object[] attrs = targetType.GetCustomAttributes(typeof(DefaultMemberAttribute), true);
System.Workflow.ComponentModel (46)
AuthoringOM\Activity.cs (2)
1402this.UserData[typeof(PersistOnCloseAttribute)] = (this.GetType().GetCustomAttributes(typeof(PersistOnCloseAttribute), true).Length > 0); 1829object[] attributes = this.GetType().GetCustomAttributes(typeof(PersistOnCloseAttribute), true);
AuthoringOM\Compiler\TypeSystem\Helper.cs (2)
189object[] usageAttribs = attributeType.GetCustomAttributes(typeof(System.AttributeUsageAttribute), true); 242object[] baseAttributes = baseMemberInfo.GetCustomAttributes(attributeType, inherit);
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (6)
303return this.runtimeType.GetCustomAttributes(attributeType, inherit); 845return this.ctorInfo.GetCustomAttributes(attributeType, inherit); 916return this.fieldInfo.GetCustomAttributes(attributeType, inherit); 1019return this.propertyInfo.GetCustomAttributes(attributeType, inherit); 1138return this.methodInfo.GetCustomAttributes(attributeType, inherit); 1209return this.eventInfo.GetCustomAttributes(attributeType, inherit);
AuthoringOM\Compiler\Validation\Validator.cs (2)
57object[] validationVisibilityAtrributes = args.CurrentProperty.GetCustomAttributes(typeof(ValidationOptionAttribute), true); 105object[] validationVisibilityAtrributes = propertyInfo.GetCustomAttributes(typeof(ValidationOptionAttribute), true);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
84WorkflowMarkupSourceAttribute[] sourceAttrs = (WorkflowMarkupSourceAttribute[])type.GetCustomAttributes(typeof(WorkflowMarkupSourceAttribute), false);
AuthoringOM\ComponentFactoryHelpers.cs (3)
63if (objectType.GetCustomAttributes(typeof(SupportsTransactionAttribute), true).Length > 0) 69if (objectType.GetCustomAttributes(typeof(SupportsSynchronizationAttribute), true).Length > 0) 236attribs = objectType.GetCustomAttributes(attributeType, inherit);
AuthoringOM\Design\ActivityDesigner.cs (3)
1947object[] attribs = activityType.GetCustomAttributes(typeof(DescriptionAttribute), false); 1949attribs = activityType.GetCustomAttributes(typeof(DescriptionAttribute), true); 2495object[] attributes = itemType.GetCustomAttributes(typeof(ToolboxItemAttribute), false);
AuthoringOM\Design\ComponentSerializationService.cs (1)
850return this.realPropInfo.GetCustomAttributes(attributeType, inherit);
AuthoringOM\Design\CustomActivityDesigner.cs (2)
160object[] attribs = rootActivity.GetType().GetCustomAttributes(typeof(ToolboxItemAttribute), false); 456object[] hiddenCodeAttributes = member.GetCustomAttributes(typeof(FlagsAttribute), true);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
703object[] descriptions = member.GetCustomAttributes(typeof(DescriptionAttribute), false); 740object[] attributes = property.GetCustomAttributes(typeof(BrowsableAttribute), false);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (3)
728object[] attribs = designerType.GetCustomAttributes(typeof(ActivityDesignerThemeAttribute), true); 778object[] attribs = baseType.GetCustomAttributes(typeof(CategoryAttribute), false); 1007object[] attribs = activityType.GetCustomAttributes(typeof(ToolboxItemAttribute), false);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
870object[] attributes = type.GetCustomAttributes(typeof(ObsoleteAttribute), false);
AuthoringOM\Design\ExtenderHelpers.cs (1)
47ProvidePropertyAttribute[] propertyAttributes = extenderProvider.GetType().GetCustomAttributes(typeof(ProvidePropertyAttribute), true) as ProvidePropertyAttribute[];
AuthoringOM\Design\PropertyDescriptors.cs (2)
441object[] nonUserCodeAttributes = memberInfo.GetCustomAttributes(typeof(System.Diagnostics.DebuggerNonUserCodeAttribute), false); 445object[] browsableAttributes = memberInfo.GetCustomAttributes(typeof(BrowsableAttribute), false);
AuthoringOM\Design\ReferenceService.cs (1)
54BrowsableAttribute[] browsableAttrs = (BrowsableAttribute[])(value.GetType().GetCustomAttributes(typeof(BrowsableAttribute), true));
AuthoringOM\Design\TypeConverters.cs (2)
42object[] attributes = CodeConditionType.GetCustomAttributes(typeof(DisplayNameAttribute), false); 48attributes = RuleDefinitionsType.GetCustomAttributes(typeof(DisplayNameAttribute), false);
AuthoringOM\Design\WinOEToolBoxItem.cs (3)
103object[] attribs = activityType.GetCustomAttributes(typeof(ToolboxBitmapAttribute), false); 105attribs = activityType.GetCustomAttributes(typeof(ToolboxBitmapAttribute), true); 121object[] toolboxItemAttributes = activityType.GetCustomAttributes(typeof(ToolboxItemAttribute), true);
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (1)
104WorkflowMarkupSourceAttribute[] sourceAttrs = (WorkflowMarkupSourceAttribute[])type.GetCustomAttributes(typeof(WorkflowMarkupSourceAttribute), false);
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
181return this.realPropertyInfo.GetCustomAttributes(attributeType, inherit);
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (1)
116object[] attributes = serializableProperty.GetCustomAttributes(typeof(ConstructorArgumentAttribute), false);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
1369object[] attributes = obj.GetType().GetCustomAttributes(typeof(RuntimeNamePropertyAttribute), true); 3090object[] contentPropertyAttributes = parentObject.GetType().GetCustomAttributes(typeof(ContentPropertyAttribute), true);
Shared\CompModHelpers.cs (2)
726object[] attributes = memberInfo.GetCustomAttributes(typeof(DesignerSerializationVisibilityAttribute), true); 1286isAlternateFlowActivityAttribute = activity.GetType().GetCustomAttributes(typeof(AlternateFlowActivityAttribute), true).Length != 0;
Shared\Walker.cs (2)
272DesignerSerializationVisibilityAttribute[] visibilityAttrs = (DesignerSerializationVisibilityAttribute[])prop.GetCustomAttributes(typeof(DesignerSerializationVisibilityAttribute), true); 282BrowsableAttribute[] browsableAttrs = (BrowsableAttribute[])type.GetCustomAttributes(typeof(BrowsableAttribute), true);
System.Workflow.Runtime (4)
DebugEngine\DebugController.cs (1)
1008Attribute[] attributes = scheduleType.GetCustomAttributes(typeof(WorkflowMarkupSourceAttribute), false) as Attribute[];
WorkflowExecutor.cs (1)
3023object[] attributes = activity.GetType().GetCustomAttributes(typeof(PersistOnCloseAttribute), true);
WorkflowRuntime.cs (2)
997object[] attributes = type.GetCustomAttributes(typeof(PreviousTrackingServiceAttribute), true); 1014object[] attributes = type.GetCustomAttributes(typeof(PreviousTrackingServiceAttribute), true);
System.WorkflowServices (15)
System\Workflow\Activities\ContractMethodParameterInfo.cs (1)
81return this.ParameterType.GetCustomAttributes(attributeType, inherit);
System\Workflow\Activities\Design\RichListBox.cs (2)
68object[] attribs = editableListItemType.GetCustomAttributes(typeof(ListItemDetailViewAttribute), true); 92object[] attribs = editableListItemType.GetCustomAttributes(typeof(ListItemViewAttribute), true);
System\Workflow\Activities\OperationInfo.cs (1)
285methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System\Workflow\Activities\ReceiveActivity.cs (1)
1427object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System\Workflow\Activities\SendActivity.cs (1)
635object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System\Workflow\Activities\ServiceOperationHelpers.cs (5)
25object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true); 76object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true); 107object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true); 137object[] contractAttribs = contractType.GetCustomAttributes(typeof(ServiceContractAttribute), false); 163object[] operationContractAttribs = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System\Workflow\Activities\TypedOperationInfo.cs (2)
152methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true); 294currentMethodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System\Workflow\Activities\ValidationHelper.cs (2)
1014object[] serviceContractAttributes = contractType.GetCustomAttributes(typeof(ServiceContractAttribute), true); 1027object[] operationContractAttrributes = methodInfo.GetCustomAttributes(typeof(OperationContractAttribute), true);
System.Xml (5)
System\Xml\Serialization\Compilation.cs (1)
163object[] attrs = type.GetCustomAttributes(typeof(XmlSerializerAssemblyAttribute), false);
System\Xml\Serialization\Compiler.cs (1)
88object[] typeForwardedFromAttribute = type.GetCustomAttributes(typeof(TypeForwardedFromAttribute), false);
System\Xml\Serialization\Types.cs (1)
1098object[] attrs = ctor.GetCustomAttributes(typeof(ObsoleteAttribute), false);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
457object[] attrs = type.GetCustomAttributes(typeof(XmlSchemaProviderAttribute), false);
System\Xml\Xslt\XslCompiledTransform.cs (1)
261object[] customAttrs = compiledStylesheet.GetCustomAttributes(typeof(GeneratedCodeAttribute), /*inherit:*/false);
WindowsBase (5)
Base\MS\Internal\ComponentModel\AttachInfo.cs (1)
76attributes = m.GetCustomAttributes(DependencyObjectPropertyDescriptor.AttachedPropertyBrowsableAttributeType, false);
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (4)
471Attribute[] attrArray = (Attribute[])mi.GetCustomAttributes(attrType, true); 474Attribute[] typeAttrArray = (Attribute[])propertyReflectionType.GetCustomAttributes(attrType, true); 505paAttrs = (Attribute[])milist[0].GetCustomAttributes(typeof(Attribute), true); 509paAttrs = (Attribute[])providerType.GetCustomAttributes(typeof(Attribute), true);