2 writes to BaseType
System.Workflow.Activities (2)
Rules\Expressions.cs (1)
1943
newType.
BaseType
= oldType.BaseType;
Rules\RuleValidation.cs (1)
3731
arg.
BaseType
= arg.BaseType.Substring(1, arg.BaseType.Length - 2);
109 references to BaseType
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2327
ThrowCompilerException(SRID.ContainingTagNotGeneric, eventName, ctrConstructedType.
BaseType
, refTypeFullName);
2359
ctrConstructedType.
BaseType
,
System (13)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
3195
string s = typeRef.
BaseType
;
3260
string baseType = typeRef.
BaseType
;
compmod\microsoft\visualbasic\VBCodeProvider.cs (7)
1864
if (e.ReturnType.
BaseType
.Length == 0 || string.Compare(e.ReturnType.
BaseType
, typeof(void).FullName, StringComparison.OrdinalIgnoreCase) == 0) {
2186
if (del.ReturnType.
BaseType
.Length > 0 && string.Compare(del.ReturnType.
BaseType
, "System.Void", StringComparison.OrdinalIgnoreCase) != 0)
2194
if (del.ReturnType.
BaseType
.Length > 0 && string.Compare(del.ReturnType.
BaseType
, "System.Void", StringComparison.OrdinalIgnoreCase) != 0) {
2627
string baseType = typeRef.
BaseType
;
compmod\system\codedom\CodeAttributeDeclaration.cs (1)
68
this.name = attributeType.
BaseType
;
compmod\system\codedom\CodeTypeReference.cs (1)
327
return arrayElementType.
BaseType
;
compmod\system\codedom\compiler\CodeValidator.cs (2)
535
String baseType = e.
BaseType
;
549
string baseType = e.
BaseType
;
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
734
if (eventArgs.BaseType != null && !String.IsNullOrEmpty(eventArgs.BaseType.
BaseType
))
736
if (this.GetSourceTypes().Where(x => x.BuiltInTypeKind == BuiltInTypeKind.EntityType).Where(x => ((EntityType)x).Name == eventArgs.BaseType.
BaseType
).Count() != 0)
System.Management (21)
WmiGenerator.cs (21)
1246
if((cmp.Type.ArrayRank == 0 && cmp.Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
) ||
1247
cmp.Type.ArrayRank > 0 && cmp.Type.ArrayElementType .
BaseType
== new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
)
2093
strType = ((CodeTypeReference)arrKeyType[i]).
BaseType
;
2113
if (((CodeTypeReference)arrKeyType[i]).
BaseType
== "System.String")
2129
cmie.Method.TargetObject = new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
+ " "),new CodeVariableReferenceExpression("key"+arrKeys[i]));
2204
cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
);
2211
if(cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
2263
cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
);
2270
if(cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
3029
cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(new CodeTypeReference(cpde.Type.
BaseType
+ " "),
3246
if (retRefType.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
3258
if (retRefType.
BaseType
== "System.DateTime")
3270
if (retRefType.
BaseType
== "System.TimeSpan")
3290
if(retRefType.ArrayRank == 0 && retRefType.
BaseType
!= new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
)
6130
string strEnumName = cmProp.Type.
BaseType
;
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (1)
503
contractCodeDomInfo.TypeReference = new CodeTypeReference(containingContractCodeDomInfo.TypeReference.
BaseType
+ "+" + nestedTypeName);
System\Runtime\Serialization\ContractCodeDomInfo.cs (2)
30
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetNamespaceForReferencedType, TypeReference.
BaseType
)));
39
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotSetMembersForReferencedType, TypeReference.
BaseType
)));
System\Runtime\Serialization\DataContract.cs (1)
1874
string fullTypeName = typeReference.
BaseType
;
System.ServiceModel (35)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (2)
20
if (attribute.AttributeType.
BaseType
== refT.
BaseType
)
System\ServiceModel\Description\ClientClassGenerator.cs (17)
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));
286
if (method.ReturnType.
BaseType
== voidTypeRef.
BaseType
)
330
if (param == null && dir == FieldDirection.Out && helperMethod.ReturnType.
BaseType
== voidTypeRef.
BaseType
)
358
if (p.Direction != dir && p.Type.
BaseType
== field.Type.
BaseType
)
513
if ((endMethod.Parameters.Count == 1) && (endMethod.ReturnType.
BaseType
== voidTypeRef.
BaseType
))
558
if (endMethod.ReturnType.
BaseType
!= voidTypeRef.
BaseType
)
587
if (endMethod.Parameters[index].Type.
BaseType
!= asyncResultTypeRef.
BaseType
)
741
if (endMethod.ReturnType.
BaseType
!= voidTypeRef.
BaseType
)
996
return method.ReturnType == null || String.Compare(method.ReturnType.
BaseType
, typeof(void).FullName, StringComparison.Ordinal) == 0;
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (4)
189
if (attr.AttributeType.
BaseType
== dataContractAttributeTypeRef.
BaseType
)
245
if (x == null || y == null || x.ArrayRank != y.ArrayRank || x.
BaseType
!= y.
BaseType
)
System\ServiceModel\Description\MessageContractImporter.cs (5)
1687
return typeRef.
BaseType
;
1689
return typeRef.
BaseType
+ "[]";
1747
return typeRef.
BaseType
;
1749
return typeRef.
BaseType
+ "[]";
1757
return typeRef.
BaseType
== typeof(Nullable<>).FullName;
System\ServiceModel\Description\OperationGenerator.cs (5)
427
bool isRef = existing != null && existing.Type.
BaseType
== type.
BaseType
;
761
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SfxUseTypedMessageForCustomAttributes, setting.Name, localAttributes[0].AttributeType.
BaseType
)));
963
if (resultType.
BaseType
== ServiceReflector.VoidType.FullName)
969
taskReturnType = new CodeTypeReference(this.Context.ServiceContractGenerator.GetCodeTypeReference(ServiceReflector.taskTResultType).
BaseType
, resultType);
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
158
typeName = retVal.
BaseType
;
410
serviceContractAttr.Arguments.Add(new CodeAttributeArgument("ConfigurationName", new CodePrimitiveExpression(NamespaceHelper.GetCodeTypeReference(context.Namespace, context.ContractType).
BaseType
)));
System.Web (1)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
172
if(attr.AttributeType?.
BaseType
== optionalAttributeTypeName) {
System.Web.Extensions (2)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (2)
656
string baseType = typeReference.
BaseType
;
1687
if (String.Equals(codeAttribute.AttributeType.
BaseType
, typeof(System.ServiceModel.ServiceContractAttribute).FullName, StringComparison.Ordinal))
System.Workflow.Activities (17)
Common\CompModHelpers.cs (3)
699
if (!typeLeft.
BaseType
.Equals(typeRight.FullName)) return false;
710
if (!typeLeft.
BaseType
.Equals(typeRight.
BaseType
)) return false;
Common\DelegateTypeInfo.cs (4)
124
if (ReturnType.
BaseType
!= dtiOther.ReturnType.
BaseType
|| Parameters.Length != dtiOther.Parameters.Length)
130
if (otherParam.Type.
BaseType
!= Parameters[parameter].Type.
BaseType
)
Rules\CodeDomDecompiler.cs (1)
237
string baseType = UnmangleTypeName(typeRef.
BaseType
);
Rules\Expressions.cs (3)
1943
newType.BaseType = oldType.
BaseType
;
1961
if (typeRef1.
BaseType
!= typeRef2.
BaseType
)
Rules\RuleValidation.cs (6)
3700
resultType = FindType(typeRef.
BaseType
);
3713
message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownType, typeRef.
BaseType
);
3730
if (arg.
BaseType
.StartsWith("[", StringComparison.Ordinal))
3731
arg.BaseType = arg.
BaseType
.Substring(1, arg.
BaseType
.Length - 2);
3741
StringBuilder sb = new StringBuilder(typeRef.
BaseType
);
System.Workflow.ComponentModel (12)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
922
resolvedType = declaringType.ResolveType(codeTypeReference.
BaseType
);
926
typeName.Append(codeTypeReference.
BaseType
);
930
if (codeTypeReference.
BaseType
.IndexOf('`') == -1)
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
324
CodeParameterDeclarationExpression valueParameter = new CodeParameterDeclarationExpression(this.property.CodeMemberProperty.Type.
BaseType
, "value");
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
129
result = new StringBuilder(reference.
BaseType
);
Shared\CompModHelpers.cs (3)
697
if (!typeLeft.
BaseType
.Equals(typeRight.FullName)) return false;
708
if (!typeLeft.
BaseType
.Equals(typeRight.
BaseType
)) return false;
Shared\DelegateTypeInfo.cs (4)
123
if (ReturnType.
BaseType
!= dtiOther.ReturnType.
BaseType
|| Parameters.Length != dtiOther.Parameters.Length)
129
if (otherParam.Type.
BaseType
!= Parameters[parameter].Type.
BaseType
)