summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cs/bug_1650.cs
blob: 5c52aece5691f8efec16198fdca919260e7bcd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
public string Foo =>
    "bar";
public string Foo
    => "bar";

public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
    => _this.WithLinkerSetting(l => l.Flags = l.Flags.Concat(flags));

public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker =>
    _this.WithLinkerSetting(l => l.Flags = l.Flags.Concat(flags));

	public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
    => _this.WithLinkerSetting(
        l => l.Flags = 
			l.Flags.Concat(flags));

public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker => _this.WithLinkerSetting(
    l => l.Flags = 
		l.Flags.Concat(flags));

public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
    => _this.WithLinkerSetting(l => 
	l.Flags = l.Flags.Concat(flags));

public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker =>
    _this.WithLinkerSetting(l 
	=> l.Flags = l.Flags.Concat(flags));

var islands = EditorCompilationInterface.GetAllMonoIslands().Select(i => new Island
{
    MonoIsland = i,
    Name = Path.GetFileNameWithoutExtension(i._output),
    References = i._references.ToList()
}).ToList();

var projectEntries = islands.Select(i => string.Format(
    DefaultSynchronizationSettings.SolutionProjectEntryTemplate,
    SolutionGuid(i), _projectName, Path.GetFileName(ProjectFile(i)), ProjectGuid(i._output)
    ));
	
	
Func<IEnumerable<IMemberDefinition>, IEnumerable<IMemberDefinition>> filterMembersWithObsoleteAttr = members => members.Where(m =>
    !m.IsRuntimeSpecialName
    && !m.IsSpecialName
    && !blackList.Contains(m.FullName)
    && CheckCustomAttributes(m));