10 references to ServiceContractGenerator
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
121
CodeCompileUnit targetCompileUnit = context.
ServiceContractGenerator
.TargetCompileUnit;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (7)
130
_messageContractType = context.
ServiceContractGenerator
.OptionsInternal.IsSet(ServiceContractGenerationOptions.TypedMessages) ? MessageContractType.WrappedMessageContract : MessageContractType.None;
279
CodeNamespace ns = _context.
ServiceContractGenerator
.NamespaceManager.EnsureNamespace(_contractNS);
380
_method.Parameters.Insert(0, new CodeParameterDeclarationExpression(_context.
ServiceContractGenerator
.GetCodeTypeReference((typeof(Message))), "request"));
382
_endMethod.ReturnType = _context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(Message));
688
type = _context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(byte[]));
740
return _context.
ServiceContractGenerator
.GetCodeTypeReference(setting.Type);
961
taskReturnType = new CodeTypeReference(_context.
ServiceContractGenerator
.GetCodeTypeReference(ServiceReflector.taskTResultType).BaseType, resultType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
607
CodeAttributeDeclaration faultContractAttr = new CodeAttributeDeclaration(context.
ServiceContractGenerator
.GetCodeTypeReference(typeof(FaultContractAttribute)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
146
context.
ServiceContractGenerator
.AddReferencedAssembly(typeof(Microsoft.Xml.Serialization.XmlTypeAttribute).GetTypeInfo().Assembly);