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