Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Microsoft.OpenApi/Expressions/CompositeExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
public class CompositeExpression : RuntimeExpression
{
private readonly string template;
private Regex expressionPattern = new(@"{(?<exp>\$[^}]*)");
private readonly Regex expressionPattern = new(@"{(?<exp>\$[^}]*)");

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

Check warning on line 16 in src/Microsoft.OpenApi/Expressions/CompositeExpression.cs

View workflow job for this annotation

GitHub Actions / Build

Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)

/// <summary>
/// Expressions embedded into string literal
/// </summary>
public List<RuntimeExpression> ContainedExpressions = new();
public List<RuntimeExpression> ContainedExpressions { get; } = new();

/// <summary>
/// Create a composite expression from a string literal with an embedded expression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ namespace Microsoft.OpenApi
}
public class CompositeExpression : Microsoft.OpenApi.RuntimeExpression
{
public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions;
public CompositeExpression(string expression) { }
public System.Collections.Generic.List<Microsoft.OpenApi.RuntimeExpression> ContainedExpressions { get; }
public override string Expression { get; }
}
public class CurrentKeys
Expand Down
Loading