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