// 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;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.CodeGeneration;
usingMicrosoft.CodeAnalysis.Editing;
usingMicrosoft.CodeAnalysis.Host.Mef;
...
...
@@ -42,7 +43,7 @@ public abstract class AbstractCodeGenerationTests
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Threading;
usingSystem.Threading.Tasks;
usingMicrosoft.CodeAnalysis.CodeActions;
...
...
@@ -20,7 +21,7 @@ private class GenerateEqualsAndHashCodeAction : CodeAction
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// 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.Linq;
usingSystem.Threading;
usingSystem.Threading.Tasks;
...
...
@@ -216,16 +217,16 @@ internal new class State : AbstractGenerateParameterizedMemberService<TService,
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// 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.Linq;
usingSystem.Threading;
usingMicrosoft.CodeAnalysis.CodeGeneration;
...
...
@@ -38,7 +39,9 @@ internal partial class ImplementInterfaceCodeAction
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// 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.Linq;
usingMicrosoft.CodeAnalysis.Shared.Extensions;
namespaceMicrosoft.CodeAnalysis.CodeGeneration
...
...
@@ -25,8 +24,8 @@ public static CodeGenerationAbstractNamedTypeSymbol ToCodeGenerationSymbol(this
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Runtime.CompilerServices;
namespaceMicrosoft.CodeAnalysis.CodeGeneration
...
...
@@ -11,15 +11,15 @@ internal class CodeGenerationConstructorInfo
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.Editing;
usingRoslyn.Utilities;
...
...
@@ -10,10 +11,10 @@ internal class CodeGenerationConstructorSymbol : CodeGenerationMethodSymbol
{
publicCodeGenerationConstructorSymbol(
INamedTypeSymbolcontainingType,
IList<AttributeData>attributes,
ImmutableArray<AttributeData>attributes,
Accessibilityaccessibility,
DeclarationModifiersmodifiers,
IList<IParameterSymbol>parameters):
ImmutableArray<IParameterSymbol>parameters):
base(containingType,
attributes,
accessibility,
...
...
@@ -22,9 +23,9 @@ internal class CodeGenerationConstructorSymbol : CodeGenerationMethodSymbol
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.Editing;
usingRoslyn.Utilities;
...
...
@@ -10,13 +11,13 @@ internal class CodeGenerationConversionSymbol : CodeGenerationMethodSymbol
{
publicCodeGenerationConversionSymbol(
INamedTypeSymbolcontainingType,
IList<AttributeData>attributes,
ImmutableArray<AttributeData>attributes,
AccessibilitydeclaredAccessibility,
DeclarationModifiersmodifiers,
ITypeSymboltoType,
IParameterSymbolfromType,
boolisImplicit,
IList<AttributeData>toTypeAttributes):
ImmutableArray<AttributeData>toTypeAttributes):
base(containingType,
attributes,
declaredAccessibility,
...
...
@@ -27,8 +28,8 @@ internal class CodeGenerationConversionSymbol : CodeGenerationMethodSymbol
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Runtime.CompilerServices;
namespaceMicrosoft.CodeAnalysis.CodeGeneration
...
...
@@ -11,11 +11,11 @@ internal class CodeGenerationDestructorInfo
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.Editing;
usingRoslyn.Utilities;
...
...
@@ -10,8 +11,8 @@ internal class CodeGenerationDestructorSymbol : CodeGenerationMethodSymbol
{
publicCodeGenerationDestructorSymbol(
INamedTypeSymbolcontainingType,
IList<AttributeData>attributes):
base(containingType,
ImmutableArray<AttributeData>attributes)
:base(containingType,
attributes,
Accessibility.NotApplicable,
default(DeclarationModifiers),
...
...
@@ -19,9 +20,9 @@ internal class CodeGenerationDestructorSymbol : CodeGenerationMethodSymbol
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Runtime.CompilerServices;
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.CodeGeneration
{
...
...
@@ -15,23 +14,23 @@ internal class CodeGenerationMethodInfo
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.Editing;
usingRoslyn.Utilities;
...
...
@@ -10,14 +11,14 @@ internal class CodeGenerationOperatorSymbol : CodeGenerationMethodSymbol
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.Editing;
usingSystem.Collections.Immutable;
namespaceMicrosoft.CodeAnalysis.CodeGeneration
{
...
...
@@ -12,7 +11,7 @@ internal abstract class CodeGenerationTypeSymbol : CodeGenerationNamespaceOrType
protectedCodeGenerationTypeSymbol(
INamedTypeSymbolcontainingType,
IList<AttributeData>attributes,
ImmutableArray<AttributeData>attributes,
AccessibilitydeclaredAccessibility,
DeclarationModifiersmodifiers,
stringname,
...
...
@@ -27,20 +26,10 @@ internal abstract class CodeGenerationTypeSymbol : CodeGenerationNamespaceOrType
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Linq;
usingSystem.Threading;
usingMicrosoft.CodeAnalysis;
...
...
@@ -21,32 +22,32 @@ internal static partial class ICodeDefinitionFactoryExtensions
// 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.Generic;
usingSystem.Collections.Immutable;
usingSystem.Threading;
usingMicrosoft.CodeAnalysis.CodeGeneration;
usingMicrosoft.CodeAnalysis.Editing;
...
...
@@ -15,29 +16,29 @@ internal static partial class ICodeDefinitionFactoryExtensions
// 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.Generic;
usingSystem.Collections.Immutable;
usingMicrosoft.CodeAnalysis.CodeGeneration;
namespaceMicrosoft.CodeAnalysis.Shared.Extensions
...
...
@@ -27,15 +28,15 @@ public static IParameterSymbol RenameParameter(this IParameterSymbol parameter,