21 references to GetCodeTypeReference
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
168
clientType.BaseTypes.Add(new CodeTypeReference(context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(ClientBase<>)).BaseType, context.ContractTypeReference));
170
clientType.BaseTypes.Add(new CodeTypeReference(context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(DuplexClientBase<>)).BaseType, context.ContractTypeReference));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (6)
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);
993
CodeAttributeDeclaration attr = new CodeAttributeDeclaration(generator.
GetCodeTypeReference
(attributeType));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (13)
125
return
GetCodeTypeReference
(existingType);
289
beginMethod.Parameters.Add(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(AsyncCallback)), Strings.AsyncCallbackArgName));
290
beginMethod.Parameters.Add(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(object)), Strings.AsyncStateArgName));
291
beginMethod.ReturnType = _context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(IAsyncResult));
296
endMethod.Parameters.Add(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(IAsyncResult)), Strings.AsyncResultArgName));
343
CodeAttributeDeclaration serviceContractAttr = new CodeAttributeDeclaration(context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(ServiceContractAttribute)));
398
CodeAttributeDeclaration serviceOperationAttr = new CodeAttributeDeclaration(_context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(OperationContractAttribute)));
440
channelType.BaseTypes.Add(context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(IClientChannel)));
491
codeType.CustomAttributes.Add(new CodeAttributeDeclaration(_parent.
GetCodeTypeReference
(typeof(DebuggerStepThroughAttribute))));
497
CodeAttributeDeclaration generatedCodeAttribute = new CodeAttributeDeclaration(_parent.
GetCodeTypeReference
(typeof(GeneratedCodeAttribute)));
604
CodeTypeReference exceptionTypeReference = fault.DetailType != null ? context.Contract.ServiceContractGenerator.
GetCodeTypeReference
(fault.DetailType) : fault.DetailTypeReference;
607
CodeAttributeDeclaration faultContractAttr = new CodeAttributeDeclaration(context.ServiceContractGenerator.
GetCodeTypeReference
(typeof(FaultContractAttribute)));
824
CodeAttributeDeclaration attrDecl = new CodeAttributeDeclaration(context.Contract.ServiceContractGenerator.
GetCodeTypeReference
(typeof(TransactionFlowAttribute)));