2 writes to declaration
System.Web.Services (2)
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
72
this.
declaration
= webMethod.declaration;
92
this.
declaration
= webMethod.declaration;
12 references to declaration
System.Web.Services (12)
System\Web\Services\Protocols\LogicalMethodInfo.cs (12)
75
MethodInfo methodDefinition =
declaration
!= null ?
declaration
: methodInfo;
203
get { return
declaration
; }
306
if (
declaration
!= null) {
307
object[] declAttributes =
declaration
.GetCustomAttributes(type, false);
321
throw new InvalidOperationException(Res.GetString(Res.ContractOverride, methodInfo.Name, methodInfo.DeclaringType.FullName,
declaration
.DeclaringType.FullName,
declaration
.ToString(), implAttributes[0].ToString()));
375
if (
declaration
!= null)
376
return
declaration
.ReturnTypeCustomAttributes;
565
if (
declaration
== null)
573
throw new InvalidOperationException(Res.GetString(Res.ContractOverride, methodInfo.Name, methodInfo.DeclaringType.FullName,
declaration
.DeclaringType.FullName,
declaration
.ToString(), o.ToString()));