14 references to SyncMethod
System.ServiceModel (14)
System\ServiceModel\Description\ClientClassGenerator.cs (3)
208GenerateClientClassMethod(clientType, contractTypeRef, operationContext.SyncMethod, this.tryAddHelperMethod, declaringContractTypeRef); 217GenerateEventAsyncMethods(context, clientType, operationContext.SyncMethod.Name, beginMethod, endMethod); 424if (String.Compare(operationContext.SyncMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
83context.SyncMethod.CustomAttributes.Add(OperationGenerator.GenerateAttributeDeclaration(context.Contract.ServiceContractGenerator, dataContractFormatAttribute)); 113context.SyncMethod.CustomAttributes.Add(knownTypeAttribute);
System\ServiceModel\Description\OperationGenerator.cs (3)
150this.Method = this.Context.SyncMethod; 151this.EndMethod = this.Context.SyncMethod; 958this.DefaultName = this.Context.SyncMethod.Name;
System\ServiceModel\Description\ServiceContractGenerator.cs (4)
436if (context.SyncMethod != null) 438context.SyncMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.Operation, false)); 647CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod; 871CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
147context.SyncMethod.CustomAttributes.Add(OperationGenerator.GenerateAttributeDeclaration(context.Contract.ServiceContractGenerator, xmlSerializerFormatAttribute)); 148AddKnownTypes(context.SyncMethod.CustomAttributes, xmlSerializerFormatAttribute.IsEncoded ? SoapExporter.IncludeMetadata : XmlExporter.IncludeMetadata);