Fred Silberberg

Results 412 comments of Fred Silberberg

Sorry, I've been getting ready for vacation and am now actually on vacation, so it'll be a bit before I can get to a real computer to rebase.

@agottardo I'm back from vacation and was able to rebase this. As a general piece of feedback, since the contribution guidelines at this point are "we're working on it", trying...

Thanks @barnstar, @agottardo, and @kari-ts! Glad to see this finally make it in!

> In other words, the idea is to allow types that are visible to the runtime but not the compiler? Precisely.

> Why not just add a flag to Obsolete to specify this behavior? My concern with this is that the BCL may want to do this in libraries that are...

No, it is not the same. You could polyfill BinaryCompatAttribute.

> If we were to change how Obsolete(error=true) behaves, the outcome would be overload resolution would work differently and programs which previously didn't compile would now compile - is that...

> > My concern with this is that the BCL may want to do this in libraries that are still targeting netstandard2.0. It's certainly something we can discuss though. >...

@ds5678 I am unsure what you mean by that or how it applies here.

This is something that I somewhat expect we will need natural typing to solve. `new[] { $"" }` works here for a simple reason: it isn't target-typed. If you look...