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