55 references to CodeTypeReference
dotnet-svcutil-lib (55)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (4)
37
s_arrayOfXElementRef = new
CodeTypeReference
(GetUniqueClassName(targetNamespace));
125
typeRefArgs[i] = new
CodeTypeReference
(typeArguments[i]);
261
new
CodeTypeReference
(xelementType), "elem",
262
new CodeObjectCreateExpression(new
CodeTypeReference
(xelementType), new CodePrimitiveExpression("default")));
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (9)
112
ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new
CodeTypeReference
(callbackImpl.Name)));
123
ctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(callbackImpl.Name), "callbackImpl"));
147
ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new
CodeTypeReference
(callbackImpl.Name)));
160
ctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(callbackImpl.Name), "callbackImpl"));
186
ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new
CodeTypeReference
(callbackImpl.Name)));
195
ctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(callbackImpl.Name), "callbackImpl"));
400
callbackImpl.BaseTypes.Add(new
CodeTypeReference
(callbackInterface.Name));
414
Type = new
CodeTypeReference
(parent.Name)
429
Type = new
CodeTypeReference
(parent.Name)
FrameworkFork\Microsoft.CodeDom\System\CodeArrayCreateExpression.cs (4)
55
_createType = new
CodeTypeReference
(createType);
85
_createType = new
CodeTypeReference
(createType);
115
_createType = new
CodeTypeReference
(createType);
140
_createType = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeAttributeDeclaration.cs (1)
93
_attributeType = new
CodeTypeReference
(_name);
FrameworkFork\Microsoft.CodeDom\System\CodeCastExpression.cs (2)
55
TargetType = new
CodeTypeReference
(targetType);
79
_targetType = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeDefaultValueExpression.cs (1)
37
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeDelegateCreateExpression.cs (1)
61
_delegateType = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeMemberEvent.cs (1)
47
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeMemberField.cs (2)
54
Type = new
CodeTypeReference
(type);
78
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeMemberMethod.cs (1)
72
_returnType = new
CodeTypeReference
(typeof(void).FullName);
FrameworkFork\Microsoft.CodeDom\System\CodeMemberProperty.cs (1)
73
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeObjectCreateExpression.cs (2)
54
CreateType = new
CodeTypeReference
(createType);
78
_createType = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (2)
56
Type = new
CodeTypeReference
(type);
120
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDelegate.cs (2)
39
BaseTypes.Add(new
CodeTypeReference
("System.Delegate"));
63
_returnType = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeOfExpression.cs (2)
51
Type = new
CodeTypeReference
(type);
73
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (4)
238
typeArgumentList.Add(new
CodeTypeReference
(name));
289
public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) :
this
(typeName)
298
this
((typeParameter == null) ? (string)null : typeParameter.Name)
310
_arrayElementType = new
CodeTypeReference
(baseType);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceCollection.cs (1)
82
Add(new
CodeTypeReference
(value));
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReferenceExpression.cs (2)
51
Type = new
CodeTypeReference
(type);
73
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.CodeDom\System\CodeVariableDeclarationStatement.cs (3)
54
Type = new
CodeTypeReference
(type);
85
Type = new
CodeTypeReference
(type);
145
_type = new
CodeTypeReference
("");
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
348
prop.Type = new
CodeTypeReference
(typeName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
447
CodeGenerator.ValidateIdentifiers(new
CodeTypeReference
(typeName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
446
contractCodeDomInfo.TypeReference = new
CodeTypeReference
((clrNamespace == null || clrNamespace.Length == 0) ? typeName : clrNamespace + "." + typeName);
498
contractCodeDomInfo.TypeReference = new
CodeTypeReference
(containingContractCodeDomInfo.TypeReference.BaseType + "+" + nestedTypeName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
643
beginOperationDelegate.Type = new
CodeTypeReference
(s_beginOperationDelegateTypeName);
698
endOperationDelegate.Type = new
CodeTypeReference
(s_endOperationDelegateTypeName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
2018
return new
CodeTypeReference
(_xmlSerializerOperationGenerator.GetTypeName(membersMapping[0]));
2039
return new
CodeTypeReference
(_xmlSerializerOperationGenerator.GetTypeName(membersMapping[0]));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
765
CodeTypeReference codeTypeReference = new
CodeTypeReference
(String.IsNullOrEmpty(codeNamespace.Name) ? codeType.Name : codeNamespace.Name + '.' + codeType.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
201
_operationGenerator.ParameterTypes.Add(part, new
CodeTypeReference
(part.BaseType));