Repository navigation
Closed
Milestone
Description
In the Preview1 api-diff PR in dotnet/core, we found that ref file was malformed: the return values of some of the members of ConfigurationManager do not have the proper API full name formed.
The ask is to run dotnet build /t:GenerateReferenceSource under the Microsoft.Extensions.Configuration folder to regenerate the ref file automatically and the fullnames are added properly.
runtime/src/libraries/Microsoft.Extensions.Configuration/ref/Microsoft.Extensions.Configuration.cs
Lines 32 to 45 in 6033ef2
| public sealed partial class ConfigurationManager : Microsoft.Extensions.Configuration.IConfigurationBuilder, Microsoft.Extensions.Configuration.IConfigurationRoot, System.IDisposable | |
| { | |
| public ConfigurationManager() { } | |
| public string? this[string key] { get { throw null; } set { throw null; } } | |
| public IConfigurationSection GetSection(string key) { throw null; } | |
| public System.Collections.Generic.IEnumerable<IConfigurationSection> GetChildren() { throw null; } | |
| public void Dispose() { throw null; } | |
| System.Collections.Generic.IDictionary<string, object> IConfigurationBuilder.Properties { get { throw null; } } | |
| System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationSource> IConfigurationBuilder.Sources { get { throw null; } } | |
| Microsoft.Extensions.Configuration.IConfigurationBuilder IConfigurationBuilder.Add(Microsoft.Extensions.Configuration.IConfigurationSource source) { throw null; } | |
| Microsoft.Extensions.Configuration.IConfigurationRoot IConfigurationBuilder.Build() { throw null; } | |
| System.Collections.Generic.IEnumerable<IConfigurationProvider> IConfigurationRoot.Providers { get { throw null; } } | |
| void IConfigurationRoot.Reload() { throw null; } | |
| Primitives.IChangeToken IConfiguration.GetReloadToken() { throw null; } |
Activity
maryamariyan commentedon Mar 1, 2022
cc @ViktorHofer with your work with ref files would this still need to happen?
ViktorHofer commentedon Mar 1, 2022
Depends on timing as I don't know when my change will be ready. I recommend to meanwhile fix this.
ericstj commentedon Mar 22, 2022
Fixed in #66485