6 writes to Type
dotnet-svcutil-lib (6)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
429
Type
= new CodeTypeReference(parent.Name)
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpression.cs (3)
47
Type
= type;
56
Type
= new CodeTypeReference(type);
65
Type
= new CodeTypeReference(type);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
661
inValuesParam.
Type
= new CodeTypeReference(s_objectArrayType);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
439
paramDecl.
Type
= type;
42 references to Type
dotnet-svcutil-lib (42)
CodeDomFixup\CodeDomHelpers.cs (6)
70
CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.
Type
, parameter.Name);
105
MatchType<AsyncCallback>(method.Parameters[paramCount - 2].
Type
) &&
106
MatchType<object>(method.Parameters[paramCount - 1].
Type
) &&
115
(MatchType<IAsyncResult>(method.Parameters[paramCount - 1].
Type
) ||
116
MatchType<IAsyncResult>(method.Parameters[0].
Type
));
204
if (!MatchType(args1[i].
Type
, args2[i]))
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
369
Enumerate(expr.
Type
);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
373
property.Type = param.
Type
;
382
CodeCastExpression castExpr = new CodeCastExpression(param.
Type
, new CodeArrayIndexerExpression(resultsFieldReference, new CodePrimitiveExpression(paramIndex)));
CodeDomFixup\ConfigToCode.cs (14)
129
else if (ctor.Parameters.Count == 1 && !string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
137
else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
153
else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
207
else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
236
else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal)
237
&& string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
265
else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal) &&
266
string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal))
314
if (ctor.Parameters.Count > 0 && string.Equals(ctor.Parameters[0].
Type
.BaseType, typeof(InstanceContext).FullName))
337
else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
366
else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal)
367
&& string.Equals(ctor.Parameters[2].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal))
394
else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].
Type
.BaseType, typeof(string).FullName, StringComparison.Ordinal)
395
&& string.Equals(ctor.Parameters[2].
Type
.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal))
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (1)
1729
OutputTypeNamePair(e.
Type
, e.Name);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (1)
971
ValidateTypeReference(e.
Type
);
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
2037
OutputTypeNamePair(e.
Type
, e.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (15)
271
CodeTypeDeclaration paramTypeDecl = ServiceContractGenerator.NamespaceHelper.GetCodeType(param.
Type
);
276
helperMethod.Statements.Add(new CodeVariableDeclarationStatement(param.
Type
, inValue.VariableName, new CodeObjectCreateExpression(param.
Type
)));
282
helperMethod.Parameters.Add(new CodeParameterDeclarationExpression(param.
Type
, param.Name));
358
if (p.Direction != dir && p.
Type
.BaseType == field.Type.BaseType)
477
CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.
Type
, parameter.Name);
551
endMethod.Parameters[i].
Type
,
586
if (endMethod.Parameters[index].
Type
.BaseType != s_asyncResultTypeRef.BaseType)
671
variableDecl.Type = beginMethod.Parameters[i].
Type
;
684
beginMethod.Parameters[i].
Type
, beginMethod.Parameters[i].Name));
722
endMethod.Parameters[i].
Type
, endMethod.Parameters[i].Name));
728
endMethod.Parameters[i].
Type
, endMethod.Parameters[i].Name);
729
CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), s_getDefaultValueForInitializationMethodName, endMethod.Parameters[i].
Type
);
854
beginMethodParameter.
Type
, beginMethodParameter.Name);
901
eventAsyncMethod.Parameters[i].
Type
,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
425
bool isRef = existing != null && existing.
Type
.BaseType == type.BaseType;