20 references to DeclaringType
System.Web.Services (20)
System\Web\Services\Description\SoapProtocolReflector.cs (2)
137
throw new InvalidOperationException(Res.GetString(Res.BPConformanceHeaderFault, soapMethod.methodInfo.ToString(), soapMethod.methodInfo.
DeclaringType
.FullName, "Direction", typeof(SoapHeaderDirection).Name, SoapHeaderDirection.Fault.ToString()));
198
throw new InvalidOperationException(Res.GetString(Res.WsdlGenRpcLitAnonimousType, Method.
DeclaringType
.Name, Method.Name, member.MemberName));
System\Web\Services\Protocols\HttpClientProtocol.cs (1)
54
throw new InvalidOperationException(Res.GetString(Res.WebReflectionError, methodInfo.
DeclaringType
.FullName, methodInfo.Name), e);
System\Web\Services\Protocols\SoapReflector.cs (12)
172
importer.IncludeTypes(method.
DeclaringType
);
239
object serviceAttr = GetSoapServiceAttribute(methodInfo.
DeclaringType
);
452
Type declaringType = methodInfo.
DeclaringType
;
460
throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderMissing);
466
throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderType);
468
if (MemberHelper.IsStatic(soapHeader.memberInfo)) throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderStatic);
469
if (!MemberHelper.CanRead(soapHeader.memberInfo)) throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderRead);
470
if (!MemberHelper.CanWrite(soapHeader.memberInfo)) throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderWrite);
471
if (!typeof(SoapHeader).IsAssignableFrom(soapHeader.headerType)) throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderType);
474
if (soapMethod.oneWay && (direction & (SoapHeaderDirection.Out | SoapHeaderDirection.Fault)) != 0) throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebHeaderOneWayOut);
478
throw HeaderException(headerAttribute.MemberName, methodInfo.
DeclaringType
, Res.WebMultiplyDeclaredHeaderTypes);
525
throw new InvalidOperationException(Res.GetString(Res.WebReflectionErrorMethod, methodInfo.
DeclaringType
.Name, methodInfo.Name), e);
System\Web\Services\Protocols\XmlReturnReader.cs (1)
46
Evidence evidence = GetEvidenceForType(methodInfos[0].
DeclaringType
);
System\Web\Services\WebMethodAttribute.cs (1)
334
importer.IncludeTypes(method.
DeclaringType
);
System\Web\Services\WebServiceAttribute.cs (2)
96
Type mostDerived = methodInfos[0].
DeclaringType
;
98
Type derived = methodInfos[i].
DeclaringType
;
System\Web\Services\WebServiceBindingAttribute.cs (1)
124
Type type = methodInfo.
DeclaringType
;