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
1313 public class CompositeExpression : RuntimeExpression
1414 {
1515 private readonly string template ;
16- private Regex expressionPattern = new ( @"{(?<exp>\$[^}]*)" ) ;
16+ private readonly Regex expressionPattern = new ( @"{(?<exp>\$[^}]*)" ) ;
1717
1818 /// <summary>
1919 /// Expressions embedded into string literal
2020 /// </summary>
21- public List < RuntimeExpression > ContainedExpressions = new ( ) ;
21+ public List < RuntimeExpression > ContainedExpressions { get ; } = new ( ) ;
2222
2323 /// <summary>
2424 /// Create a composite expression from a string literal with an embedded expression
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ namespace Microsoft.OpenApi
5353 }
5454 public class CompositeExpression : Microsoft.OpenApi.RuntimeExpression
5555 {
56- public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions;
5756 public CompositeExpression(string expression) { }
57+ public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions { get; }
5858 public override string Expression { get; }
5959 }
6060 public class CurrentKeys
You can’t perform that action at this time.
0 commit comments