Implemented interface member:
property
DeclaringType
System.Runtime.InteropServices._MemberInfo.DeclaringType
46 overrides of DeclaringType
mscorlib (18)
PresentationFramework (1)
System (1)
System.Activities.Presentation (3)
System.Core (1)
System.Data (3)
System.Workflow.Activities (4)
System.Workflow.ComponentModel (14)
System.WorkflowServices (1)
745 references to DeclaringType
mscorlib (137)
system\reflection\emit\modulebuilder.cs (37)
542tr = GetTypeTokenInternal(con.DeclaringType).Token;
543mr = GetMemberRef(con.DeclaringType.Module, tr, conOnTypeBuilderInst.MetadataTokenInternal);
685if (method.DeclaringType.IsGenericType)
716methDef.DeclaringType != null ? methDef.DeclaringType.GetGenericArguments() : null,
723method.DeclaringType != null ? method.DeclaringType.GetGenericArguments() : null,
741if (method.DeclaringType.IsGenericType)
744byte[] sig = SignatureHelper.GetTypeSigToken(this, method.DeclaringType).InternalGetSignature(out length);
750tkParent = GetTypeToken(method.DeclaringType).Token;
1842if (method.DeclaringType == null)
1846tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token;
1847mr = GetMemberRef(method.DeclaringType.Module, tr, methodToken);
1863Type declaringType = method.DeclaringType;
1885tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token;
1905tr = getGenericTypeDefinition ? GetTypeToken(method.DeclaringType).Token : GetTypeTokenInternal(method.DeclaringType).Token;
1989|| (methodInfoUnbound.DeclaringType != null && methodInfoUnbound.DeclaringType.IsGenericType))
2015(method.DeclaringType == null || !method.DeclaringType.IsGenericType))
2132if (field.DeclaringType != null && field.DeclaringType.IsGenericType)
2135byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType).InternalGetSignature(out length);
2147if (field.DeclaringType == null)
2151tr = GetTypeTokenInternal(field.DeclaringType).Token;
2160if (field.DeclaringType == null)
2165if (field.DeclaringType != null && field.DeclaringType.IsGenericType)
2168byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType).InternalGetSignature(out length);
2170mr = GetMemberRefOfFieldInfo(tr, field.DeclaringType.GetTypeHandleInternal(), rtField);
2174tr = GetTypeTokenInternal(field.DeclaringType).Token;
2175mr = GetMemberRefOfFieldInfo(tr, field.DeclaringType.GetTypeHandleInternal(), rtField);
2182byte[] sig = SignatureHelper.GetTypeSigToken(this, field.DeclaringType).InternalGetSignature(out length);
2384if (entryPoint.DeclaringType != null)
PresentationBuildTasks (27)
PresentationFramework (19)
System (7)
System.Activities (40)
System.Activities.Presentation (12)
System.AddIn (2)
System.Configuration (2)
System.Core (44)
System.Data (13)
System.Data.Entity (63)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (6)
540SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_InvalidNavPropReturnType(propertyInfo.Name, propertyInfo.DeclaringType.FullName, propertyInfo.PropertyType.FullName), null));
576propertyInfo.Name, propertyInfo.DeclaringType.FullName, attribute.TargetRoleName, attribute.RelationshipName), navigationProperty));
596propertyInfo.Name, propertyInfo.DeclaringType.FullName, attribute.RelationshipName), declaringType));
630SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ScalarPropertyNotPrimitive(property.Name, property.DeclaringType.FullName, property.PropertyType.FullName), null));
670clrProperty.DeclaringType.FullName,
703SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ComplexPropertyNotComplex(clrProperty.Name, clrProperty.DeclaringType.FullName, clrProperty.PropertyType.FullName), null));
System.Data.Linq (78)
System.Data.Services (7)
System.Data.Services.Client (13)
System.Data.SqlXml (4)
System.Drawing (2)
System.Management (1)
System.Runtime.Remoting (1)
System.Runtime.Serialization (43)
System\Runtime\Serialization\ClassDataContract.cs (23)
328Type declaringType = memberContract.MemberInfo.DeclaringType;
874ThrowInvalidDataContractException(SR.GetString(SR.TooManyDataMembers, DataContract.GetClrTypeFullName(member.DeclaringType), member.Name));
889ThrowInvalidDataContractException(SR.GetString(SR.NoGetMethodForProperty, property.DeclaringType, property.Name));
894this.serializationExceptionMessage = SR.GetString(SR.NoSetMethodForProperty, property.DeclaringType, property.Name);
898ThrowInvalidDataContractException(SR.GetString(SR.IndexedPropertyCannotBeSerialized, property.DeclaringType, property.Name));
920DataContract.GetClrTypeFullName(member.DeclaringType),
939ThrowInvalidDataContractException(SR.GetString(SR.TooManyIgnoreDataMemberAttributes, DataContract.GetClrTypeFullName(member.DeclaringType), member.Name));
988DataContract.GetClrTypeFullName(member.DeclaringType),
1144ThrowInvalidDataContractException(SR.GetString(SR.DuplicateExtensionDataSetMethod, method, extensionDataSetMethod, DataContract.GetClrTypeFullName(method.DeclaringType)));
1146DataContract.ThrowInvalidDataContractException(SR.GetString(SR.ExtensionDataSetMustReturnVoid, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType);
1148DataContract.ThrowInvalidDataContractException(SR.GetString(SR.ExtensionDataSetParameterInvalid, DataContract.GetClrTypeFullName(method.DeclaringType), method, Globals.TypeOfExtensionDataObject), method.DeclaringType);
1159DataContract.ThrowInvalidDataContractException(SR.GetString(SR.DuplicateCallback, method, currentCallback, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType);
1161DataContract.ThrowInvalidDataContractException(SR.GetString(SR.DuplicateAttribute, prevAttributeType, attributeType, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType);
1163DataContract.ThrowInvalidDataContractException(SR.GetString(SR.CallbacksCannotBeVirtualMethods, method, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType);
1167DataContract.ThrowInvalidDataContractException(SR.GetString(SR.CallbackMustReturnVoid, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType);
1169DataContract.ThrowInvalidDataContractException(SR.GetString(SR.CallbackParameterInvalid, DataContract.GetClrTypeFullName(method.DeclaringType), method, Globals.TypeOfStreamingContext), method.DeclaringType);
System.Security (1)
System.ServiceModel (62)
System\ServiceModel\Description\ServiceReflector.cs (7)
718methodInfo.Name, methodInfo.DeclaringType.Name)));
727methodInfo.Name, methodInfo.DeclaringType.Name)));
841MemberInfo[] endMethods = beginMethod.DeclaringType.GetMember(endMethodName, ServiceModelBindingFlags);
844throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
848throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
859throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidAsyncEndMethodSignatureForMethod2, endMethod.Name, endMethod.DeclaringType.FullName)));
892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.InvalidAsyncBeginMethodSignatureForMethod2, method.Name, method.DeclaringType.FullName)));
System\ServiceModel\Description\TypeLoader.cs (28)
387type = ((MethodInfo)provider).DeclaringType;
491opDesc.SyncMethod.DeclaringType,
502opDesc.SyncMethod.DeclaringType,
512opDesc.TaskMethod.DeclaringType,
928throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.OneWayAndFaultsIncompatible2, methodInfo.DeclaringType.FullName, operationName.EncodedName)));
1142throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxMultipleUnknownHeaders, methodInfo, methodInfo.DeclaringType)));
1559this.syncOperation.SyncMethod.DeclaringType,
1575this.syncOperation.SyncMethod.DeclaringType,
1592this.syncOperation.SyncMethod.DeclaringType,
1607this.syncOperation.SyncMethod.DeclaringType,
1621this.syncOperation.SyncMethod.DeclaringType,
1637this.syncOperation.SyncMethod.DeclaringType,
1652this.syncOperation.SyncMethod.DeclaringType,
1669this.syncOperation.SyncMethod.DeclaringType,
1701this.syncOperation.SyncMethod.DeclaringType,
1716this.syncOperation.SyncMethod.DeclaringType,
1730this.syncOperation.SyncMethod.DeclaringType,
1743this.syncOperation.SyncMethod.DeclaringType,
1758this.syncOperation.SyncMethod.DeclaringType,
1772this.syncOperation.SyncMethod.DeclaringType,
1788this.syncOperation.SyncMethod.DeclaringType,
1819this.taskOperation.TaskMethod.DeclaringType,
1835this.taskOperation.TaskMethod.DeclaringType,
1850this.taskOperation.TaskMethod.DeclaringType,
1864this.taskOperation.TaskMethod.DeclaringType,
1880this.taskOperation.TaskMethod.DeclaringType,
1895this.taskOperation.TaskMethod.DeclaringType,
1912this.taskOperation.TaskMethod.DeclaringType,
System.Transactions (1)
System.Web (26)
System.Web.DataVisualization (1)
System.Web.DynamicData (1)
System.Web.Extensions (3)
System.Web.Services (20)
System\Web\Services\Protocols\LogicalMethodInfo.cs (10)
98throw new InvalidOperationException(Res.GetString(Res.WebMethodMissingParams, beginMethodInfo.DeclaringType.FullName, beginMethodInfo.Name,
211get { return methodInfo.DeclaringType; }
321throw new InvalidOperationException(Res.GetString(Res.ContractOverride, methodInfo.Name, methodInfo.DeclaringType.FullName, declaration.DeclaringType.FullName, declaration.ToString(), implAttributes[0].ToString()));
416throw new InvalidOperationException(Res.GetString(Res.WebBadOutParameter, paramInfo.Name, methodInfo.DeclaringType.FullName, paramInfo.Name));
439throw new InvalidOperationException(Res.GetString(Res.WebInOutParameter, paramInfo.Name, methodInfo.DeclaringType.FullName, paramInfo.Name));
534throw new InvalidOperationException(Res.GetString(Res.WebAsyncMissingEnd, beginMethodInfo.DeclaringType.FullName, beginMethodInfo.Name, endName));
555string key = methodInfo.DeclaringType.FullName + ":" + methodInfo.ToString();
573throw new InvalidOperationException(Res.GetString(Res.ContractOverride, methodInfo.Name, methodInfo.DeclaringType.FullName, declaration.DeclaringType.FullName, declaration.ToString(), o.ToString()));
System.Windows.Forms (5)
System.Windows.Forms.DataVisualization (1)
System.Workflow.Activities (40)
CorrelationValidator.cs (8)
602ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInvalid, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramName), ErrorNumbers.Error_CorrelationInvalid);
603error.UserData.Add(typeof(CorrelationParameterAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name);
609ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationTypeNotConsistent, paramPath, typeof(CorrelationAliasAttribute).Name, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramType.Name, ((Type)paramTypes[paramName]).Name, paramName, interfaceType.Name), ErrorNumbers.Error_CorrelationTypeNotConsistent);
610error.UserData.Add(typeof(CorrelationAliasAttribute), (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name);
Rules\Parser\Parser.cs (16)
291if (method.DeclaringType == thisType || IsNonPrivate(method, thisType) || (method is ExtensionMethodInfo))
301if (member.DeclaringType == thisType || IsNonPrivate((Type)member, thisType))
311if (member.DeclaringType == thisType || IsNonPrivate((FieldInfo)member, thisType))
325if (accessor.DeclaringType == thisType || IsNonPrivate(accessor, thisType))
331if (member.DeclaringType == thisType)
394if (member.DeclaringType == thisType || IsNonPrivate((Type)member, thisType))
482&& (methodInfo.DeclaringType.Assembly == thisType.Assembly);
492&& (fieldInfo.DeclaringType.Assembly == thisType.Assembly);
822if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate((FieldInfo)mi, thisType))
836if (accessor.DeclaringType == thisType || ParserContext.IsNonPrivate(accessor, thisType))
842if (mi.DeclaringType == thisType)
867if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate(method, thisType))
889if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate(miType, thisType))
895else if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate(miType, thisType))
904if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate((Type)mi, thisType))
910if (mi.DeclaringType == thisType || ParserContext.IsNonPrivate(miType, thisType))
System.Workflow.ComponentModel (27)
System.Workflow.Runtime (8)
System.WorkflowServices (7)
System.Xml (20)
System\Xml\Serialization\Mappings.cs (3)
1098throw new InvalidOperationException(Res.GetString(Res.XmlSerializableRootDupName, getSchemaMethod.DeclaringType.FullName, e.Name, elementNs));
1170throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaInclude, xsiType.Namespace, getSchemaMethod.DeclaringType.FullName, getSchemaMethod.Name));
1178throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaTypeMissing, getSchemaMethod.DeclaringType.FullName, getSchemaMethod.Name, xsiType.Name, xsiType.Namespace));
WindowsBase (5)
XamlBuildTask (2)