Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Can't have ANIs that differ only by generic type arguments #1144

Closed
DamianEdwards opened this issue Jan 28, 2015 · 4 comments
Closed

Can't have ANIs that differ only by generic type arguments #1144

DamianEdwards opened this issue Jan 28, 2015 · 4 comments
Assignees
Milestone

Comments

@DamianEdwards
Copy link
Member

Consider these two ANIs:

[Runtime.AssemblyNeutral]
public interface ILogger { }

[Runtime.AssemblyNeutral]
public interface ILogger<T> : ILogger { }

Trying to build projects that consume these interface results in an error like:

error CS7069: Reference to type 'ILogger' claims it is defined in 'Microsoft.Framework.Logging.ILogger', but it could not be found
@DamianEdwards DamianEdwards added this to the 1.0.0-rc1 milestone Jan 28, 2015
@borgdylan
Copy link

This makes assemblies with backticks in the name like Msft.Frmk.Runtime.ILogger`1? I need to know this so my compiler support is coherent with this

@davidfowl
Copy link
Member

Yes

@borgdylan
Copy link

Ok thanks. I will release a new support package for my compiler that is coherent with roslyn's output.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants