36 references to BaseType
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2364ThrowCompilerException(nameof(SR.ContainingTagNotGeneric), eventName, ctrConstructedType.BaseType, refTypeFullName); 2396ctrConstructedType.BaseType,
System.CodeDom (14)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
2712string s = typeRef.BaseType; 2768string baseType = typeRef.BaseType;
Microsoft\VisualBasic\VBCodeGenerator.cs (7)
1608if (e.ReturnType.BaseType.Length == 0 || string.Equals(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase)) 1953if (del.ReturnType.BaseType.Length > 0 && !string.Equals(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase)) 1961if (del.ReturnType.BaseType.Length > 0 && !string.Equals(del.ReturnType.BaseType, "System.Void", StringComparison.OrdinalIgnoreCase)) 2423string baseType = typeRef.BaseType;
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
315return ArrayElementType.BaseType;
System\CodeDom\CodeAttributeDeclaration.cs (1)
32_name = attributeType.BaseType;
System\CodeDom\Compiler\CodeValidator.cs (3)
607ValidateTypeName(e, nameof(e.BaseType), e.BaseType); 623string baseType = e.BaseType;
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
505contractCodeDomInfo.TypeReference = new CodeTypeReference(containingContractCodeDomInfo.TypeReference!.BaseType + "+" + nestedTypeName); // Again, nested types by definition have containing types.
System\Runtime\Serialization\Schema\ContractCodeDomInfo.cs (2)
29throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.CannotSetNamespaceForReferencedType, TypeReference?.BaseType))); 50throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.CannotSetMembersForReferencedType, TypeReference?.BaseType)));
System.Windows.Forms.Design (14)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
288typeName = codeVariableDeclaration.Type.BaseType;
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (4)
241failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotFound, typeDeclaration.Name, typeReference.BaseType)); 864&& field.Type.BaseType.Equals(TypeDescriptor.GetClassName(component))) 905if (!typeLeft.BaseType.Equals(typeRight.BaseType))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (7)
50return typeref.BaseType; 62Type? t = manager.GetType(typeref.BaseType); 71typeName.Append(typeref.BaseType); 77if (!typeref.BaseType.Contains('`')) 765Error(manager, string.Format(SR.SerializerTypeNotFound, objectCreateEx.CreateType.BaseType), SR.SerializerTypeNotFound); 1009Error(manager, string.Format(SR.SerializerTypeNotFound, arrayCreateEx.CreateType.BaseType), SR.SerializerTypeNotFound); 2630if (names is not null && variableDecl.Type is not null && !string.IsNullOrEmpty(variableDecl.Type.BaseType))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
61baseTypeName = typeRef.BaseType; 102if (member.Type is not null && !string.IsNullOrEmpty(member.Type.BaseType))
System.Windows.Forms.Design.Tests (3)
CodeDomHelpers.cs (2)
119Type result = Type.GetType(reference.BaseType); 125return GetString(reference.BaseType);
Serialization\PrimitiveCodeDomSerializerTests.cs (1)
50Assert.Equal(typeof(byte).ToString(), cast.TargetType.BaseType);