2 interfaces inheriting from IUnitReference
Microsoft.CodeAnalysis (2)
PEWriter\Units.cs (2)
72internal interface IModuleReference : IUnitReference 84internal interface IUnit : IUnitReference, IDefinition
22 references to IUnitReference
Microsoft.CodeAnalysis (22)
CodeGen\PrivateImplementationDetails.cs (1)
444public Cci.IUnitReference GetUnit(EmitContext context)
Emit\ErrorType.cs (1)
29Cci.IUnitReference Cci.INamespaceTypeReference.GetUnit(EmitContext context)
Emit\NoPia\CommonEmbeddedType.cs (1)
697Cci.IUnitReference Cci.INamespaceTypeReference.GetUnit(EmitContext context)
PEWriter\MetadataVisitor.cs (6)
36this.Visit((IUnitReference)assemblyReference); 367this.Visit((IUnitReference)moduleReference); 677public void Visit(IEnumerable<IUnitReference> unitReferences) 679foreach (IUnitReference unitReference in unitReferences) 685public virtual void Visit(IUnitReference unitReference) 696private void DispatchAsReference(IUnitReference unitReference)
PEWriter\MetadataWriter.cs (7)
642public static IUnitReference GetDefiningUnitReference(ITypeReference typeReference, EmitContext context) 727IUnitReference definingUnit = GetDefiningUnitReference(methodReference.GetContainingType(Context), Context); 830IUnitReference definingUnit = GetDefiningUnitReference(fieldReference.GetContainingType(Context), Context); 898IUnitReference uref = namespaceRef.GetUnit(Context); 967IUnitReference definingUnit = GetDefiningUnitReference(methodReference.GetContainingType(Context), Context); 1172IUnitReference definingUnit = GetDefiningUnitReference(methodReference.GetContainingType(Context), Context); 1295private EntityHandle GetResolutionScopeHandle(IUnitReference unitReference)
PEWriter\ReferenceIndexer.cs (1)
51var definingUnit = MetadataWriter.GetDefiningUnitReference(exportedType, Context);
PEWriter\ReferenceIndexerBase.cs (3)
64IUnitReference definingUnit = MetadataWriter.GetDefiningUnitReference(fieldReference.GetContainingType(Context), Context); 156IUnitReference definingUnit = MetadataWriter.GetDefiningUnitReference(methodReference.GetContainingType(Context), Context); 207var unit = namespaceTypeReference.GetUnit(Context);
PEWriter\RootModuleType.cs (1)
246IUnitReference INamespaceTypeReference.GetUnit(EmitContext context)
PEWriter\Types.cs (1)
308IUnitReference GetUnit(EmitContext context);