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