Skip to content

Commit

Permalink
Using "\." instead of "." as it is not a valid regex (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhnaseer authored Jun 2, 2022
1 parent 6ee822a commit 3f1f124
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,18 @@ internal class EnableCodeCoverageArgumentExecutor : IArgumentExecutor
@" <Function>.*__CxxPureMSILEntry.*</Function>" + Environment.NewLine +
@" <Function>^Microsoft::VisualStudio::CppCodeCoverageFramework::.*</Function>" + Environment.NewLine +
@" <Function>^Microsoft::VisualStudio::CppUnitTestFramework::.*</Function>" + Environment.NewLine +
@" <Function>.*::YOU_CAN_ONLY_DESIGNATE_ONE_.*</Function>" + Environment.NewLine +
@" <Function>^__.*</Function>" + Environment.NewLine +
@" <Function>.*::__.*</Function>" + Environment.NewLine +
@" </Exclude>" + Environment.NewLine +
@" </Functions>" + Environment.NewLine +
@" <Attributes>" + Environment.NewLine +
@" <Exclude>" + Environment.NewLine +
@" <Attribute>^System.Diagnostics.DebuggerHiddenAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System.Diagnostics.DebuggerNonUserCodeAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System.Runtime.CompilerServices.CompilerGeneratedAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System.CodeDom.Compiler.GeneratedCodeAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode.*</Attribute>" + Environment.NewLine +
@" <Attribute>^System\.Diagnostics\.DebuggerHiddenAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System\.Diagnostics\.DebuggerNonUserCodeAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System\.Runtime\.CompilerServices\.CompilerGeneratedAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System\.CodeDom\.Compiler\.GeneratedCodeAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^System\.Diagnostics\.CodeAnalysis\.ExcludeFromCodeCoverageAttribute$</Attribute>" + Environment.NewLine +
@" <Attribute>^Microsoft\.VisualStudio\.TestPlatform\.TestSDKAutoGeneratedCode$</Attribute>" + Environment.NewLine +
@" </Exclude>" + Environment.NewLine +
@" </Attributes>" + Environment.NewLine +
@" <Sources>" + Environment.NewLine +
Expand Down

0 comments on commit 3f1f124

Please sign in to comment.