8 interfaces inheriting from ITypeReference
Microsoft.CodeAnalysis (8)
PEWriter\Types.cs (8)
30internal interface IArrayTypeReference : ITypeReference 171internal interface IGenericParameterReference : ITypeReference, INamedEntity, IParameterListEntry 204internal interface IGenericTypeInstanceReference : ITypeReference 245internal interface INamedTypeReference : ITypeReference, INamedEntity 372internal interface IModifiedTypeReference : ITypeReference 388internal interface IPointerTypeReference : ITypeReference 399internal interface IFunctionPointerTypeReference : ITypeReference 444internal interface ITypeDefinition : IDefinition, ITypeReference
2 implementations of ITypeReference
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
28Cci.ITypeReference,
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\NamedTypeSymbolAdapter.vb (1)
22Implements ITypeReference
680 references to ITypeReference
Microsoft.CodeAnalysis (369)
CodeGen\ArrayMembers.cs (8)
150public override Cci.ITypeReference GetType(EmitContext context) 164public override Cci.ITypeReference GetType(EmitContext context) 178public override Cci.ITypeReference GetType(EmitContext context) 194public override Cci.ITypeReference GetType(EmitContext context) 258public virtual Cci.ITypeReference GetType(EmitContext context) 280public override Cci.ITypeReference GetType(EmitContext context) 299public abstract Cci.ITypeReference GetType(EmitContext context); 346public Cci.ITypeReference GetContainingType(EmitContext context)
CodeGen\ILBuilder.cs (1)
1093internal void OpenLocalScope(ScopeType scopeType = ScopeType.Variable, Cci.ITypeReference exceptionType = null)
CodeGen\LocalConstantDefinition.cs (1)
42public Cci.ITypeReference Type => CompileTimeValue.Type;
CodeGen\LocalDefinition.cs (3)
26private readonly Cci.ITypeReference _type; 64Cci.ITypeReference type, 136public Cci.ITypeReference Type => _type;
CodeGen\LocalScopeManager.cs (7)
37internal ScopeInfo OpenScope(ScopeType scopeType, Cci.ITypeReference exceptionType) 205Microsoft.Cci.ITypeReference exceptionType, 327Cci.ITypeReference exceptionType, 548private readonly Microsoft.Cci.ITypeReference _exceptionType; 559public ExceptionHandlerScope(ExceptionHandlerContainerScope containingScope, ScopeType type, Microsoft.Cci.ITypeReference exceptionType) 573public Microsoft.Cci.ITypeReference ExceptionType => _exceptionType; 694Microsoft.Cci.ITypeReference exceptionType,
CodeGen\LocalSlotManager.cs (5)
39private readonly Cci.ITypeReference _type; 42internal LocalSignature(Cci.ITypeReference valType, LocalSlotConstraints constraints) 121Cci.ITypeReference type, 166Cci.ITypeReference type, 189Cci.ITypeReference type,
CodeGen\MetadataConstant.cs (2)
14public Cci.ITypeReference Type { get; } 17public MetadataConstant(Cci.ITypeReference type, object? value)
CodeGen\MetadataCreateArray.cs (3)
19public Cci.ITypeReference ElementType { get; } 22public MetadataCreateArray(Cci.IArrayTypeReference arrayType, Cci.ITypeReference elementType, ImmutableArray<Cci.IMetadataExpression> initializers) 29Cci.ITypeReference Cci.IMetadataExpression.Type => ArrayType;
CodeGen\MetadataNamedArgument.cs (3)
17private readonly Cci.ITypeReference _type; 20public MetadataNamedArgument(ISymbolInternal entity, Cci.ITypeReference type, Cci.IMetadataExpression value) 48Cci.ITypeReference Cci.IMetadataExpression.Type => _type;
CodeGen\MetadataTypeOf.cs (6)
12private readonly Cci.ITypeReference _typeToGet; 13private readonly Cci.ITypeReference _systemType; 15public MetadataTypeOf(Cci.ITypeReference typeToGet, Cci.ITypeReference systemType) 24public Cci.ITypeReference TypeToGet 37Cci.ITypeReference Cci.IMetadataExpression.Type
CodeGen\MethodBody.cs (3)
43private readonly ImmutableArray<Cci.ITypeReference?> _stateMachineAwaiterSlots; 69ImmutableArray<Cci.ITypeReference?> stateMachineAwaiterSlots, 148ImmutableArray<Cci.ITypeReference?> Cci.IMethodBody.StateMachineAwaiterSlots
CodeGen\PermissionSetAttribute.cs (5)
66Cci.ITypeReference stringType = context.Module.GetPlatformType(Cci.PlatformType.SystemString, context); 159public Cci.ITypeReference GetType(EmitContext context) => _sourceAttribute.GetType(context); 165private readonly Cci.ITypeReference _type; 168public HexPropertyMetadataNamedArgument(Cci.ITypeReference type, Cci.IMetadataExpression value) 178Cci.ITypeReference Cci.IMetadataExpression.Type { get { return _type; } }
CodeGen\PrivateImplementationDetails.cs (33)
42private readonly Cci.ITypeReference _systemObject; //base type 43private readonly Cci.ITypeReference _systemValueType; //base for nested structs 45private readonly Cci.ITypeReference _systemInt8Type; //for metadata init of byte arrays 46private readonly Cci.ITypeReference _systemInt16Type; //for metadata init of short arrays 47private readonly Cci.ITypeReference _systemInt32Type; //for metadata init of int arrays 48private readonly Cci.ITypeReference _systemInt64Type; //for metadata init of long arrays 77private ImmutableArray<Cci.ITypeReference> _orderedProxyTypes; 78private readonly ConcurrentDictionary<(uint Size, ushort Alignment), Cci.ITypeReference> _proxyTypes = new ConcurrentDictionary<(uint Size, ushort Alignment), Cci.ITypeReference>(); 84Cci.ITypeReference systemObject, 85Cci.ITypeReference systemValueType, 86Cci.ITypeReference systemInt8Type, 87Cci.ITypeReference systemInt16Type, 88Cci.ITypeReference systemInt32Type, 89Cci.ITypeReference systemInt64Type, 209Cci.ITypeReference type = _proxyTypes.GetOrAdd( 253internal Cci.IFieldReference GetModuleVersionId(Cci.ITypeReference mvidType) 265internal Cci.IFieldReference GetOrAddInstrumentationPayloadRoot(int analysisKind, Cci.ITypeReference payloadRootType) 322public override Cci.ITypeReference GetBaseClass(EmitContext context) => _systemObject; 421private readonly Cci.ITypeReference _sysValueType; 423internal ExplicitSizeStruct(uint size, ushort alignment, PrivateImplementationDetails containingType, Cci.ITypeReference sysValueType) 438public override Cci.ITypeReference GetBaseClass(EmitContext context) => _sysValueType; 459public Cci.ITypeReference GetContainingType(EmitContext context) => _containingType; 469private readonly Cci.ITypeReference _type; 472internal SynthesizedStaticField(string name, Cci.INamedTypeDefinition containingType, Cci.ITypeReference type) 516public Cci.ITypeReference GetContainingType(EmitContext context) => _containingType; 537public Cci.ITypeReference GetType(EmitContext context) => _type; 543internal Cci.ITypeReference Type => _type; 569internal ModuleVersionIdField(Cci.INamedTypeDefinition containingType, Cci.ITypeReference type) 579internal InstrumentationPayloadRootField(Cci.INamedTypeDefinition containingType, int analysisIndex, Cci.ITypeReference payloadType) 594internal MappedField(string name, Cci.INamedTypeDefinition containingType, Cci.ITypeReference type, ImmutableArray<byte> block) 609internal CachedArrayField(string name, Cci.INamedTypeDefinition containingType, Cci.ITypeReference type) 719public virtual Cci.ITypeReference GetBaseClass(EmitContext context)
CodeGen\ReferenceDependencyWalker.cs (5)
23var typeReference = reference as Cci.ITypeReference; 45private static void VisitTypeReference(Cci.ITypeReference typeReference, EmitContext context) 89foreach (var arg in genericInstance.GetGenericArguments(context)) 112foreach (var arg in genericInstance.GetGenericArguments(context))
CodeGen\SignatureOnlyLocalDefinition.cs (1)
76public Cci.ITypeReference Type
CodeGen\VariableSlotAllocator.cs (3)
18Cci.ITypeReference type, 35Cci.ITypeReference currentType, 53public abstract bool TryGetPreviousAwaiterSlotIndex(Cci.ITypeReference currentType, DiagnosticBag diagnostics, out int slotIndex);
Emit\CommonPEModuleBuilder.cs (11)
105internal abstract Cci.ITypeReference Translate(ITypeSymbolInternal symbol, SyntaxNode syntaxOpt, DiagnosticBag diagnostics); 115internal abstract Cci.ITypeReference EncTranslateType(ITypeSymbolInternal type, DiagnosticBag diagnostics); 159public abstract Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context); 160public abstract bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType); 592internal sealed override Cci.ITypeReference EncTranslateType(ITypeSymbolInternal type, DiagnosticBag diagnostics) 597internal virtual Cci.ITypeReference EncTranslateLocalVariableType(TTypeSymbol type, DiagnosticBag diagnostics) 696internal abstract Cci.ITypeReference Translate(TTypeSymbol symbol, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics); 704internal sealed override Cci.ITypeReference Translate(ITypeSymbolInternal symbol, SyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics) 733internal Cci.IFieldReference GetModuleVersionId(Cci.ITypeReference mvidType, TSyntaxNode syntaxOpt, DiagnosticBag diagnostics) 741internal Cci.IFieldReference GetInstrumentationPayloadRoot(int analysisKind, Cci.ITypeReference payloadType, TSyntaxNode syntaxOpt, DiagnosticBag diagnostics) 1064public sealed override Cci.ITypeReference GetPlatformType(Cci.PlatformType platformType, EmitContext context)
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (4)
26public readonly ImmutableArray<Cci.ITypeReference?> StateMachineAwaiterSlotsOpt; 36ImmutableArray<Cci.ITypeReference?> stateMachineAwaiterSlotsOpt, 81var typeRef = map.MapReference(info.Type); 94var typeRef = map.MapReference(info.Type);
Emit\EditAndContinue\DefinitionMap.cs (6)
147out IReadOnlyDictionary<Cci.ITypeReference, int> awaiterMap, 172IReadOnlyDictionary<Cci.ITypeReference, int>? awaiterMap = null; 400ImmutableArray<Cci.ITypeReference?> hoistedAwaiters, 402out IReadOnlyDictionary<Cci.ITypeReference, int> awaiterMap) 405var awaiters = new Dictionary<Cci.ITypeReference, int>(Cci.SymbolEquivalentEqualityComparer.Instance); 421var slot = hoistedAwaiters[slotIndex];
Emit\EditAndContinue\DeletedCustomAttribute.cs (1)
39public ITypeReference GetType(EmitContext context)
Emit\EditAndContinue\DeletedDefinition.cs (2)
50protected ITypeReference? WrapType(ITypeReference? typeReference)
Emit\EditAndContinue\DeletedEventDefinition.cs (2)
71public ITypeReference GetContainingType(EmitContext context) 81public ITypeReference GetType(EmitContext context)
Emit\EditAndContinue\DeletedMethodBody.cs (1)
61public ImmutableArray<ITypeReference> StateMachineAwaiterSlots => default;
Emit\EditAndContinue\DeletedMethodDefinition.cs (2)
126public ITypeReference GetContainingType(EmitContext context) 156public ITypeReference GetType(EmitContext context)
Emit\EditAndContinue\DeletedParameterDefinition.cs (1)
69public ITypeReference GetType(EmitContext context)
Emit\EditAndContinue\DeletedPropertyDefinition.cs (2)
85public ITypeReference GetContainingType(EmitContext context) 100public ITypeReference GetType(EmitContext context)
Emit\EditAndContinue\DeletedTypeDefinition.cs (1)
114public ITypeReference? GetBaseClass(EmitContext context)
Emit\EditAndContinue\DeltaMetadataWriter.cs (9)
71private readonly InstanceAndStructuralReferenceIndex<ITypeReference> _typeSpecIndex; 131_typeSpecIndex = new InstanceAndStructuralReferenceIndex<ITypeReference>(this, new TypeSpecComparer(this), lastRowId: sizes[(int)TableIndex.TypeSpec]); 456protected override bool TryGetTypeReferenceHandle(ITypeReference reference, out TypeReferenceHandle handle) 464protected override TypeReferenceHandle GetOrAddTypeReferenceHandle(ITypeReference reference) 469protected override IReadOnlyList<ITypeReference> GetTypeRefs() 474protected override TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference) 479protected override IReadOnlyList<ITypeReference> GetTypeSpecs() 784foreach (var typeRef in GetTypeRefs()) 869ITypeReference translatedType = localDef.Type;
Emit\EditAndContinue\EncHoistedLocalInfo.cs (2)
16public readonly Cci.ITypeReference? Type; 24public EncHoistedLocalInfo(LocalSlotDebugInfo slotInfo, Cci.ITypeReference type)
Emit\EditAndContinue\EncHoistedLocalMetadata.cs (2)
12public readonly Cci.ITypeReference Type; 15public EncHoistedLocalMetadata(string name, Cci.ITypeReference type, SynthesizedLocalKind synthesizedKind)
Emit\EditAndContinue\EncLocalInfo.cs (2)
16public readonly Cci.ITypeReference? Type; 32public EncLocalInfo(LocalSlotDebugInfo slotInfo, Cci.ITypeReference type, LocalSlotConstraints constraints, byte[]? signature)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (8)
37private readonly IReadOnlyDictionary<Cci.ITypeReference, int>? _awaiterMap; 60IReadOnlyDictionary<Cci.ITypeReference, int>? awaiterMap, 147Cci.ITypeReference currentType, 167var previousType = _symbolMap.MapReference(currentType); 199Cci.ITypeReference currentType, 218var previousType = _symbolMap.MapReference(currentType); 235public override bool TryGetPreviousAwaiterSlotIndex(Cci.ITypeReference currentType, DiagnosticBag diagnostics, out int slotIndex) 244var typeRef = _symbolMap.MapReference(currentType);
Emit\EditAndContinue\SymbolMatcher.cs (2)
16public abstract Cci.ITypeReference? MapReference(Cci.ITypeReference reference);
Emit\ErrorType.cs (14)
68bool Cci.ITypeReference.IsEnum 76bool Cci.ITypeReference.IsValueType 84Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 89Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 97TypeDefinitionHandle Cci.ITypeReference.TypeDef 105Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 113Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference 121Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 129Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 134Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference 142Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 147Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference 155Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference 163Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedEvent.cs (3)
65protected abstract Cci.ITypeReference GetType(TPEModuleBuilder moduleBuilder, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics); 143Cci.ITypeReference Cci.IEventDefinition.GetType(EmitContext context) 169Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emit\NoPia\CommonEmbeddedField.cs (2)
176Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 199Cci.ITypeReference Cci.IFieldReference.GetType(EmitContext context)
Emit\NoPia\CommonEmbeddedMethod.cs (4)
155ImmutableArray<Cci.ITypeReference> Cci.IMethodBody.StateMachineAwaiterSlots => 156default(ImmutableArray<Cci.ITypeReference>); 238Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 296Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
Emit\NoPia\CommonEmbeddedParameter.cs (1)
252Cci.ITypeReference Cci.IParameterTypeInformation.GetType(EmitContext context)
Emit\NoPia\CommonEmbeddedProperty.cs (2)
171Cci.ITypeReference Cci.ISignature.GetType(EmitContext context) 197Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (16)
66protected abstract Cci.ITypeReference GetBaseClass(TPEModuleBuilder moduleBuilder, TSyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics); 237Cci.ITypeReference Cci.ITypeDefinition.GetBaseClass(EmitContext context) 562bool Cci.ITypeReference.IsEnum 570bool Cci.ITypeReference.IsValueType 578Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 583Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 591TypeDefinitionHandle Cci.ITypeReference.TypeDef 599Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 607Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference 615Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 623Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 628Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference 636Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 641Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference 649Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference 657Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (14)
118bool Cci.ITypeReference.IsEnum 123bool Cci.ITypeReference.IsValueType 128Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 133Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 141TypeDefinitionHandle Cci.ITypeReference.TypeDef 146Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 151Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference 156Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 161Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 166Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference 171Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 176Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference 181Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference 186Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emit\NoPia\VtblGap.cs (2)
163Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 255Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
NativePdbWriter\PdbWriter.cs (2)
345internal string GetOrCreateSerializedTypeName(ITypeReference typeReference) 365private string SerializeVisualBasicImportTypeReference(ITypeReference typeReference)
PEWriter\ExceptionHandlerRegion.cs (4)
68public virtual ITypeReference? ExceptionType 121private readonly ITypeReference _exceptionType; 128ITypeReference exceptionType) 139public override ITypeReference ExceptionType
PEWriter\ExportedType.cs (2)
15public readonly ITypeReference Type; 29public ExportedType(ITypeReference type, int parentIndex, bool isForwarder)
PEWriter\Expressions.cs (1)
22ITypeReference Type { get; }
PEWriter\FullMetadataWriter.cs (7)
38private readonly InstanceAndStructuralReferenceIndex<ITypeReference> _typeSpecIndex; 111_typeSpecIndex = new InstanceAndStructuralReferenceIndex<ITypeReference>(this, new TypeSpecComparer(this)); 278protected override bool TryGetTypeReferenceHandle(ITypeReference reference, out TypeReferenceHandle handle) 286protected override TypeReferenceHandle GetOrAddTypeReferenceHandle(ITypeReference reference) 291protected override IReadOnlyList<ITypeReference> GetTypeRefs() 296protected override TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference) 301protected override IReadOnlyList<ITypeReference> GetTypeSpecs()
PEWriter\ICustomAttribute.cs (1)
50ITypeReference GetType(EmitContext context);
PEWriter\InheritedTypeParameter.cs (2)
258ITypeReference IGenericTypeParameterReference.DefiningType 284public ITypeReference UnspecializedVersion
PEWriter\ITypeReferenceExtensions.cs (5)
15internal static void GetConsolidatedTypeArguments(this ITypeReference typeReference, ArrayBuilder<ITypeReference> consolidatedTypeArguments, EmitContext context) 27internal static ITypeReference GetUninstantiatedGenericType(this ITypeReference typeReference, EmitContext context) 44internal static bool IsTypeSpecification(this ITypeReference typeReference)
PEWriter\Members.cs (7)
165ITypeReference GetType(EmitContext context); 259ITypeReference GetType(EmitContext context); 353ITypeReference Type { get; } 485ImmutableArray<ITypeReference?> StateMachineAwaiterSlots { get; } 819ITypeReference GetType(EmitContext context); 848ITypeReference GetContainingType(EmitContext context); 961IEnumerable<ITypeReference> GetGenericArguments(EmitContext context);
PEWriter\MetadataVisitor.cs (5)
403var exceptionType = exceptionRegion.ExceptionType; 561public void Visit(IEnumerable<ITypeReference> typeReferences) 563foreach (ITypeReference typeReference in typeReferences) 578public virtual void Visit(ITypeReference typeReference) 589protected void DispatchAsReference(ITypeReference typeReference)
PEWriter\MetadataWriter.cs (44)
346protected abstract bool TryGetTypeReferenceHandle(ITypeReference reference, out TypeReferenceHandle handle); 353protected abstract TypeReferenceHandle GetOrAddTypeReferenceHandle(ITypeReference reference); 359protected abstract IReadOnlyList<ITypeReference> GetTypeRefs(); 366protected abstract TypeSpecificationHandle GetOrAddTypeSpecificationHandle(ITypeReference reference); 372protected abstract IReadOnlyList<ITypeReference> GetTypeSpecs(); 435private readonly Dictionary<ITypeReference, BlobHandle> _typeSpecSignatureIndex = new Dictionary<ITypeReference, BlobHandle>(ReferenceEqualityComparer.Instance); 636public static IUnitReference GetDefiningUnitReference(ITypeReference typeReference, EmitContext context) 968var containingType = memberRef.GetContainingType(Context); 1065foreach (ITypeReference typeReference in methodInstanceReference.GetGenericArguments(Context)) 1067var typeRef = typeReference; 1595private TypeReferenceHandle GetTypeReferenceHandle(ITypeReference typeReference) 1618private TypeSpecificationHandle GetTypeSpecificationHandle(ITypeReference typeReference) 1643internal BlobHandle GetTypeSpecSignatureIndex(ITypeReference typeReference) 1660internal EntityHandle GetTypeHandle(ITypeReference typeReference, bool treatRefAsPotentialTypeSpec = true) 2724ITypeReference baseType = typeDef.GetBaseClass(Context); 2773foreach (ITypeReference typeRef in typeRefs) 2782ITypeReference scopeTypeRef; 2833foreach (ITypeReference typeSpec in typeSpecs) 3060ITypeReference typeReference => GetTypeHandle(typeReference), 3328var exceptionType = region.ExceptionType; 3362var type = parameterTypeInformation.GetType(Context); 3391foreach (ITypeReference genericArgument in genericMethodInstanceReference.GetGenericArguments(Context)) 3393ITypeReference typeRef = genericArgument; 3448private void SerializeNamedArgumentType(in EmitContext context, NamedArgumentTypeEncoder encoder, ITypeReference type) 3464private void SerializeMetadataExpression(in EmitContext context, LiteralEncoder encoder, IMetadataExpression expression, ITypeReference targetType) 3468ITypeReference targetElementType; 3564case ITypeReference marshallerTypeRef: 3612var elementType = marshallingInformation.GetSafeArrayElementUserDefinedSubtype(Context); 3637private void SerializeTypeName(ITypeReference typeReference, BlobBuilder writer) 3724var returnType = signature.GetType(Context); 3765private void SerializeTypeReference(SignatureTypeEncoder encoder, ITypeReference typeReference) 3856ITypeReference uninstantiatedTypeReference = typeReference.GetUninstantiatedGenericType(Context); 3861var consolidatedTypeArguments = ArrayBuilder<ITypeReference>.GetInstance(); 3869foreach (ITypeReference typeArgument in consolidatedTypeArguments) 3967var elementType = arrayTypeReference.GetElementType(Context); 3980private void SerializeCustomAttributeElementType(in EmitContext context, CustomAttributeElementTypeEncoder encoder, ITypeReference typeReference) 4073private int GetNumberOfInheritedTypeParameters(ITypeReference type) 4219protected sealed class TypeReferenceIndex : HeapOrReferenceIndexBase<ITypeReference> 4221private readonly Dictionary<ITypeReference, int> _index; 4224: this(writer, new Dictionary<ITypeReference, int>(ReferenceEqualityComparer.Instance), lastRowId) 4228private TypeReferenceIndex(MetadataWriter writer, Dictionary<ITypeReference, int> index, int lastRowId) 4235public override bool TryGetValue(ITypeReference item, out int index) 4240protected override void AddItem(ITypeReference item, int index)
PEWriter\MetadataWriter.PortablePdb.cs (1)
180var type = localConstant.Type;
PEWriter\Miscellaneous.cs (2)
111/// <see cref="ITypeReference"/> or a string (usually a fully-qualified type name of a type implementing the custom marshaller, but Dev11 allows any string). 180ITypeReference GetSafeArrayElementUserDefinedSubtype(EmitContext context);
PEWriter\ModifiedTypeReference.cs (17)
16private readonly ITypeReference _modifiedType; 19public ModifiedTypeReference(ITypeReference modifiedType, ImmutableArray<ICustomModifier> customModifiers) 37ITypeReference IModifiedTypeReference.UnmodifiedType 45bool ITypeReference.IsEnum 50bool ITypeReference.IsValueType 55ITypeDefinition ITypeReference.GetResolvedType(EmitContext context) 60PrimitiveTypeCode ITypeReference.TypeCode 65TypeDefinitionHandle ITypeReference.TypeDef 80IGenericMethodParameterReference? ITypeReference.AsGenericMethodParameterReference 88IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference 96IGenericTypeParameterReference? ITypeReference.AsGenericTypeParameterReference 104INamespaceTypeDefinition? ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 109INamespaceTypeReference? ITypeReference.AsNamespaceTypeReference 117INestedTypeDefinition? ITypeReference.AsNestedTypeDefinition(EmitContext context) 122INestedTypeReference? ITypeReference.AsNestedTypeReference 130ISpecializedNestedTypeReference? ITypeReference.AsSpecializedNestedTypeReference 138ITypeDefinition? ITypeReference.AsTypeDefinition(EmitContext context)
PEWriter\ReferenceIndexer.cs (4)
47private void VisitExportedType(ITypeReference exportedType) 69var typeReference = reference as ITypeReference; 159protected override void RecordTypeReference(ITypeReference typeReference)
PEWriter\ReferenceIndexerBase.cs (8)
97ITypeReference containingType = nestedType.GetContainingType(Context); 220protected abstract void RecordTypeReference(ITypeReference typeReference); 261var baseType = typeDefinition.GetBaseClass(Context); 303private void VisitTypeReferencesThatNeedTokens(ITypeReference typeReference) 336ITypeReference current = arrayTypeReference.GetElementType(Context); 367ITypeReference current = pointerTypeReference.GetTargetType(Context); 392public override void Visit(ITypeReference typeReference) 401private bool VisitTypeReference(ITypeReference typeReference)
PEWriter\ReturnValueParameter.cs (1)
105public ITypeReference GetType(EmitContext context)
PEWriter\RootModuleStaticConstructor.cs (4)
112public ITypeReference GetContainingType(EmitContext context) => ContainingTypeDefinition; 122public ITypeReference GetType(EmitContext context) => context.Module.GetPlatformType(PlatformType.SystemVoid, context); 158public ImmutableArray<ITypeReference> StateMachineAwaiterSlots => ImmutableArray<ITypeReference>.Empty;
PEWriter\RootModuleType.cs (14)
76public ITypeReference? GetBaseClass(EmitContext context) 219bool ITypeReference.IsEnum 224bool ITypeReference.IsValueType 229ITypeDefinition ITypeReference.GetResolvedType(EmitContext context) 234PrimitiveTypeCode ITypeReference.TypeCode 257IGenericMethodParameterReference? ITypeReference.AsGenericMethodParameterReference 265IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference 273IGenericTypeParameterReference? ITypeReference.AsGenericTypeParameterReference 281INamespaceTypeDefinition ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 286INamespaceTypeReference ITypeReference.AsNamespaceTypeReference 294INestedTypeDefinition? ITypeReference.AsNestedTypeDefinition(EmitContext context) 299INestedTypeReference? ITypeReference.AsNestedTypeReference 307ISpecializedNestedTypeReference? ITypeReference.AsSpecializedNestedTypeReference 315ITypeDefinition ITypeReference.AsTypeDefinition(EmitContext context)
PEWriter\TypeNameSerializer.cs (10)
19internal static string GetSerializedTypeName(this ITypeReference typeReference, EmitContext context) 25internal static string GetSerializedTypeName(this ITypeReference typeReference, EmitContext context, ref bool isAssemblyQualified) 91ITypeReference uninstantiatedTypeReference = typeReference.GetUninstantiatedGenericType(context); 94ArrayBuilder<ITypeReference> consolidatedTypeArguments = ArrayBuilder<ITypeReference>.GetInstance(); 101foreach (ITypeReference argument in consolidatedTypeArguments) 141private static void AppendSerializedTypeName(StringBuilder sb, ITypeReference type, ref bool isAssemQualified, EmitContext context) 156private static void AppendAssemblyQualifierIfNecessary(StringBuilder sb, ITypeReference typeReference, out bool isAssemQualified, EmitContext context) 240private static ITypeReference UnwrapTypeReference(ITypeReference typeReference, EmitContext context)
PEWriter\TypeReferenceIndexer.cs (1)
54protected override void RecordTypeReference(ITypeReference typeReference)
PEWriter\Types.cs (10)
35ITypeReference GetElementType(EmitContext context); 91ITypeReference GetModifier(EmitContext context); 123ITypeReference GetType(EmitContext context); 209ImmutableArray<ITypeReference> GetGenericArguments(EmitContext context); 239ITypeReference DefiningType { get; } 382ITypeReference UnmodifiedType { get; } 393ITypeReference GetTargetType(EmitContext context); 425public ITypeReference TypeRef { get; } 433ITypeReference typeRef, 454ITypeReference? GetBaseClass(EmitContext context);
PEWriter\TypeSpecComparer.cs (4)
10internal sealed class TypeSpecComparer : IEqualityComparer<ITypeReference> 19public bool Equals(ITypeReference? x, ITypeReference? y) 24public int GetHashCode(ITypeReference typeReference)
PEWriter\UsedNamespaceOrType.cs (6)
19public readonly ITypeReference? TargetTypeOpt; 26ITypeReference? targetType = null, 36internal static UsedNamespaceOrType CreateType(ITypeReference type, string? aliasOpt = null) 84private static bool Equals(ITypeReference? x, ITypeReference? y) 111private static int GetHashCode(ITypeReference? obj)
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (1)
177Cci.ITypeReference Cci.IMarshallingInformation.GetSafeArrayElementUserDefinedSubtype(EmitContext context)
Symbols\CustomModifier.cs (1)
33Cci.ITypeReference Cci.ICustomModifier.GetModifier(EmitContext context)
Microsoft.CodeAnalysis.CSharp (158)
Binder\ImportChain.cs (3)
89var typeRef = GetTypeReference((TypeSymbol)namespaceOrType, nsOrType.UsingDirective, moduleBuilder, diagnostics); 121var typeRef = GetTypeReference((TypeSymbol)target, syntax, moduleBuilder, diagnostics); 132private static Cci.ITypeReference GetTypeReference(TypeSymbol type, SyntaxNode syntaxNode, Emit.PEModuleBuilder moduleBuilder, DiagnosticBag diagnostics)
CodeGen\CodeGenerator.cs (1)
339private void EmitTypeReferenceToken(Cci.ITypeReference symbol, SyntaxNode syntaxNode)
CodeGen\EmitStatement.cs (3)
1023var exceptionType = ((object)catchBlock.ExceptionTypeOpt != null) ? 1071var exceptionType = _module.Translate(catchBlock.ExceptionTypeOpt, catchBlock.Syntax, _diagnostics.DiagnosticBag); 1762Cci.ITypeReference translatedType;
Compiler\MethodCompiler.cs (3)
1640var stateMachineAwaiterSlots = default(ImmutableArray<Cci.ITypeReference>); 1691out ImmutableArray<Cci.ITypeReference> awaiterSlots) 1694var awaiters = ArrayBuilder<Cci.ITypeReference>.GetInstance();
Emitter\EditAndContinue\CSharpDefinitionMap.cs (5)
123out IReadOnlyDictionary<Cci.ITypeReference, int> awaiterMap, 130var awaiters = new Dictionary<Cci.ITypeReference, int>(Cci.SymbolEquivalentEqualityComparer.Instance); 148awaiters[(Cci.ITypeReference)field.Type.GetCciAdapter()] = slotIndex; 170var key = new EncHoistedLocalInfo(localSlotDebugInfo[slotIndex], (Cci.ITypeReference)field.Type.GetCciAdapter()); 230var local = new EncLocalInfo(slot, (Cci.ITypeReference)metadata.Type.GetCciAdapter(), metadata.Constraints, metadata.SignatureOpt);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (3)
85public override Cci.ITypeReference? MapReference(Cci.ITypeReference reference) 89return (Cci.ITypeReference?)_symbols.Visit(symbol)?.GetCciAdapter();
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
101internal override Cci.ITypeReference EncTranslateLocalVariableType(TypeSymbol type, DiagnosticBag diagnostics)
Emitter\Model\ArrayTypeSymbolAdapter.cs (16)
22Cci.ITypeReference Cci.IArrayTypeReference.GetElementType(EmitContext context) 27var type = moduleBeingBuilt.Translate(elementType.Type, syntaxNodeOpt: (CSharpSyntaxNode?)context.SyntaxNode, diagnostics: context.Diagnostics); 56bool Cci.ITypeReference.IsEnum => false; 57bool Cci.ITypeReference.IsValueType => false; 59TypeDefinitionHandle Cci.ITypeReference.TypeDef => default(TypeDefinitionHandle); 60Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode => Cci.PrimitiveTypeCode.NotPrimitive; 62Cci.ITypeDefinition? Cci.ITypeReference.GetResolvedType(EmitContext context) => null; 63Cci.IGenericMethodParameterReference? Cci.ITypeReference.AsGenericMethodParameterReference => null; 64Cci.IGenericTypeInstanceReference? Cci.ITypeReference.AsGenericTypeInstanceReference => null; 65Cci.IGenericTypeParameterReference? Cci.ITypeReference.AsGenericTypeParameterReference => null; 66Cci.INamespaceTypeDefinition? Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) => null; 67Cci.INamespaceTypeReference? Cci.ITypeReference.AsNamespaceTypeReference => null; 68Cci.INestedTypeDefinition? Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) => null; 69Cci.INestedTypeReference? Cci.ITypeReference.AsNestedTypeReference => null; 70Cci.ISpecializedNestedTypeReference? Cci.ITypeReference.AsSpecializedNestedTypeReference => null; 71Cci.ITypeDefinition? Cci.ITypeReference.AsTypeDefinition(EmitContext context) => null;
Emitter\Model\AttributeDataAdapter.cs (1)
88Cci.ITypeReference Cci.ICustomAttribute.GetType(EmitContext context)
Emitter\Model\CustomModifierAdapter.cs (1)
20Cci.ITypeReference Cci.ICustomModifier.GetModifier(EmitContext context)
Emitter\Model\EventSymbolAdapter.cs (2)
92Cci.ITypeReference Cci.IEventDefinition.GetType(EmitContext context) 123Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emitter\Model\ExpandedVarargsMethodReference.cs (3)
120Cci.ITypeReference Cci.ISignature.GetType(EmitContext context) 125Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 163IEnumerable<Cci.ITypeReference> Cci.IGenericMethodInstanceReference.GetGenericArguments(EmitContext context)
Emitter\Model\FieldSymbolAdapter.cs (3)
28Cci.ITypeReference Cci.IFieldReference.GetType(EmitContext context) 36var type = moduleBeingBuilt.Translate(implType, 88Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (15)
39bool ITypeReference.IsEnum => false; 40Cci.PrimitiveTypeCode ITypeReference.TypeCode => Cci.PrimitiveTypeCode.FunctionPointer; 41TypeDefinitionHandle ITypeReference.TypeDef => default; 42IGenericMethodParameterReference? ITypeReference.AsGenericMethodParameterReference => null; 43IGenericTypeInstanceReference? ITypeReference.AsGenericTypeInstanceReference => null; 44IGenericTypeParameterReference? ITypeReference.AsGenericTypeParameterReference => null; 45INamespaceTypeReference? ITypeReference.AsNamespaceTypeReference => null; 46INestedTypeReference? ITypeReference.AsNestedTypeReference => null; 47ISpecializedNestedTypeReference? ITypeReference.AsSpecializedNestedTypeReference => null; 48INamespaceTypeDefinition? ITypeReference.AsNamespaceTypeDefinition(EmitContext context) => null; 49INestedTypeDefinition? ITypeReference.AsNestedTypeDefinition(EmitContext context) => null; 50ITypeDefinition? ITypeReference.AsTypeDefinition(EmitContext context) => null; 51ITypeDefinition? ITypeReference.GetResolvedType(EmitContext context) => null; 52bool ITypeReference.IsValueType => AdaptedFunctionPointerTypeSymbol.IsValueType; 80public ITypeReference GetType(EmitContext context) => Underlying.GetType(context);
Emitter\Model\GenericMethodInstanceReference.cs (1)
30IEnumerable<Cci.ITypeReference> Cci.IGenericMethodInstanceReference.GetGenericArguments(EmitContext context)
Emitter\Model\GenericNestedTypeInstanceReference.cs (1)
23Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emitter\Model\GenericTypeInstanceReference.cs (2)
38ImmutableArray<Cci.ITypeReference> Cci.IGenericTypeInstanceReference.GetGenericArguments(EmitContext context) 41var builder = ArrayBuilder<Cci.ITypeReference>.GetInstance();
Emitter\Model\MethodReference.cs (1)
117Cci.ITypeReference Cci.ISignature.GetType(EmitContext context)
Emitter\Model\MethodSymbolAdapter.cs (3)
71Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 245Cci.ITypeReference Cci.ISignature.GetType(EmitContext context) 252IEnumerable<Cci.ITypeReference> Cci.IGenericMethodInstanceReference.GetGenericArguments(EmitContext context)
Emitter\Model\NamedTypeReference.cs (10)
61bool Cci.ITypeReference.IsEnum 69bool Cci.ITypeReference.IsValueType 77Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 82Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 90TypeDefinitionHandle Cci.ITypeReference.TypeDef 98Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 111Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 119Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 129Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 144Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emitter\Model\NamedTypeSymbolAdapter.cs (27)
39bool Cci.ITypeReference.IsEnum 44bool Cci.ITypeReference.IsValueType 49Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 56Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 71TypeDefinitionHandle Cci.ITypeReference.TypeDef 85Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 90Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference 106Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 111Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference 127Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 143Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference 156Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 177Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference 195Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context) 280Cci.ITypeReference Cci.ITypeDefinition.GetBaseClass(EmitContext context) 284Debug.Assert(((Cci.ITypeReference)this).AsTypeDefinition(context) != null); 471Debug.Assert(((Cci.ITypeReference)this).AsTypeDefinition(context) != null); 793Debug.Assert(((Cci.ITypeReference)this).AsNamespaceTypeReference != null); 803Debug.Assert(((Cci.ITypeReference)this).AsNamespaceTypeReference != null); 819Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context) 823Debug.Assert(((Cci.ITypeReference)this).AsNestedTypeReference != null); 855ImmutableArray<Cci.ITypeReference> Cci.IGenericTypeInstanceReference.GetGenericArguments(EmitContext context) 858var builder = ArrayBuilder<Microsoft.Cci.ITypeReference>.GetInstance(); 859Debug.Assert(((Cci.ITypeReference)this).AsGenericTypeInstanceReference != null); 865var arg = moduleBeingBuilt.Translate(arguments[i].Type, syntaxNodeOpt: (CSharpSyntaxNode)context.SyntaxNode, diagnostics: context.Diagnostics); 880Debug.Assert(((Cci.ITypeReference)this).AsGenericTypeInstanceReference != null); 893Debug.Assert(((Cci.ITypeReference)this).AsSpecializedNestedTypeReference != null);
Emitter\Model\ParameterSymbolAdapter.cs (1)
50Cci.ITypeReference Cci.IParameterTypeInformation.GetType(EmitContext context)
Emitter\Model\ParameterTypeInformation.cs (4)
51Cci.ITypeReference Cci.IParameterTypeInformation.GetType(EmitContext context) 86private readonly Cci.ITypeReference _type; 88public ArgListParameterTypeInformation(int ordinal, bool isByRef, Cci.ITypeReference type) 110Cci.ITypeReference Cci.IParameterTypeInformation.GetType(EmitContext context)
Emitter\Model\PEModuleBuilder.cs (4)
574builder.Add(new Cci.ExportedType((Cci.ITypeReference)symbol.GetCciAdapter(), parentIndex, isForwarder: false)); 825public sealed override bool IsPlatformType(Cci.ITypeReference typeRef, Cci.PlatformType platformType) 1116internal sealed override Cci.ITypeReference Translate( 1492internal Cci.ITypeReference Translate(
Emitter\Model\PointerTypeSymbolAdapter.cs (16)
21Cci.ITypeReference Cci.IPointerTypeReference.GetTargetType(EmitContext context) 23var type = ((PEModuleBuilder)context.Module).Translate(AdaptedPointerTypeSymbol.PointedAtType, syntaxNodeOpt: (CSharpSyntaxNode?)context.SyntaxNode, diagnostics: context.Diagnostics); 35bool Cci.ITypeReference.IsEnum 40bool Cci.ITypeReference.IsValueType 45Cci.ITypeDefinition? Cci.ITypeReference.GetResolvedType(EmitContext context) 50Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 55TypeDefinitionHandle Cci.ITypeReference.TypeDef 60Cci.IGenericMethodParameterReference? Cci.ITypeReference.AsGenericMethodParameterReference 65Cci.IGenericTypeInstanceReference? Cci.ITypeReference.AsGenericTypeInstanceReference 70Cci.IGenericTypeParameterReference? Cci.ITypeReference.AsGenericTypeParameterReference 75Cci.INamespaceTypeDefinition? Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 80Cci.INamespaceTypeReference? Cci.ITypeReference.AsNamespaceTypeReference 85Cci.INestedTypeDefinition? Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 90Cci.INestedTypeReference? Cci.ITypeReference.AsNestedTypeReference 95Cci.ISpecializedNestedTypeReference? Cci.ITypeReference.AsSpecializedNestedTypeReference 100Cci.ITypeDefinition? Cci.ITypeReference.AsTypeDefinition(EmitContext context)
Emitter\Model\PropertySymbolAdapter.cs (2)
203ITypeReference ISignature.GetType(EmitContext context) 237ITypeReference ITypeMemberReference.GetContainingType(EmitContext context)
Emitter\Model\SpecializedFieldReference.cs (2)
61Cci.ITypeReference Cci.IFieldReference.GetType(EmitContext context) 65var type = ((PEModuleBuilder)context.Module).Translate(oldType.Type, syntaxNodeOpt: (CSharpSyntaxNode)context.SyntaxNode, diagnostics: context.Diagnostics);
Emitter\Model\SpecializedGenericMethodInstanceReference.cs (1)
31IEnumerable<Cci.ITypeReference> Cci.IGenericMethodInstanceReference.GetGenericArguments(EmitContext context)
Emitter\Model\SpecializedGenericNestedTypeInstanceReference.cs (2)
37ImmutableArray<Cci.ITypeReference> Cci.IGenericTypeInstanceReference.GetGenericArguments(EmitContext context) 40var builder = ArrayBuilder<Cci.ITypeReference>.GetInstance();
Emitter\Model\SpecializedNestedTypeReference.cs (1)
41Cci.ITypeReference Cci.ITypeMemberReference.GetContainingType(EmitContext context)
Emitter\Model\TypeMemberReference.cs (1)
17public virtual Cci.ITypeReference GetContainingType(EmitContext context)
Emitter\Model\TypeParameterSymbolAdapter.cs (16)
31bool Cci.ITypeReference.IsEnum 36bool Cci.ITypeReference.IsValueType 41Cci.ITypeDefinition Cci.ITypeReference.GetResolvedType(EmitContext context) 46Cci.PrimitiveTypeCode Cci.ITypeReference.TypeCode 51TypeDefinitionHandle Cci.ITypeReference.TypeDef 71Cci.IGenericMethodParameterReference Cci.ITypeReference.AsGenericMethodParameterReference 86Cci.IGenericTypeInstanceReference Cci.ITypeReference.AsGenericTypeInstanceReference 106Cci.IGenericTypeParameterReference Cci.ITypeReference.AsGenericTypeParameterReference 121Cci.INamespaceTypeDefinition Cci.ITypeReference.AsNamespaceTypeDefinition(EmitContext context) 126Cci.INamespaceTypeReference Cci.ITypeReference.AsNamespaceTypeReference 131Cci.INestedTypeDefinition Cci.ITypeReference.AsNestedTypeDefinition(EmitContext context) 136Cci.INestedTypeReference Cci.ITypeReference.AsNestedTypeReference 141Cci.ISpecializedNestedTypeReference Cci.ITypeReference.AsSpecializedNestedTypeReference 146Cci.ITypeDefinition Cci.ITypeReference.AsTypeDefinition(EmitContext context) 223Cci.ITypeReference Cci.IGenericTypeParameterReference.DefiningType 265var typeRef = moduleBeingBuilt.Translate(type.Type,
Emitter\NoPia\EmbeddedEvent.cs (1)
44protected override Cci.ITypeReference GetType(PEModuleBuilder moduleBuilder, SyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics)
Emitter\NoPia\EmbeddedType.cs (1)
82protected override Cci.ITypeReference GetBaseClass(PEModuleBuilder moduleBuilder, SyntaxNode syntaxNodeOpt, DiagnosticBag diagnostics)
Symbols\TypeSymbolExtensions.cs (1)
1996Cci.ITypeReference typeRef)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Emit\EditAndContinue\SymbolMatcherTests.cs (5)
396var other = matcher.MapReference(member.GetCciAdapter()); 436var other = matcher.MapReference(member.GetCciAdapter()); 477var other = matcher.MapReference(member.GetCciAdapter()); 520var other = matcher.MapReference((Cci.ITypeReference)member.Type.GetCciAdapter());
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
EEAssemblyBuilder.cs (3)
139Cci.ITypeReference type, 152public override bool TryGetPreviousHoistedLocalSlotIndex(SyntaxNode currentDeclarator, Cci.ITypeReference currentType, SynthesizedLocalKind synthesizedKind, LocalDebugId currentId, DiagnosticBag diagnostics, out int slotIndex) 158public override bool TryGetPreviousAwaiterSlotIndex(Cci.ITypeReference currentType, DiagnosticBag diagnostics, out int slotIndex)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (15)
NamespaceTypeDefinitionNoBase.cs (15)
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; 54bool ITypeReference.IsEnum => UnderlyingType.IsEnum; 72bool ITypeReference.IsValueType => UnderlyingType.IsValueType; 94TypeDefinitionHandle ITypeReference.TypeDef => UnderlyingType.TypeDef; 98INamespaceTypeDefinition ITypeReference.AsNamespaceTypeDefinition(EmitContext context) => UnderlyingType.AsNamespaceTypeDefinition(context); 100INestedTypeDefinition ITypeReference.AsNestedTypeDefinition(EmitContext context) => UnderlyingType.AsNestedTypeDefinition(context); 102ITypeDefinition ITypeReference.AsTypeDefinition(EmitContext context) => UnderlyingType.AsTypeDefinition(context); 108ITypeReference ITypeDefinition.GetBaseClass(EmitContext context) => null; 120ITypeDefinition ITypeReference.GetResolvedType(EmitContext context) => UnderlyingType.GetResolvedType(context); 126Cci.PrimitiveTypeCode ITypeReference.TypeCode => UnderlyingType.TypeCode;
Microsoft.CodeAnalysis.UnitTests (5)
PEWriter\UsedNamespaceOrTypeTests.cs (5)
47var ref1 = CreateEqualsInterface<ITypeReference>("ref1"); 48var ref2 = CreateEqualsInterface<ITypeReference>("ref2"); 67var type1 = CreateEqualsInterface<ITypeReference>("type name"); 68var type2 = CreateEqualsInterface<ITypeReference>("type name"); 69var type3 = CreateEqualsInterface<ITypeReference>("other type name");
Microsoft.CodeAnalysis.VisualBasic (121)
CodeGen\EmitStatement.vb (1)
196Dim exceptionType As Cci.ITypeReference
Compilation\MethodCompiler.vb (3)
1661Dim stateMachineAwaiterSlots As ImmutableArray(Of Cci.ITypeReference) = Nothing 1704ByRef awaiterSlots As ImmutableArray(Of Cci.ITypeReference)) 1707Dim awaiters = ArrayBuilder(Of Cci.ITypeReference).GetInstance()
Compilation\NamespaceScopeBuilder.vb (1)
68Private Shared Function GetTypeReference(type As TypeSymbol, moduleBuilder As CommonPEModuleBuilder, diagnostics As DiagnosticBag) As Cci.ITypeReference
Emit\ArrayTypeSymbolAdapter.vb (15)
19Private Function IArrayTypeReferenceGetElementType(context As EmitContext) As Cci.ITypeReference Implements Cci.IArrayTypeReference.GetElementType 55Private ReadOnly Property ITypeReferenceIsEnum As Boolean Implements Cci.ITypeReference.IsEnum 61Private ReadOnly Property ITypeReferenceIsValueType As Boolean Implements Cci.ITypeReference.IsValueType 67Private Function ITypeReferenceGetResolvedType(context As EmitContext) As Cci.ITypeDefinition Implements Cci.ITypeReference.GetResolvedType 71Private ReadOnly Property ITypeReferenceTypeCode As Cci.PrimitiveTypeCode Implements Cci.ITypeReference.TypeCode 77Private ReadOnly Property ITypeReferenceTypeDef As TypeDefinitionHandle Implements Cci.ITypeReference.TypeDef 83Private ReadOnly Property ITypeReferenceAsGenericMethodParameterReference As Cci.IGenericMethodParameterReference Implements Cci.ITypeReference.AsGenericMethodParameterReference 89Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference 95Private ReadOnly Property ITypeReferenceAsGenericTypeParameterReference As Cci.IGenericTypeParameterReference Implements Cci.ITypeReference.AsGenericTypeParameterReference 101Private Function ITypeReferenceAsNamespaceTypeDefinition(context As EmitContext) As Cci.INamespaceTypeDefinition Implements Cci.ITypeReference.AsNamespaceTypeDefinition 105Private ReadOnly Property ITypeReferenceAsNamespaceTypeReference As Cci.INamespaceTypeReference Implements Cci.ITypeReference.AsNamespaceTypeReference 111Private Function ITypeReferenceAsNestedTypeDefinition(context As EmitContext) As Cci.INestedTypeDefinition Implements Cci.ITypeReference.AsNestedTypeDefinition 115Private ReadOnly Property ITypeReferenceAsNestedTypeReference As Cci.INestedTypeReference Implements Cci.ITypeReference.AsNestedTypeReference 121Private ReadOnly Property ITypeReferenceAsSpecializedNestedTypeReference As Cci.ISpecializedNestedTypeReference Implements Cci.ITypeReference.AsSpecializedNestedTypeReference 127Private Function ITypeReferenceAsTypeDefinition(context As EmitContext) As Cci.ITypeDefinition Implements Cci.ITypeReference.AsTypeDefinition
Emit\AttributeDataAdapter.vb (1)
54Private Function GetType1(context As EmitContext) As Cci.ITypeReference Implements Cci.ICustomAttribute.GetType
Emit\CustomModifierAdapter.vb (1)
19Private Function CciGetModifier(context As EmitContext) As Cci.ITypeReference Implements Cci.ICustomModifier.GetModifier
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
84Friend Overrides Function EncTranslateLocalVariableType(type As TypeSymbol, diagnostics As DiagnosticBag) As ITypeReference
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (5)
139<Out> ByRef awaiterMap As IReadOnlyDictionary(Of Cci.ITypeReference, Integer), 145Dim awaiters = New Dictionary(Of Cci.ITypeReference, Integer)(DirectCast(Cci.SymbolEquivalentEqualityComparer.Instance, IEqualityComparer(Of Cci.IReference))) 160awaiters(DirectCast(field.Type.GetCciAdapter(), Cci.ITypeReference)) = slotIndex 181Dim key = New EncHoistedLocalInfo(localSlotDebugInfo(slotIndex), DirectCast(field.Type.GetCciAdapter(), Cci.ITypeReference)) 233Dim local = New EncLocalInfo(slot, DirectCast(metadata.Type.GetCciAdapter(), Cci.ITypeReference), metadata.Constraints, metadata.SignatureOpt)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (3)
61Public Overrides Function MapReference(reference As Cci.ITypeReference) As Cci.ITypeReference 64Return DirectCast(_symbols.Visit(symbol)?.GetCciAdapter(), Cci.ITypeReference)
Emit\EventSymbolAdapter.vb (2)
83Private Overloads Function IEventDefinitionGetType(context As EmitContext) As Cci.ITypeReference Implements Cci.IEventDefinition.GetType 103Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As Cci.ITypeReference Implements Cci.ITypeMemberReference.GetContainingType
Emit\FieldSymbolAdapter.vb (2)
24Private Function IFieldReferenceGetType(context As EmitContext) As ITypeReference Implements IFieldReference.GetType 73Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As ITypeReference Implements ITypeMemberReference.GetContainingType
Emit\GenericMethodInstanceReference.vb (1)
26Private Function IGenericMethodInstanceReferenceGetGenericArguments(context As EmitContext) As IEnumerable(Of Cci.ITypeReference) Implements Cci.IGenericMethodInstanceReference.GetGenericArguments
Emit\GenericNestedTypeInstanceReference.vb (1)
22Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As Cci.ITypeReference Implements Cci.ITypeMemberReference.GetContainingType
Emit\GenericTypeInstanceReference.vb (2)
39Private Function IGenericTypeInstanceReferenceGetGenericArguments(context As EmitContext) As ImmutableArray(Of Cci.ITypeReference) Implements Cci.IGenericTypeInstanceReference.GetGenericArguments 42Dim builder = ArrayBuilder(Of ITypeReference).GetInstance()
Emit\MethodReference.vb (1)
90Private Function ISignatureGetType(context As EmitContext) As Cci.ITypeReference Implements Cci.ISignature.GetType
Emit\MethodSymbolAdapter.vb (3)
55Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As Cci.ITypeReference Implements Cci.ITypeMemberReference.GetContainingType 196Private Function ISignatureGetType(context As EmitContext) As Cci.ITypeReference Implements Cci.ISignature.GetType 203Private Function IGenericMethodInstanceReferenceGetGenericArguments(context As EmitContext) As IEnumerable(Of Cci.ITypeReference) Implements Cci.IGenericMethodInstanceReference.GetGenericArguments
Emit\NamedTypeReference.vb (14)
46Private ReadOnly Property ITypeReferenceIsEnum As Boolean Implements Cci.ITypeReference.IsEnum 52Private ReadOnly Property ITypeReferenceIsValueType As Boolean Implements Cci.ITypeReference.IsValueType 58Private Function ITypeReferenceGetResolvedType(context As EmitContext) As Cci.ITypeDefinition Implements Cci.ITypeReference.GetResolvedType 62Private ReadOnly Property ITypeReferenceTypeCode As Cci.PrimitiveTypeCode Implements Cci.ITypeReference.TypeCode 68Private ReadOnly Property ITypeReferenceTypeDef As TypeDefinitionHandle Implements Cci.ITypeReference.TypeDef 74Private ReadOnly Property ITypeReferenceAsGenericMethodParameterReference As Cci.IGenericMethodParameterReference Implements Cci.ITypeReference.AsGenericMethodParameterReference 80Public MustOverride ReadOnly Property AsGenericTypeInstanceReference As Cci.IGenericTypeInstanceReference Implements Cci.ITypeReference.AsGenericTypeInstanceReference 82Private ReadOnly Property ITypeReferenceAsGenericTypeParameterReference As Cci.IGenericTypeParameterReference Implements Cci.ITypeReference.AsGenericTypeParameterReference 88Private Function ITypeReferenceAsNamespaceTypeDefinition(context As EmitContext) As Cci.INamespaceTypeDefinition Implements Cci.ITypeReference.AsNamespaceTypeDefinition 92Public MustOverride ReadOnly Property AsNamespaceTypeReference As Cci.INamespaceTypeReference Implements Cci.ITypeReference.AsNamespaceTypeReference 94Private Function ITypeReferenceAsNestedTypeDefinition(context As EmitContext) As Cci.INestedTypeDefinition Implements Cci.ITypeReference.AsNestedTypeDefinition 98Public MustOverride ReadOnly Property AsNestedTypeReference As Cci.INestedTypeReference Implements Cci.ITypeReference.AsNestedTypeReference 100Public MustOverride ReadOnly Property AsSpecializedNestedTypeReference As Cci.ISpecializedNestedTypeReference Implements Cci.ITypeReference.AsSpecializedNestedTypeReference 102Private Function ITypeReferenceAsTypeDefinition(context As EmitContext) As Cci.ITypeDefinition Implements Cci.ITypeReference.AsTypeDefinition
Emit\NamedTypeSymbolAdapter.vb (32)
33Private ReadOnly Property ITypeReferenceIsEnum As Boolean Implements ITypeReference.IsEnum 40Private ReadOnly Property ITypeReferenceIsValueType As Boolean Implements ITypeReference.IsValueType 47Private Function ITypeReferenceGetResolvedType(context As EmitContext) As ITypeDefinition Implements ITypeReference.GetResolvedType 53Private ReadOnly Property ITypeReferenceTypeCode As Cci.PrimitiveTypeCode Implements ITypeReference.TypeCode 64Private ReadOnly Property ITypeReferenceTypeDef As TypeDefinitionHandle Implements ITypeReference.TypeDef 76Private ReadOnly Property ITypeReferenceAsGenericMethodParameterReference As IGenericMethodParameterReference Implements ITypeReference.AsGenericMethodParameterReference 83Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference 94Private ReadOnly Property ITypeReferenceAsGenericTypeParameterReference As IGenericTypeParameterReference Implements ITypeReference.AsGenericTypeParameterReference 101Private ReadOnly Property ITypeReferenceAsNamespaceTypeReference As INamespaceTypeReference Implements ITypeReference.AsNamespaceTypeReference 112Private Function ITypeReferenceAsNamespaceTypeDefinition(context As EmitContext) As INamespaceTypeDefinition Implements ITypeReference.AsNamespaceTypeDefinition 122Private ReadOnly Property ITypeReferenceAsNestedTypeReference As INestedTypeReference Implements ITypeReference.AsNestedTypeReference 132Private Function ITypeReferenceAsNestedTypeDefinition(context As EmitContext) As INestedTypeDefinition Implements ITypeReference.AsNestedTypeDefinition 146Private ReadOnly Property ITypeReferenceAsSpecializedNestedTypeReference As ISpecializedNestedTypeReference Implements ITypeReference.AsSpecializedNestedTypeReference 158Private Function ITypeReferenceAsTypeDefinition(context As EmitContext) As ITypeDefinition Implements ITypeReference.AsTypeDefinition 181Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing) 184Debug.Assert((DirectCast(Me, ITypeReference)).AsSpecializedNestedTypeReference IsNot Nothing) 192Debug.Assert((DirectCast(Me, ITypeReference)).AsNamespaceTypeDefinition(visitor.Context) IsNot Nothing) 195Debug.Assert((DirectCast(Me, ITypeReference)).AsNamespaceTypeReference IsNot Nothing) 200Debug.Assert((DirectCast(Me, ITypeReference)).AsNestedTypeDefinition(visitor.Context) IsNot Nothing) 203Debug.Assert((DirectCast(Me, ITypeReference)).AsNestedTypeReference IsNot Nothing) 223Private Function ITypeDefinitionGetBaseClass(context As EmitContext) As ITypeReference Implements ITypeDefinition.GetBaseClass 226Debug.Assert((DirectCast(Me, ITypeReference)).AsTypeDefinition(context) IsNot Nothing) 413Debug.Assert((DirectCast(Me, ITypeReference)).AsTypeDefinition(context) IsNot Nothing) 776Debug.Assert((DirectCast(Me, ITypeReference)).AsNamespaceTypeReference IsNot Nothing) 782Debug.Assert((DirectCast(Me, ITypeReference)).AsNamespaceTypeReference IsNot Nothing) 795Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As ITypeReference Implements ITypeMemberReference.GetContainingType 798Debug.Assert((DirectCast(Me, ITypeReference)).AsNestedTypeReference IsNot Nothing) 825Private Function IGenericTypeInstanceReferenceGetGenericArguments(context As EmitContext) As ImmutableArray(Of ITypeReference) Implements IGenericTypeInstanceReference.GetGenericArguments 827Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing) 831Dim builder = ArrayBuilder(Of ITypeReference).GetInstance() 850Debug.Assert((DirectCast(Me, ITypeReference)).AsGenericTypeInstanceReference IsNot Nothing) 863Debug.Assert((DirectCast(Me, ITypeReference)).AsSpecializedNestedTypeReference IsNot Nothing)
Emit\NoPia\EmbeddedEvent.vb (1)
37Protected Overrides Function [GetType](moduleBuilder As PEModuleBuilder, syntaxNodeOpt As SyntaxNode, diagnostics As DiagnosticBag) As Cci.ITypeReference
Emit\NoPia\EmbeddedType.vb (1)
69Protected Overrides Function GetBaseClass(moduleBuilder As PEModuleBuilder, syntaxNodeOpt As SyntaxNode, diagnostics As DiagnosticBag) As Cci.ITypeReference
Emit\ParameterSymbolAdapter.vb (1)
39Private Function IParameterTypeInformationGetType(context As EmitContext) As ITypeReference Implements IParameterTypeInformation.GetType
Emit\ParameterTypeInformation.vb (1)
39Private Function IParameterTypeInformationGetType(context As EmitContext) As Cci.ITypeReference Implements Cci.IParameterTypeInformation.GetType
Emit\PEModuleBuilder.vb (2)
439Dim typeReference As Cci.ITypeReference = exportedType.Type 614Public NotOverridable Overrides Function IsPlatformType(typeRef As Cci.ITypeReference, platformType As Cci.PlatformType) As Boolean
Emit\PropertySymbolAdapter.vb (2)
141Private Function ISignatureGetType(context As EmitContext) As ITypeReference Implements ISignature.GetType 160Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As ITypeReference Implements ITypeMemberReference.GetContainingType
Emit\SpecializedFieldReference.vb (1)
53Private Function IFieldReferenceGetType(context As EmitContext) As Cci.ITypeReference Implements Cci.IFieldReference.GetType
Emit\SpecializedGenericMethodInstanceReference.vb (1)
33Public Function GetGenericArguments(context As EmitContext) As IEnumerable(Of Cci.ITypeReference) Implements Cci.IGenericMethodInstanceReference.GetGenericArguments
Emit\SpecializedGenericNestedTypeInstanceReference.vb (2)
34Private Function IGenericTypeInstanceReferenceGetGenericArguments(context As EmitContext) As ImmutableArray(Of Cci.ITypeReference) Implements Cci.IGenericTypeInstanceReference.GetGenericArguments 37Dim builder = ArrayBuilder(Of Cci.ITypeReference).GetInstance()
Emit\SpecializedNestedTypeReference.vb (1)
36Private Function ITypeMemberReferenceGetContainingType(context As EmitContext) As Cci.ITypeReference Implements Cci.ITypeMemberReference.GetContainingType
Emit\SymbolTranslator.vb (1)
250) As Microsoft.Cci.ITypeReference
Emit\TypeMemberReference.vb (1)
14Public Overridable Function GetContainingType(context As EmitContext) As Cci.ITypeReference Implements Cci.ITypeMemberReference.GetContainingType
Emit\TypeParameterSymbolAdapter.vb (16)
25Private ReadOnly Property ITypeReferenceIsEnum As Boolean Implements ITypeReference.IsEnum 31Private ReadOnly Property ITypeReferenceIsValueType As Boolean Implements ITypeReference.IsValueType 37Private Function ITypeReferenceGetResolvedType(context As EmitContext) As ITypeDefinition Implements ITypeReference.GetResolvedType 41Private ReadOnly Property ITypeReferenceTypeCode As Cci.PrimitiveTypeCode Implements ITypeReference.TypeCode 47Private ReadOnly Property ITypeReferenceTypeDef As TypeDefinitionHandle Implements ITypeReference.TypeDef 64Private ReadOnly Property ITypeReferenceAsGenericMethodParameterReference As IGenericMethodParameterReference Implements ITypeReference.AsGenericMethodParameterReference 76Private ReadOnly Property ITypeReferenceAsGenericTypeInstanceReference As IGenericTypeInstanceReference Implements ITypeReference.AsGenericTypeInstanceReference 94Private ReadOnly Property ITypeReferenceAsGenericTypeParameterReference As IGenericTypeParameterReference Implements ITypeReference.AsGenericTypeParameterReference 106Private Function ITypeReferenceAsNamespaceTypeDefinition(context As EmitContext) As INamespaceTypeDefinition Implements ITypeReference.AsNamespaceTypeDefinition 110Private ReadOnly Property ITypeReferenceAsNamespaceTypeReference As INamespaceTypeReference Implements ITypeReference.AsNamespaceTypeReference 116Private Function ITypeReferenceAsNestedTypeDefinition(context As EmitContext) As INestedTypeDefinition Implements ITypeReference.AsNestedTypeDefinition 120Private ReadOnly Property ITypeReferenceAsNestedTypeReference As INestedTypeReference Implements ITypeReference.AsNestedTypeReference 126Private ReadOnly Property ITypeReferenceAsSpecializedNestedTypeReference As ISpecializedNestedTypeReference Implements ITypeReference.AsSpecializedNestedTypeReference 132Private Function ITypeReferenceAsTypeDefinition(context As EmitContext) As ITypeDefinition Implements ITypeReference.AsTypeDefinition 187Private ReadOnly Property IGenericTypeParameterReferenceDefiningType As ITypeReference Implements IGenericTypeParameterReference.DefiningType 203Dim typeRef As ITypeReference = _module.Translate(t,
Symbols\TypeSymbolExtensions.vb (1)
1282Friend Function GetTypeRefWithAttributes(type As TypeSymbol, declaringCompilation As VisualBasicCompilation, typeRef As Cci.ITypeReference) As Cci.TypeReferenceWithAttributes
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\SymbolMatcherTests.vb (1)
295Dim other = matcher.MapReference(DirectCast(member.Type.GetCciAdapter(), Cci.ITypeReference))
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (3)
EEAssemblyBuilder.vb (3)
144type As ITypeReference, 173Public Overrides Function TryGetPreviousHoistedLocalSlotIndex(currentDeclarator As SyntaxNode, currentType As ITypeReference, synthesizedKind As SynthesizedLocalKind, currentId As LocalDebugId, diagnostics As DiagnosticBag, <Out> ByRef slotIndex As Integer) As Boolean 178Public Overrides Function TryGetPreviousAwaiterSlotIndex(currentType As ITypeReference, diagnostics As DiagnosticBag, <Out> ByRef slotIndex As Integer) As Boolean