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