90 references to BaseTypes
PresentationBuildTasks (7)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
1097_ccRoot.CodeClass.BaseTypes.Add(KnownTypes.Types[(int)KnownElements.IStyleConnector].FullName); 1256_ccRoot.CodeClass.BaseTypes.Add(iComponentConnector); 2241_ccRoot.CodeClass.BaseTypes[0].TypeArguments.Add(new CodeTypeReference(_typeArgsList[i])); 2414ctdClass.BaseTypes.Add(ctrBaseClass); 2421ctdClass.BaseTypes.Add(ctrBaseClass); 2663ctdClass.BaseTypes.Add(new CodeTypeReference("System.Windows.Markup.InternalTypeHelper")); 3327_ctrElemTypeRef = codeClass.BaseTypes[0];
System (8)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2414foreach (CodeTypeReference typeRef in e.BaseTypes) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
2209if (e.BaseTypes.Count > 0) { 2211OutputType(e.BaseTypes[0]); 2237foreach (CodeTypeReference typeRef in e.BaseTypes) {
compmod\system\codedom\CodeTypeDelegate.cs (2)
41BaseTypes.Clear(); 42BaseTypes.Add(new CodeTypeReference("System.Delegate"));
compmod\system\codedom\compiler\CodeValidator.cs (2)
181ValidateTypeReferences(e.BaseTypes); 337foreach (CodeTypeReference typeRef in e.BaseTypes) {
System.Activities (3)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
712classDeclaration.BaseTypes.Add(new CodeTypeReference(typeof(ICompiledExpressionRoot))); 1764typedDataContext.BaseTypes.Add(baseTypeName); 1768typedDataContext.BaseTypes.Add(typeof(CompiledDataContext));
System.Data (6)
fx\src\data\System\Data\CodeGen\datacache.cs (6)
316dataTableClass.BaseTypes.Add(typeof(DataTable)); 317dataTableClass.BaseTypes.Add(typeof(System.Collections.IEnumerable)); 756rowClass.BaseTypes.Add(typeof(DataRow)); 759rowClass.BaseTypes.Add(strTemp); 959rowClass.BaseTypes.Add(typeof(EventArgs)); 1013dataSetClass.BaseTypes.Add(typeof(DataSet));
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
675typeDecl.BaseTypes.Add(EntityViewGenerationConstants.BaseTypeName);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
71typeDecl.BaseTypes.Add(eventArgs.BaseType); 75typeDecl.BaseTypes.Add(TypeReference.ObjectContext);
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
106typeDecl.BaseTypes.Add(new CodeTypeReference(interfaceType));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
300typeDecl.BaseTypes.Add(eventReturnedBaseType); 306typeDecl.BaseTypes.Add(baseType);
System.Data.Services.Design (5)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
66typeDecl.BaseTypes.Add(eventArgs.BaseType); 70typeDecl.BaseTypes.Add(TypeReference.ObjectContext);
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
99typeDecl.BaseTypes.Add(new CodeTypeReference(interfaceType, CodeTypeReferenceOptions.GlobalReference));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
298typeDecl.BaseTypes.Add(eventReturnedBaseType); 304typeDecl.BaseTypes.Add(baseType);
System.Management (6)
WmiGenerator.cs (6)
273cc.BaseTypes.Add(new CodeTypeReference(PrivateNamesUsed["ComponentClass"].ToString())); 3801CodeConvertorClass.BaseTypes.Add(PublicNamesUsed["TypeConverter"].ToString()); 4304ccc.BaseTypes.Add("System.Object"); 4305ccc.BaseTypes.Add("ICollection"); 4520ecc.BaseTypes.Add("System.Object"); 4521ecc.BaseTypes.Add("System.Collections.IEnumerator");
System.Runtime.Serialization (11)
System\Runtime\Serialization\CodeExporter.cs (11)
838type.BaseTypes.Add(Globals.TypeOfObject); 846type.BaseTypes.Add(baseContractCodeDomInfo.TypeReference); 1037type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.TypeOfIExtensibleDataObject)); 1057codeTypeDeclaration.BaseTypes.Add(CodeTypeIPropertyChange); 1083type.BaseTypes.Add(EnumDataContract.GetBaseType(enumDataContract.BaseContractName)); 1148type.BaseTypes.Add(Globals.TypeOfObject); 1149type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.TypeOfISerializable)); 1160type.BaseTypes.Add(baseContractCodeDomInfo.TypeReference); 1231generatedType.BaseTypes.Add(baseTypeReference); 1262type.BaseTypes.Add(Globals.TypeOfObject); 1266type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.TypeOfIXmlSerializable));
System.ServiceModel (6)
System\ServiceModel\Description\ClientClassGenerator.cs (4)
168clientType.BaseTypes.Add(new CodeTypeReference(context.ServiceContractGenerator.GetCodeTypeReference(typeof(ClientBase<>)).BaseType, context.ContractTypeReference)); 170clientType.BaseTypes.Add(new CodeTypeReference(context.ServiceContractGenerator.GetCodeTypeReference(typeof(DuplexClientBase<>)).BaseType, context.ContractTypeReference)); 172clientType.BaseTypes.Add(context.ContractTypeReference); 520argsType.BaseTypes.Add(new CodeTypeReference(asyncCompletedEventArgsType));
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
493channelType.BaseTypes.Add(context.ContractTypeReference); 494channelType.BaseTypes.Add(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IClientChannel)));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
164codeTypeDeclaration.BaseTypes.Add(new CodeTypeReference(typeof(WorkflowService)));
System.Web (12)
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)
290factoryType.BaseTypes.Add(new CodeTypeReference(baseType));
Compilation\PageCodeDomTreeGenerator.cs (4)
45_intermediateClass.BaseTypes.Add(new CodeTypeReference(typeof(IRequiresSessionState))); 48_intermediateClass.BaseTypes.Add(new CodeTypeReference(typeof(IReadOnlySessionState))); 53_sourceDataClass.BaseTypes.Add(new CodeTypeReference(typeof(IHttpAsyncHandler))); 586_sourceDataClass.BaseTypes.Add(new CodeTypeReference(typeof(IHttpHandler)));
Compilation\ProfileBuildProvider.cs (3)
111type.BaseTypes.Add(new CodeTypeReference(baseType)); 114type.BaseTypes.Add(new CodeTypeReference(ProfileBase.InheritsFromTypeString)); 261grpType.BaseTypes.Add(new CodeTypeReference(typeof(ProfileGroupBase)));
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
729factoryType.BaseTypes.Add(new CodeTypeReference("System.Web.Configuration.BrowserCapabilitiesFactoryBase"));
System.Web.Services (5)
System\Web\Services\Description\SoapHttpTransportImporter.cs (2)
20ImportContext.CodeTypeDeclaration.BaseTypes.Add(typeof(SoapHttpClientProtocol).FullName); 40ImportContext.CodeTypeDeclaration.BaseTypes.Add(typeof(WebService).FullName);
System\Web\Services\Description\WebCodeGenerator.cs (3)
209codeClass.BaseTypes.Add(baseClassName); 211codeClass.BaseTypes.Add(interfaceName); 359codeClass.BaseTypes.Add(new CodeTypeReference(typeof(AsyncCompletedEventArgs)));
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
758typeDeclaration.BaseTypes.Add(new CodeTypeReference("WorkflowWebService"));
System.Workflow.ComponentModel (5)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (5)
183foreach (CodeTypeReference codeBaseType in codeDomType.BaseTypes) 232if (declaration.BaseTypes.Count > 1) 234CodeTypeReference reference = declaration.BaseTypes[1]; //the first one would be Enum 506foreach (CodeTypeReference codeBaseType in codeDomType.BaseTypes) 537foreach (CodeTypeReference codeBaseType in codeDomType.BaseTypes)
System.Xml (6)
System\Xml\Serialization\CodeExporter.cs (4)
219codeClass.BaseTypes.Add(new CodeTypeReference(typeof(long))); 334if (codeClass.BaseTypes.Count == 0) 336codeClass.BaseTypes.Add(typeof(object)); 338codeClass.BaseTypes.Add(new CodeTypeReference(typeof(System.ComponentModel.INotifyPropertyChanged)));
System\Xml\Serialization\SoapCodeExporter.cs (1)
138codeClass.BaseTypes.Add(baseName);
System\Xml\Serialization\XmlCodeExporter.cs (1)
511codeClass.BaseTypes.Add(baseName);
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
137result.BaseTypes.Add(new CodeTypeReference(typeof(ISupportInitialize))); 189rootType.BaseTypes.Add(baseClrTypeName);