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