Open
Description
Commit 7b4d4b8 added SourceLink support, but noted:
TODO:
…
What should be done about generated files?
Looks like there is a csc /embed
option which embeds all source code into a .pdb
file: dotnet/roslyn#12625
It also looks like the $(EmbedAllSources)
MSBuild property controls csc /embed
:
- Need to expose /embed compiler option through MSBuild roslyn#19127
- Add EmbedAllSources build task parameter roslyn#23656
This suggests that if we set $(EmbedAllSources)
=true in Mono.Android.csproj
, Mono.Android.pdb
would contain all generated source code, meaning you could plausibly step into Java.Lang.Object.Clone()
.
On the one hand, that sounds awesome.
On the other hand, we generate 179MB of generated C# source code for API-34. What would that do to the .pdb
?