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