System.Configuration.ConfigurationErrorsException.GetUnsafeConfigErrorInfoFilename C# (CSharp) Method

GetUnsafeConfigErrorInfoFilename() private static method

private static GetUnsafeConfigErrorInfoFilename ( IConfigErrorInfo errorInfo ) : string
errorInfo IConfigErrorInfo
return string
        private static string GetUnsafeConfigErrorInfoFilename(IConfigErrorInfo errorInfo) {
            if (errorInfo != null) {
                return errorInfo.Filename;
            }
            else {
                return null;
            }
        }