File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Microsoft.OpenApi/Expressions
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ namespace Microsoft.OpenApi
13
13
public class CompositeExpression : RuntimeExpression
14
14
{
15
15
private readonly string template ;
16
- private Regex expressionPattern = new ( @"{(?<exp>\$[^}]*)" ) ;
16
+ private readonly Regex expressionPattern = new ( @"{(?<exp>\$[^}]*)" ) ;
17
17
18
18
/// <summary>
19
19
/// Expressions embedded into string literal
20
20
/// </summary>
21
- public List < RuntimeExpression > ContainedExpressions = new ( ) ;
21
+ public List < RuntimeExpression > ContainedExpressions { get ; } = new ( ) ;
22
22
23
23
/// <summary>
24
24
/// Create a composite expression from a string literal with an embedded expression
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ namespace Microsoft.OpenApi
54
54
}
55
55
public class CompositeExpression : Microsoft.OpenApi.RuntimeExpression
56
56
{
57
- public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions;
58
57
public CompositeExpression(string expression) { }
58
+ public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions { get; }
59
59
public override string Expression { get; }
60
60
}
61
61
public class CurrentKeys
You can’t perform that action at this time.
0 commit comments