14 references to SyncMethod
dotnet-svcutil-lib (14)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (3)
208GenerateClientClassMethod(clientType, contractTypeRef, operationContext.SyncMethod, _tryAddHelperMethod, declaringContractTypeRef); 217GenerateEventAsyncMethods(context, clientType, operationContext.SyncMethod.Name, beginMethod, endMethod); 424if (String.Compare(operationContext.SyncMethod.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
83context.SyncMethod.CustomAttributes.Add(OperationGenerator.GenerateAttributeDeclaration(context.Contract.ServiceContractGenerator, dataContractFormatAttribute)); 113context.SyncMethod.CustomAttributes.Add(knownTypeAttribute);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
150_method = _context.SyncMethod; 151_endMethod = _context.SyncMethod; 950_defaultName = _context.SyncMethod.Name;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
382if (context.SyncMethod != null) 384context.SyncMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.Operation, false)); 593CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod; 817CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
148context.SyncMethod.CustomAttributes.Add(OperationGenerator.GenerateAttributeDeclaration(context.Contract.ServiceContractGenerator, xmlSerializerFormatAttribute)); 149AddKnownTypes(context.SyncMethod.CustomAttributes, xmlSerializerFormatAttribute.IsEncoded ? SoapExporter.IncludeMetadata : XmlExporter.IncludeMetadata);