mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* t16.exe.result t17.exe.result t18.exe.result : removed. * t32.cs t32.exe.expected t32.exe.config : new test from bug #77957. * Makefile : use diff --strip-trailing-cr instead of cmp so that it works fine on windows. (added ChangeLog as well.) svn path=/trunk/mcs/; revision=59986
20 lines
518 B
C#
20 lines
518 B
C#
using System;
|
|
using System.Configuration;
|
|
class TESt
|
|
{
|
|
public static void Main ()
|
|
{
|
|
try {
|
|
Configuration c = ConfigurationManager.OpenExeConfiguration (
|
|
ConfigurationUserLevel.None);
|
|
ApplicationSettingsGroup g = c.SectionGroups ["applicationSettings"]
|
|
as ApplicationSettingsGroup;
|
|
ConfigurationSection s = g.Sections ["test.Properties.Settings"];
|
|
Console.WriteLine ("RequirePermission: {0}", s.SectionInformation.RequirePermission);
|
|
} catch (Exception e) {
|
|
Console.WriteLine (e);
|
|
}
|
|
}
|
|
}
|
|
|