// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem.Collections.Immutable;
usingSystem.Diagnostics;
usingMicrosoft.CodeAnalysis.CodeGen;
usingMicrosoft.CodeAnalysis.CSharp.Symbols;
usingMicrosoft.CodeAnalysis.CSharp.Syntax;
usingMicrosoft.CodeAnalysis.Text;
usingSystem.Collections.Generic;
usingSystem;
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.CSharp
{
internalpartialclassLocalRewriter
{
// PROTOTYPE(typeswitch): as a temporary hack while this code is in development, we
// only use the new translation machinery when this bool is set to true. If it is false
// then we use the transitional code which translates a pattern switch into a series of
// if-then-else statements. Ultimately we need the new translation to be used to generate
// switch IL instructions for ordinary old-style switch statements.