File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -197,19 +197,19 @@ private void DoInitialize()
197
197
}
198
198
}
199
199
200
- [ GeneratedRegex ( "<PackageReference.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
200
+ [ GeneratedRegex ( "(?<!<!--.*) <PackageReference.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
201
201
private static partial Regex PackageReference ( ) ;
202
202
203
- [ GeneratedRegex ( "<FrameworkReference.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
203
+ [ GeneratedRegex ( "(?<!<!--.*) <FrameworkReference.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
204
204
private static partial Regex FrameworkReference ( ) ;
205
205
206
- [ GeneratedRegex ( "<(.*\\ s)?Project.*\\ sSdk=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
206
+ [ GeneratedRegex ( "(?<!<!--.*) <(.*\\ s)?Project.*\\ sSdk=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
207
207
private static partial Regex ProjectSdk ( ) ;
208
208
209
- [ GeneratedRegex ( "<Using.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
209
+ [ GeneratedRegex ( "(?<!<!--.*) <Using.*\\ sInclude=\" (.*?)\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
210
210
private static partial Regex CustomImplicitUsingDeclarations ( ) ;
211
211
212
- [ GeneratedRegex ( "<Import.*\\ sProject=\" .*Microsoft\\ .CSharp\\ .targets\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
212
+ [ GeneratedRegex ( "(?<!<!--.*) <Import.*\\ sProject=\" .*Microsoft\\ .CSharp\\ .targets\" .*/?>" , RegexOptions . IgnoreCase | RegexOptions . Compiled | RegexOptions . Singleline ) ]
213
213
private static partial Regex MicrosoftCSharpTargets ( ) ;
214
214
}
215
215
You can’t perform that action at this time.
0 commit comments