82 references to Add
PresentationBuildTasks (8)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (8)
1256
_ccRoot.CodeClass.BaseTypes.
Add
(iComponentConnector);
1263
_ccRoot.InitializeComponentFn.ImplementationTypes.
Add
(iComponentConnector);
2241
_ccRoot.CodeClass.BaseTypes[0].TypeArguments.
Add
(new CodeTypeReference(_typeArgsList[i]));
2370
ctrConstructedType.TypeArguments.
Add
(ctrTypeArg);
2414
ctdClass.BaseTypes.
Add
(ctrBaseClass);
2421
ctdClass.BaseTypes.
Add
(ctrBaseClass);
2545
cmmLC.ImplementationTypes.
Add
(new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector]));
2663
ctdClass.BaseTypes.
Add
(new CodeTypeReference("System.Windows.Markup.InternalTypeHelper"));
System (8)
compmod\system\codedom\CodeTypeDelegate.cs (1)
42
BaseTypes.
Add
(new CodeTypeReference("System.Delegate"));
compmod\system\codedom\CodeTypeReference.cs (3)
110
TypeArguments.
Add
(new CodeTypeReference(genericArgs[i]));
228
type.TypeArguments.
Add
((CodeTypeReference)typeArgumentList[i]);
243
TypeArguments.
Add
((CodeTypeReference)typeArgumentList[i]);
compmod\system\codedom\CodeTypeReferenceCollection.cs (4)
77
Add
(new CodeTypeReference(value));
84
Add
(new CodeTypeReference(value));
95
this.
Add
(value[i]);
110
this.
Add
(value[i]);
System.Activities (6)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (6)
712
classDeclaration.BaseTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
723
languageProperty.ImplementationTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
812
getLocationsMethod.ImplementationTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
887
getExpressionTreeForExpressionMethod.ImplementationTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
928
invokeExpressionMethod.ImplementationTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
1274
isValidMethod.ImplementationTypes.
Add
(new CodeTypeReference(typeof(ICompiledExpressionRoot)));
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
537
getEnumerator.ImplementationTypes.
Add
(Type("System.Collections.IEnumerable"));
System.Data.Entity.Design (11)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
71
typeDecl.BaseTypes.
Add
(eventArgs.BaseType);
75
typeDecl.BaseTypes.
Add
(TypeReference.ObjectContext);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
186
initReferenceMethod.TypeArguments.
Add
(Generator.GetLeastPossibleQualifiedTypeReference(GetEntityType(target)));
233
initCollectionMethod.TypeArguments.
Add
(Generator.GetLeastPossibleQualifiedTypeReference(GetEntityType(target)));
352
getMethod.TypeArguments.
Add
(Generator.GetLeastPossibleQualifiedTypeReference(GetEntityType(target)));
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
106
typeDecl.BaseTypes.
Add
(new CodeTypeReference(interfaceType));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
300
typeDecl.BaseTypes.
Add
(eventReturnedBaseType);
306
typeDecl.BaseTypes.
Add
(baseType);
System\Data\EntityModel\Emitters\TypeReference.cs (3)
90
typeRef.TypeArguments.
Add
(argument);
211
typeRef.TypeArguments.
Add
(typeParameter);
230
typeRef.TypeArguments.
Add
(ForType(innerType));
System.Data.Services.Design (7)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
66
typeDecl.BaseTypes.
Add
(eventArgs.BaseType);
70
typeDecl.BaseTypes.
Add
(TypeReference.ObjectContext);
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
99
typeDecl.BaseTypes.
Add
(new CodeTypeReference(interfaceType, CodeTypeReferenceOptions.GlobalReference));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
298
typeDecl.BaseTypes.
Add
(eventReturnedBaseType);
304
typeDecl.BaseTypes.
Add
(baseType);
System\Data\EntityModel\Emitters\TypeReference.cs (2)
174
typeRef.TypeArguments.
Add
(typeParameter);
193
typeRef.TypeArguments.
Add
(ForType(innerType));
System.Management (1)
WmiGenerator.cs (1)
273
cc.BaseTypes.
Add
(new CodeTypeReference(PrivateNamesUsed["ComponentClass"].ToString()));
System.Runtime.Serialization (10)
System\Runtime\Serialization\CodeExporter.cs (10)
651
typeReference.TypeArguments.
Add
(keyTypeReference);
652
typeReference.TypeArguments.
Add
(valueTypeReference);
666
typeReference.TypeArguments.
Add
(GetElementTypeReference(itemContract, isItemTypeNullable));
745
typeReference.TypeArguments.
Add
(paramTypeReference);
846
type.BaseTypes.
Add
(baseContractCodeDomInfo.TypeReference);
1028
nullableOfMemberType.TypeArguments.
Add
(memberType);
1057
codeTypeDeclaration.BaseTypes.
Add
(CodeTypeIPropertyChange);
1160
type.BaseTypes.
Add
(baseContractCodeDomInfo.TypeReference);
1217
baseTypeReference.TypeArguments.
Add
(GetElementTypeReference(itemContract, isItemTypeNullable));
1231
generatedType.BaseTypes.
Add
(baseTypeReference);
System.ServiceModel (7)
System\ServiceModel\Description\ClientClassGenerator.cs (5)
168
clientType.BaseTypes.
Add
(new CodeTypeReference(context.ServiceContractGenerator.GetCodeTypeReference(typeof(ClientBase<>)).BaseType, context.ContractTypeReference));
170
clientType.BaseTypes.
Add
(new CodeTypeReference(context.ServiceContractGenerator.GetCodeTypeReference(typeof(DuplexClientBase<>)).BaseType, context.ContractTypeReference));
172
clientType.BaseTypes.
Add
(context.ContractTypeReference);
473
m.ImplementationTypes.
Add
(ifaceType);
520
argsType.BaseTypes.
Add
(new CodeTypeReference(asyncCompletedEventArgsType));
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
493
channelType.BaseTypes.
Add
(context.ContractTypeReference);
494
channelType.BaseTypes.
Add
(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IClientChannel)));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
164
codeTypeDeclaration.BaseTypes.
Add
(new CodeTypeReference(typeof(WorkflowService)));
System.Web (14)
Compilation\BaseCodeDomTreeGenerator.cs (3)
275
_sourceDataClass.BaseTypes.
Add
(CodeDomUtility.BuildGlobalCodeTypeReference(
286
_intermediateClass.BaseTypes.
Add
(CodeDomUtility.BuildGlobalCodeTypeReference(Parser.BaseType));
423
_intermediateClass.BaseTypes.
Add
(new CodeTypeReference(t));
Compilation\BrowserCapabilitiesCompiler.cs (1)
290
factoryType.BaseTypes.
Add
(new CodeTypeReference(baseType));
Compilation\PageCodeDomTreeGenerator.cs (6)
45
_intermediateClass.BaseTypes.
Add
(new CodeTypeReference(typeof(IRequiresSessionState)));
48
_intermediateClass.BaseTypes.
Add
(new CodeTypeReference(typeof(IReadOnlySessionState)));
53
_sourceDataClass.BaseTypes.
Add
(new CodeTypeReference(typeof(IHttpAsyncHandler)));
459
method.ImplementationTypes.
Add
(new CodeTypeReference(typeof(IHttpAsyncHandler)));
517
method.ImplementationTypes.
Add
(new CodeTypeReference(typeof(IHttpAsyncHandler)));
586
_sourceDataClass.BaseTypes.
Add
(new CodeTypeReference(typeof(IHttpHandler)));
Compilation\ProfileBuildProvider.cs (3)
111
type.BaseTypes.
Add
(new CodeTypeReference(baseType));
114
type.BaseTypes.
Add
(new CodeTypeReference(ProfileBase.InheritsFromTypeString));
261
grpType.BaseTypes.
Add
(new CodeTypeReference(typeof(ProfileGroupBase)));
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
729
factoryType.BaseTypes.
Add
(new CodeTypeReference("System.Web.Configuration.BrowserCapabilitiesFactoryBase"));
System.Web.Services (1)
System\Web\Services\Description\WebCodeGenerator.cs (1)
359
codeClass.BaseTypes.
Add
(new CodeTypeReference(typeof(AsyncCompletedEventArgs)));
System.Workflow.Activities (3)
Rules\Expressions.cs (2)
1694
newReference.TypeArguments.
Add
(TypeReferenceExpression.CloneType(typeReference));
1945
newType.TypeArguments.
Add
(CloneType(typeReference));
WebServiceReceive.cs (1)
758
typeDeclaration.BaseTypes.
Add
(new CodeTypeReference("WorkflowWebService"));
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (2)
219
codeClass.BaseTypes.
Add
(new CodeTypeReference(typeof(long)));
338
codeClass.BaseTypes.
Add
(new CodeTypeReference(typeof(System.ComponentModel.INotifyPropertyChanged)));
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
137
result.BaseTypes.
Add
(new CodeTypeReference(typeof(ISupportInitialize)));
992
codeTypeReference.TypeArguments.
Add
(argumentCodeTypeReference);