39 references to TypeArguments
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
2278
_ccRoot.CodeClass.BaseTypes[0].
TypeArguments
.Add(new CodeTypeReference(_typeArgsList[i]));
2351
ctrConstructedType.
TypeArguments
.Clear();
2407
ctrConstructedType.
TypeArguments
.Add(ctrTypeArg);
System.CodeDom (13)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2794
GetTypeArgumentsOutput(typeRef.
TypeArguments
, currentTypeArgStart, numTypeArgs, sb);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2501
GetTypeArgumentsOutput(typeRef.
TypeArguments
, currentTypeArgStart, numTypeArgs, sb);
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (7)
102
TypeArguments
.Add(new CodeTypeReference(genericArgs[i]));
238
type.
TypeArguments
.Add(typeArgumentList[i]);
256
TypeArguments
.Add(typeArgumentList[i]);
277
TypeArguments
.AddRange(typeArguments);
324
return _needsFixup &&
TypeArguments
.Count > 0 ?
325
$"{returnType}`{(uint)
TypeArguments
.Count}" :
343
return ArrayElementType.
TypeArguments
;
System\CodeDom\Compiler\CodeValidator.cs (4)
609
ValidateTypeReferences(e.
TypeArguments
);
642
if ((totalTypeArgs != e.
TypeArguments
.Count) && (e.
TypeArguments
.Count != 0))
644
throw new ArgumentException(SR.Format(SR.ArityDoesntMatch, baseType, e.
TypeArguments
.Count), nameof(e));
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (6)
352
codeTypeReference.
TypeArguments
.Add(paramTypeReference);
671
typeReference.
TypeArguments
.Add(keyTypeReference);
672
typeReference.
TypeArguments
.Add(valueTypeReference);
689
typeReference.
TypeArguments
.Add(GetElementTypeReference(itemContract, isItemTypeNullable)!); // Lists have an item type
1010
nullableOfMemberType.
TypeArguments
.Add(memberType);
1223
baseTypeReference.
TypeArguments
.Add(GetElementTypeReference(itemContract, isItemTypeNullable));
System.Windows.Forms.Design (17)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (11)
910
if (typeLeft.
TypeArguments
is not null && typeRight.
TypeArguments
is null)
915
if (typeLeft.
TypeArguments
is null && typeRight.
TypeArguments
is not null)
920
if (typeLeft.
TypeArguments
is not null && typeRight.
TypeArguments
is not null)
922
if (typeLeft.
TypeArguments
.Count != typeRight.
TypeArguments
.Count)
927
for (int i = 0; i < typeLeft.
TypeArguments
.Count; i++)
929
if (!TypesEqual(typeLeft.
TypeArguments
[i], typeRight.
TypeArguments
[i]))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (6)
48
if (typeref.
TypeArguments
is null || typeref.
TypeArguments
.Count == 0)
60
if (typeref.
TypeArguments
is null || typeref.
TypeArguments
.Count == 0)
79
typeName.Append($"`{typeref.
TypeArguments
.Count}");
85
foreach (CodeTypeReference childref in typeref.
TypeArguments
)