Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e2e652

Browse files
committed
remove pattern match
The signed build can't consume C# pattern matches. Also rename the file to match the class name.
1 parent2b6da85 commit4e2e652

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎vsintegration/src/FSharp.UIResources/FSharp.UIResources.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<CompileInclude="CodeFixesOptionControl.xaml.cs">
5656
<DependentUpon>CodeFixesOptionControl.xaml</DependentUpon>
5757
</Compile>
58-
<CompileInclude="IntergerCheckValidationRule.cs" />
58+
<CompileInclude="IntegerRangeValidationRule.cs" />
5959
<CompileInclude="LanguageServicePerformanceOptionControl.xaml.cs">
6060
<DependentUpon>LanguageServicePerformanceOptionControl.xaml</DependentUpon>
6161
</Compile>

‎vsintegration/src/FSharp.UIResources/IntergerCheckValidationRule.cs‎renamed to ‎vsintegration/src/FSharp.UIResources/IntegerRangeValidationRule.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ public IntegerRangeValidationRule()
1717

1818
publicoverrideValidationResultValidate(objectvalue,CultureInfocultureInfo)
1919
{
20-
if(valueisstringtext)
20+
if(valueisstring)
2121
{
22+
vartext=(string)value;
2223
if(int.TryParse(text,outinti)&&
2324
i>=Min&&i<=Max)
2425
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp