1 write to Name
System.Web.Services (1)
System\Web\Services\WebMethodAttribute.cs (1)
291binding.Name = declaration.DeclaringType.Name;
15 references to Name
System.Web.Services (15)
System\Web\Services\Description\ProtocolReflector.cs (4)
289bindings[reflectedBinding.bindingAttr.Name] = method; 310if (bindings[bindingAttribute.Name] != null) 327if (bindings[bindingAttribute.Name] != null) 362string bindingName = XmlConvert.EncodeLocalName(reflectedBinding.bindingAttr.Name);
System\Web\Services\Description\ServiceDescriptionReflector.cs (1)
224string key = method.Binding == null ? messageName : method.Binding.Name + "." + messageName;
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
204if (clientType.Binding.Name == soapBinding.Binding.Name && 211throw new InvalidOperationException(Res.GetString(Res.TheBindingNamedFromNamespaceWasNotFoundIn3, clientType.Binding.Name, clientType.Binding.Namespace, Url));
System\Web\Services\Protocols\SoapReflector.cs (3)
225if (binding.Length > 0 && binding != method.Binding.Name) { 226throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, method.Binding.Name)); 228return method.Binding.Name;
System\Web\Services\WebMethodAttribute.cs (2)
290if (binding.Name == null || binding.Name.Length == 0) {
System\Web\Services\WebServiceBindingAttribute.cs (3)
120if (binding.Length > 0 && methodInfo.Binding.Name != binding) 121throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, methodInfo.Binding.Name)); 128if (attr.Name == binding) {