-
Notifications
You must be signed in to change notification settings - Fork 16
/
tempactual.txt
42 lines (37 loc) · 1.31 KB
/
tempactual.txt
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
actual.ToFullString(),nq
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using RoslynDom.Common;
using System.Linq;
namespace RoslynDom
{
/// <summary></summary>
/// <returns></returns>
/// <remarks>
/// Field assignments in the form "Type x, y, z" are not yet supported
/// and when they are they will be loaded as separate fields (rather
/// obviously). At that point, the variable declaration will need to be held in
/// the class.
/// </remarks>
public class RDomArgument : RDomBase<IArgument, ISymbol>, IArgument
{
public RDomArgument(SyntaxNode rawItem, IDom parent, SemanticModel model)
: base(rawItem, parent, model)
{
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance",
"CA1811:AvoidUncalledPrivateCode", Justification = "Called via Reflection")]
internal RDomArgument(RDomArgument oldRDom)
: base(oldRDom)
{
Name = oldRDom.Name;
IsRef = oldRDom.IsRef;
IsOut = oldRDom.IsOut;
ValueExpression = oldRDom.ValueExpression.Copy();
}
public string Name { get; set; }
public bool IsRef { get; set; }
public bool IsOut { get; set; }
public IExpression ValueExpression { get; set; }
}
}