protected override void OnGetTypesCompleted(ImmutableArray <EmbeddedType> types, DiagnosticBag diagnostics) { foreach (EmbeddedType t in types) { // Note, once we reached this point we are no longer interested in guid values, using null. assemblyGuidMap.TryAdd(t.UnderlyingNamedType.ContainingAssembly, null); } foreach (AssemblySymbol a in ModuleBeingBuilt.GetReferencedAssembliesUsedSoFar()) { ReportIndirectReferencesToLinkedAssemblies(a, diagnostics); } }
Microsoft.Cci.ITypeReference Microsoft.Cci.IFieldReference.GetType(object m) { var customModifiers = UnderlyingField.CustomModifiers; if (customModifiers.Count == 0) { return(ModuleBeingBuilt.Translate(UnderlyingField.Type)); } else { return(new ModifiedTypeReference(ModuleBeingBuilt, UnderlyingField.Type, customModifiers)); } }