33 references to TypeArguments
dotnet-svcutil-lib (33)
CodeDomFixup\CodeDomHelpers.cs (2)
146
(ignoreGenericParameters || MatchAllTypes(typeRef1.
TypeArguments
, typeRef2.
TypeArguments
));
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
29
delegateType.
TypeArguments
.Add(new CodeTypeReference(typeof(IAsyncResult)));
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
496
Enumerate(typeref.
TypeArguments
);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (3)
40
CodeTypeDeclaration serviceContractInterface = CodeDomHelpers.ResolveTypeReference(type.BaseTypes[0].
TypeArguments
[0]);
323
operationCompletedEvent.Type.
TypeArguments
.Add(typeof(AsyncCompletedEventArgs));
327
operationCompletedEvent.Type.
TypeArguments
.Add(operationCompletedEventArgsType.Name);
CodeDomFixup\ConfigToCode.cs (4)
440
if (string.Equals(baseType.BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.
TypeArguments
.Count == 1)
442
return baseType.
TypeArguments
[0].BaseType;
444
else if (string.Equals(baseType.BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.
TypeArguments
.Count == 1)
446
return baseType.
TypeArguments
[0].BaseType;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (4)
666
ValidateTypeReferences(e.
TypeArguments
);
699
if ((totalTypeArgs != e.
TypeArguments
.Count) && (e.
TypeArguments
.Count != 0))
701
throw new ArgumentException(string.Format(SRCodeDom.ArityDoesntMatch, baseType, e.
TypeArguments
.Count));
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
3768
GetTypeArgumentsOutput(typeRef.
TypeArguments
, currentTypeArgStart, numTypeArgs, sb);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (7)
122
TypeArguments
.Add(new CodeTypeReference(genericArgs[i]));
256
type.
TypeArguments
.Add((CodeTypeReference)typeArgumentList[i]);
274
TypeArguments
.Add((CodeTypeReference)typeArgumentList[i]);
293
TypeArguments
.AddRange(typeArguments);
379
if (_needsFixup &&
TypeArguments
.Count > 0)
380
returnType = returnType + '`' +
TypeArguments
.Count.ToString();
405
return _arrayElementType.
TypeArguments
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
649
typeReference.
TypeArguments
.Add(keyTypeReference);
650
typeReference.
TypeArguments
.Add(valueTypeReference);
664
typeReference.
TypeArguments
.Add(GetElementTypeReference(itemContract, isItemTypeNullable));
743
typeReference.
TypeArguments
.Add(paramTypeReference);
1015
nullableOfMemberType.
TypeArguments
.Add(memberType);
1149
baseTypeReference.
TypeArguments
.Add(GetElementTypeReference(itemContract, isItemTypeNullable));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
624
operationCompletedEvent.Type.
TypeArguments
.Add(s_asyncCompletedEventArgsType);
628
operationCompletedEvent.Type.
TypeArguments
.Add(operationCompletedEventArgsType.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
246
CodeTypeReferenceCollection xTypeArgs = x.
TypeArguments
;
247
CodeTypeReferenceCollection yTypeArgs = y.
TypeArguments
;