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