1 write to UnderlyingType
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (1)
NamespaceTypeDefinitionNoBase.cs (1)
21
UnderlyingType
= underlyingType;
50 references to UnderlyingType
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ReferencedModulesTests.cs (1)
1540
yield return (type == _objectType.
UnderlyingType
) ? _objectType : type;
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (48)
NamespaceTypeDefinitionNoBase.cs (48)
24
ushort ITypeDefinition.Alignment =>
UnderlyingType
.Alignment;
26
IGenericMethodParameterReference ITypeReference.AsGenericMethodParameterReference =>
UnderlyingType
.AsGenericMethodParameterReference;
28
IGenericTypeInstanceReference ITypeReference.AsGenericTypeInstanceReference =>
UnderlyingType
.AsGenericTypeInstanceReference;
30
IGenericTypeParameterReference ITypeReference.AsGenericTypeParameterReference =>
UnderlyingType
.AsGenericTypeParameterReference;
32
INamespaceTypeReference ITypeReference.AsNamespaceTypeReference =>
UnderlyingType
.AsNamespaceTypeReference;
34
INestedTypeReference ITypeReference.AsNestedTypeReference =>
UnderlyingType
.AsNestedTypeReference;
36
ISpecializedNestedTypeReference ITypeReference.AsSpecializedNestedTypeReference =>
UnderlyingType
.AsSpecializedNestedTypeReference;
38
IEnumerable<IEventDefinition> ITypeDefinition.GetEvents(EmitContext context) =>
UnderlyingType
.GetEvents(context);
44
IEnumerable<IGenericTypeParameter> ITypeDefinition.GenericParameters =>
UnderlyingType
.GenericParameters;
46
bool ITypeDefinition.HasDeclarativeSecurity =>
UnderlyingType
.HasDeclarativeSecurity;
48
bool ITypeDefinition.IsAbstract =>
UnderlyingType
.IsAbstract;
50
bool ITypeDefinition.IsBeforeFieldInit =>
UnderlyingType
.IsBeforeFieldInit;
52
bool ITypeDefinition.IsComObject =>
UnderlyingType
.IsComObject;
54
bool ITypeReference.IsEnum =>
UnderlyingType
.IsEnum;
56
bool ITypeDefinition.IsGeneric =>
UnderlyingType
.IsGeneric;
58
bool ITypeDefinition.IsInterface =>
UnderlyingType
.IsInterface;
60
bool ITypeDefinition.IsDelegate =>
UnderlyingType
.IsDelegate;
62
bool INamespaceTypeDefinition.IsPublic =>
UnderlyingType
.IsPublic;
64
bool ITypeDefinition.IsRuntimeSpecial =>
UnderlyingType
.IsRuntimeSpecial;
66
bool ITypeDefinition.IsSealed =>
UnderlyingType
.IsSealed;
68
bool ITypeDefinition.IsSerializable =>
UnderlyingType
.IsSerializable;
70
bool ITypeDefinition.IsSpecialName =>
UnderlyingType
.IsSpecialName;
72
bool ITypeReference.IsValueType =>
UnderlyingType
.IsValueType;
74
bool ITypeDefinition.IsWindowsRuntimeImport =>
UnderlyingType
.IsWindowsRuntimeImport;
76
LayoutKind ITypeDefinition.Layout =>
UnderlyingType
.Layout;
78
bool INamedTypeReference.MangleName =>
UnderlyingType
.MangleName;
81
string? INamedTypeReference.AssociatedFileIdentifier =>
UnderlyingType
.AssociatedFileIdentifier;
84
string INamedEntity.Name =>
UnderlyingType
.Name;
86
string INamespaceTypeReference.NamespaceName =>
UnderlyingType
.NamespaceName;
88
IEnumerable<SecurityAttribute> ITypeDefinition.SecurityAttributes =>
UnderlyingType
.SecurityAttributes;
90
uint ITypeDefinition.SizeOf =>
UnderlyingType
.SizeOf;
92
CharSet ITypeDefinition.StringFormat =>
UnderlyingType
.StringFormat;
94
TypeDefinitionHandle ITypeReference.TypeDef =>
UnderlyingType
.TypeDef;
96
IDefinition IReference.AsDefinition(EmitContext context) =>
UnderlyingType
.AsDefinition(context);
98
INamespaceTypeDefinition ITypeReference.AsNamespaceTypeDefinition(EmitContext context) =>
UnderlyingType
.AsNamespaceTypeDefinition(context);
100
INestedTypeDefinition ITypeReference.AsNestedTypeDefinition(EmitContext context) =>
UnderlyingType
.AsNestedTypeDefinition(context);
102
ITypeDefinition ITypeReference.AsTypeDefinition(EmitContext context) =>
UnderlyingType
.AsTypeDefinition(context);
104
void IReference.Dispatch(MetadataVisitor visitor) =>
UnderlyingType
.Dispatch(visitor);
106
IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) =>
UnderlyingType
.GetAttributes(context);
110
IEnumerable<Cci.MethodImplementation> ITypeDefinition.GetExplicitImplementationOverrides(EmitContext context) =>
UnderlyingType
.GetExplicitImplementationOverrides(context);
112
IEnumerable<IFieldDefinition> ITypeDefinition.GetFields(EmitContext context) =>
UnderlyingType
.GetFields(context);
114
IEnumerable<IMethodDefinition> ITypeDefinition.GetMethods(EmitContext context) =>
UnderlyingType
.GetMethods(context);
116
IEnumerable<INestedTypeDefinition> ITypeDefinition.GetNestedTypes(EmitContext context) =>
UnderlyingType
.GetNestedTypes(context);
118
IEnumerable<IPropertyDefinition> ITypeDefinition.GetProperties(EmitContext context) =>
UnderlyingType
.GetProperties(context);
120
ITypeDefinition ITypeReference.GetResolvedType(EmitContext context) =>
UnderlyingType
.GetResolvedType(context);
122
IUnitReference INamespaceTypeReference.GetUnit(EmitContext context) =>
UnderlyingType
.GetUnit(context);
124
IEnumerable<TypeReferenceWithAttributes> ITypeDefinition.Interfaces(EmitContext context) =>
UnderlyingType
.Interfaces(context);
126
Cci.PrimitiveTypeCode ITypeReference.TypeCode =>
UnderlyingType
.TypeCode;
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (1)
ReferencedModulesTests.vb (1)
960
Yield If(t Is _objectType.
UnderlyingType
, _objectType, t)