49 references to BaseTypes
dotnet-svcutil-lib (49)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (5)
142classToGen.BaseTypes.Add(new CodeTypeReference(typeof(Object))); 143classToGen.BaseTypes.Add(new CodeTypeReference(typeof(Microsoft.Xml.Serialization.IXmlSerializable))); 193getSchemaMethod.ImplementationTypes.Add(classToGen.BaseTypes[1]); 210writeXml.ImplementationTypes.Add(classToGen.BaseTypes[1]); 241readXml.ImplementationTypes.Add(classToGen.BaseTypes[1]);
CodeDomFixup\CodeDomVisitors\ClientClassVisitor.cs (3)
22type.BaseTypes.Count == 2 && 23(CodeDomHelpers.MatchGenericBaseType(type.BaseTypes[0], typeof(ClientBase<>)) || 24CodeDomHelpers.MatchGenericBaseType(type.BaseTypes[0], typeof(DuplexClientBase<>)));
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
457Enumerate(type.BaseTypes);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (7)
34CodeDomHelpers.MatchGenericBaseType(type.BaseTypes[0], typeof(DuplexClientBase<>)); 40CodeTypeDeclaration serviceContractInterface = CodeDomHelpers.ResolveTypeReference(type.BaseTypes[0].TypeArguments[0]); 51_eventBasedDuplexClass.BaseTypes.Add(type.Name); 343evtArg.BaseTypes.Add(new CodeTypeReference(typeof(AsyncCompletedEventArgs))); 399callbackImpl.BaseTypes.Add(new CodeTypeReference(typeof(object))); 400callbackImpl.BaseTypes.Add(new CodeTypeReference(callbackInterface.Name)); 453CodeMemberMethod m = CodeDomHelpers.GetImplementationOfMethod(callbackImpl.BaseTypes[1], method);
CodeDomFixup\CodeDomVisitors\RemoveExtensibleDataObjectImpl.cs (1)
18type.BaseTypes,
CodeDomFixup\CodeDomVisitors\SpecialIXmlSerializableRemapper.cs (1)
73foreach (CodeTypeReference typeRef in typeDecl.BaseTypes)
CodeDomFixup\ConfigToCode.cs (6)
101if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal)) 105else if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal)) 438foreach (CodeTypeReference baseType in clientType.BaseTypes) 457if (type.BaseTypes.Count > 0 && string.Equals(clientTypeName, type.BaseTypes[0].BaseType, StringComparison.Ordinal)) 468foreach (CodeTypeReference baseType in codeDecl.BaseTypes)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (2)
221ValidateTypeReferences(e.BaseTypes); 413foreach (CodeTypeReference typeRef in e.BaseTypes)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
2740foreach (CodeTypeReference typeRef in e.BaseTypes)
FrameworkFork\Microsoft.CodeDom\System\CodeTypeDelegate.cs (2)
38BaseTypes.Clear(); 39BaseTypes.Add(new CodeTypeReference("System.Delegate"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (4)
247codeClass.BaseTypes.Add(new CodeTypeReference(typeof(long))); 387if (codeClass.BaseTypes.Count == 0) 389codeClass.BaseTypes.Add(typeof(object)); 391codeClass.BaseTypes.Add(new CodeTypeReference(typeof(System.ComponentModel.INotifyPropertyChanged)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (1)
143codeClass.BaseTypes.Add(baseName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
587codeClass.BaseTypes.Add(baseName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (8)
831type.BaseTypes.Add(Globals.TypeOfObject); 839type.BaseTypes.Add(baseContractCodeDomInfo.TypeReference); 1024type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.TypeOfIExtensibleDataObject)); 1040codeTypeDeclaration.BaseTypes.Add(CodeTypeIPropertyChange); 1066type.BaseTypes.Add(EnumDataContract.GetBaseType(enumDataContract.BaseContractName)); 1163generatedType.BaseTypes.Add(baseTypeReference); 1194type.BaseTypes.Add(Globals.TypeOfObject); 1198type.BaseTypes.Add(DataContract.GetClrTypeFullName(Globals.TypeOfIXmlSerializable));
FrameworkFork\System.ServiceModel\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(s_asyncCompletedEventArgsType));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (2)
439channelType.BaseTypes.Add(context.ContractTypeReference); 440channelType.BaseTypes.Add(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IClientChannel)));