Skip to content
Merged
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
Fix connectToFramework switch case
There should be a break-statement at the end of the default case, since it may not compile at all and can be especially confusing for newcomers to C#.
  • Loading branch information
mHulb authored May 30, 2017
commit 151536c073752422d85f96bf6b54270942a7581b
1 change: 1 addition & 0 deletions articles/includes/code/dotnet-formflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public virtual async Task<HttpResponseMessage> Post([FromBody] Activity activity
case ActivityTypes.DeleteUserData:
default:
Trace.TraceError($"Unknown activity type ignored: {activity.GetActivityType()}");
break;
}
}
...
Expand Down