e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
20 lines
687 B
C#
20 lines
687 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="NullRuntimeConfig.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.Configuration {
|
|
|
|
//
|
|
// Return null in LKG scenarios where we cannot even get CachedPathData for machine.config.
|
|
//
|
|
internal class NullRuntimeConfig : RuntimeConfig {
|
|
internal NullRuntimeConfig() : base(null, true) {}
|
|
|
|
protected override object GetSectionObject(string sectionName) {
|
|
return null;
|
|
}
|
|
}
|
|
}
|