3 instantiations of Configuration
System.Configuration.ConfigurationManager (3)
System\Configuration\ClientConfigurationHost.cs (1)
485Configuration configuration = new Configuration(null, typeof(ClientConfigurationHost), fileMap, exePath, configPath);
System\Configuration\Configuration.cs (1)
161return new Configuration(locationSubPath, _typeConfigHost, _hostInitConfigurationParams);
System\Configuration\Internal\InternalConfigConfigurationFactory.cs (1)
14return new Configuration(null, typeConfigHost, hostInitConfigurationParams);
63 references to Configuration
Microsoft.Build (10)
Definition\ToolsetConfigurationReader.cs (7)
33private readonly Func<Configuration> _readApplicationConfiguration; 51private static readonly Lazy<Configuration> s_configurationCache = new Lazy<Configuration>(ReadOpenMappedExeConfiguration); 69internal ToolsetConfigurationReader(PropertyDictionary<ProjectPropertyInstance> environmentProperties, PropertyDictionary<ProjectPropertyInstance> globalProperties, Func<Configuration> readApplicationConfiguration) 134Configuration configuration = _readApplicationConfiguration(); 261private static Configuration ReadApplicationConfiguration() 266private static Configuration ReadOpenMappedExeConfiguration()
ToolsetElement.cs (3)
29private static Configuration s_configurationOfCachedSection; 31internal static ToolsetConfigurationSection ReadToolsetConfigurationSection(Configuration configuration) 55private static ToolsetConfigurationSection GetToolsetConfigurationSection(Configuration configuration)
Microsoft.Build.Engine.UnitTests (19)
Definition\ToolsetConfigurationReader_Tests.cs (18)
46Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 74Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 110Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 136Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 176Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 219Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 247Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 273Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 300Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 339Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 364Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 390Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 416Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 444Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 479Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 532Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 624Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest(); 657Configuration config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
Definition\ToolsetConfigurationReaderTestHelper.cs (1)
66internal static Configuration ReadApplicationConfigurationTest()
Microsoft.Build.Utilities.Core (3)
ToolsetElement.cs (3)
29private static Configuration s_configurationOfCachedSection; 31internal static ToolsetConfigurationSection ReadToolsetConfigurationSection(Configuration configuration) 55private static ToolsetConfigurationSection GetToolsetConfigurationSection(Configuration configuration)
System.Configuration (1)
System.Configuration.cs (1)
9[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.Configuration))]
System.Configuration.ConfigurationManager (29)
System\Configuration\BaseConfigurationRecord.cs (1)
236internal Configuration CurrentConfiguration => _configRoot.CurrentConfiguration;
System\Configuration\ClientConfigurationHost.cs (2)
426internal static Configuration OpenExeConfiguration(ConfigurationFileMap fileMap, bool isMachine, 485Configuration configuration = new Configuration(null, typeof(ClientConfigurationHost), fileMap, exePath, configPath);
System\Configuration\ClientSettingsStore.cs (7)
27private static Configuration GetUserConfig(bool isRoaming) 35private static ClientSettingsSection GetConfigSection(Configuration config, string sectionName, bool declare) 57private static void DeclareSection(Configuration config, string sectionName) 135Configuration config = ConfigurationManager.OpenMappedExeConfiguration(fileMap, userLevel); 161Configuration config = GetUserConfig(isRoaming); 179Configuration config = GetUserConfig(isRoaming); 281internal static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel)
System\Configuration\Configuration.cs (1)
159internal Configuration OpenLocationConfiguration(string locationSubPath)
System\Configuration\ConfigurationElement.cs (1)
227public Configuration CurrentConfiguration => _configRecord?.CurrentConfiguration;
System\Configuration\ConfigurationLocation.cs (3)
8private readonly Configuration _config; 10internal ConfigurationLocation(Configuration config, string locationSubPath) 18public Configuration OpenConfiguration()
System\Configuration\ConfigurationManager.cs (9)
169public static Configuration OpenMachineConfiguration() 174public static Configuration OpenMappedMachineConfiguration(ConfigurationFileMap fileMap) 179public static Configuration OpenExeConfiguration(ConfigurationUserLevel userLevel) 184public static Configuration OpenExeConfiguration(string exePath) 189public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, 195public static Configuration OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap, 201private static Configuration OpenExeConfigurationImpl(ConfigurationFileMap fileMap, bool isMachine, 214Configuration config = ClientConfigurationHost.OpenExeConfiguration(fileMap, isMachine, userLevel, exePath); 222private static void PreloadConfiguration(Configuration configuration)
System\Configuration\Internal\IInternalConfigConfigurationFactory.cs (1)
10Configuration Create(Type typeConfigHost, params object[] hostInitConfigurationParams);
System\Configuration\Internal\InternalConfigConfigurationFactory.cs (1)
10Configuration IInternalConfigConfigurationFactory.Create(
System\Configuration\Internal\InternalConfigRoot.cs (2)
25internal InternalConfigRoot(Configuration currentConfiguration, UpdateConfigHost host) 37internal Configuration CurrentConfiguration { get; }
System\Configuration\MgmtConfigurationRecord.cs (1)
285internal ConfigurationLocationCollection GetLocationCollection(Configuration config)
System.Windows.Forms.Tests (1)
System\Windows\Forms\UserConfigDisposableFixture.cs (1)
22var configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);