File tree 2 files changed +12
-24
lines changed 2 files changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,18 @@ csharp_style_inlined_variable_declaration = true:suggestion
115
115
csharp_style_throw_expression = true :suggestion
116
116
csharp_style_conditional_delegate_call = true :suggestion
117
117
118
+ # Async methods should have "Async" suffix
119
+ dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
120
+ dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
121
+ dotnet_naming_rule.async_methods_end_in_async.severity = warning
122
+
123
+ dotnet_naming_symbols.any_async_methods.applicable_kinds = method
124
+ dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
125
+ dotnet_naming_symbols.any_async_methods.required_modifiers = async
126
+
127
+ dotnet_naming_style.end_in_async.required_suffix = Async
128
+ dotnet_naming_style.end_in_async.capitalization = pascal_case_style
129
+
118
130
# Other features
119
131
csharp_style_prefer_index_operator = false :none
120
132
csharp_style_prefer_range_operator = false :none
Original file line number Diff line number Diff line change @@ -111,30 +111,6 @@ public void TestGetValueWhichDoesTimeOutWithTimeSpan()
111
111
Assert . Throws < TimeoutException > ( ( ) => k . WaitForValue ( TimingInterval ) ) ;
112
112
}
113
113
114
- [ Fact ]
115
- public void TestGetValueWithTimeoutInfinite ( )
116
- {
117
- var k = new BlockingCell < int > ( ) ;
118
- SetAfter ( TimingInterval , k , 123 ) ;
119
-
120
- ResetTimer ( ) ;
121
- int v = k . WaitForValue ( Timeout . InfiniteTimeSpan ) ;
122
- Assert . True ( TimingInterval - SafetyMargin < ElapsedMs ( ) ) ;
123
- Assert . Equal ( 123 , v ) ;
124
- }
125
-
126
- [ Fact ]
127
- public void TestBackgroundUpdateSucceeds ( )
128
- {
129
- var k = new BlockingCell < int > ( ) ;
130
- SetAfter ( TimingInterval , k , 123 ) ;
131
-
132
- ResetTimer ( ) ;
133
- int v = k . WaitForValue ( TimingInterval_2X ) ;
134
- Assert . True ( TimingInterval - SafetyMargin < ElapsedMs ( ) ) ;
135
- Assert . Equal ( 123 , v ) ;
136
- }
137
-
138
114
[ Fact ]
139
115
public void TestBackgroundUpdateSucceedsWithTimeSpan ( )
140
116
{
You can’t perform that action at this time.
0 commit comments