54 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\runtime\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.Management (21)
System\Management\WMIGenerator.cs (21)
1205
if ((cmp.Type.ArrayRank == 0 && cmp.Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
) ||
1206
cmp.Type.ArrayRank > 0 && cmp.Type.ArrayElementType.
BaseType
== new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
)
2043
strType = ((CodeTypeReference)arrKeyType[i]).
BaseType
;
2063
if (((CodeTypeReference)arrKeyType[i]).
BaseType
== "System.String")
2077
cmie.Method.TargetObject = new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
+ " "), new CodeVariableReferenceExpression("key" + arrKeys[i]));
2152
cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
);
2159
if (cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
2211
cpde.Type = new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).
BaseType
);
2218
if (cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
2975
cis.TrueStatements.Add(new CodeAssignStatement(cie, new CodeCastExpression(new CodeTypeReference(cpde.Type.
BaseType
+ " "),
3192
if (retRefType.
BaseType
== new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).
BaseType
)
3204
if (retRefType.
BaseType
== "System.DateTime")
3216
if (retRefType.
BaseType
== "System.TimeSpan")
3236
if (retRefType.ArrayRank == 0 && retRefType.
BaseType
!= new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).
BaseType
)
6051
string strEnumName = cmProp.Type.
BaseType
;
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
514
contractCodeDomInfo.TypeReference = new CodeTypeReference(containingContractCodeDomInfo.TypeReference.
BaseType
+ "+" + nestedTypeName);
System\Runtime\Serialization\Schema\ContractCodeDomInfo.cs (2)
29
throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.CannotSetNamespaceForReferencedType, TypeReference?.
BaseType
)));
52
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
))