diff --git a/src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs b/src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs index 070b41cb7e89ac2d706825c39b47ca76104eb97e..fa4306deb4125d3d01634e9f1f6a6d25804e98a3 100644 --- a/src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs +++ b/src/Compilers/CSharp/Portable/Symbols/Source/SourceDelegateMethodSymbol.cs @@ -16,7 +16,6 @@ internal abstract class SourceDelegateMethodSymbol : SourceMethodSymbol { private ImmutableArray _parameters; private readonly TypeSymbol _returnType; - private readonly RefKind _refKind; protected SourceDelegateMethodSymbol( SourceMemberContainerTypeSymbol delegateType, @@ -36,8 +35,6 @@ protected void InitializeParameters(ImmutableArray parameters) _parameters = parameters; } - internal override RefKind RefKind => _refKind; - internal static void AddDelegateMembers( SourceMemberContainerTypeSymbol delegateType, ArrayBuilder symbols, diff --git a/src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs b/src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs index 26f2c6749784fabc5c003fa0406ac61a7d11ad04..2d942b51447900f8e324d4a19e8d2016ce337aa2 100644 --- a/src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs +++ b/src/Features/Core/Portable/Completion/CompletionServiceWithProviders.cs @@ -86,7 +86,6 @@ protected virtual ImmutableArray GetBuiltInProviders() } private ImmutableArray _testProviders = ImmutableArray.Empty; - private object p; internal void SetTestProviders(IEnumerable testProviders) { diff --git a/src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs b/src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs index 08ba0b13851febbf47227e56829647f23bf66135..cadb6736e6fa62b467b453cec0318860dc3fe212 100644 --- a/src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs +++ b/src/Features/Core/Portable/DocumentationComments/AbstractDocumentationCommentFormattingService.cs @@ -11,9 +11,6 @@ namespace Microsoft.CodeAnalysis.DocumentationComments { internal abstract class AbstractDocumentationCommentFormattingService : IDocumentationCommentFormattingService { - private int _position; - private SemanticModel _semanticModel; - private class FormatterState { private bool _anyNonWhitespaceSinceLastPara; diff --git a/src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs b/src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs index 1c69cd8fc716aaba69503409007bfead6d9741e2..6dc54998f1e485c32108dd4eee2700b18efee5cd 100644 --- a/src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs +++ b/src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.cs @@ -38,7 +38,6 @@ internal abstract partial class CSharpProjectShim : AbstractLegacyProject private ICSharpProjectRoot _projectRoot; private OutputKind _outputKind = OutputKind.DynamicallyLinkedLibrary; - private Platform _platform = Platform.AnyCpu; private string _mainTypeName; private object[] _options = new object[(int)CompilerOptions.LARGEST_OPTION_ID]; diff --git a/src/VisualStudio/Core/Def/Packaging/PackageInstallerServiceFactory_UndoRedo.cs b/src/VisualStudio/Core/Def/Packaging/PackageInstallerServiceFactory_UndoRedo.cs index c341ef9622ee9c822aaadd23b524a4531631f675..a5da8c40ff19c90abd56568d3591175094ed30a1 100644 --- a/src/VisualStudio/Core/Def/Packaging/PackageInstallerServiceFactory_UndoRedo.cs +++ b/src/VisualStudio/Core/Def/Packaging/PackageInstallerServiceFactory_UndoRedo.cs @@ -51,6 +51,7 @@ private abstract class BaseUndoUnit : IOleUndoUnit IOleUndoManager undoManager) { this.packageInstallerService = packageInstallerService; + this.source = source; this.packageName = packageName; this.versionOpt = versionOpt; this.dte = dte; diff --git a/src/VisualStudio/Core/Impl/Options/AbstractRadioButtonViewModel.cs b/src/VisualStudio/Core/Impl/Options/AbstractRadioButtonViewModel.cs index 3244e24a6170b89b7d9dd67745ccde21c7779c1c..785ed2a58dadcadf8a55cfe34612df6728dfb7a6 100644 --- a/src/VisualStudio/Core/Impl/Options/AbstractRadioButtonViewModel.cs +++ b/src/VisualStudio/Core/Impl/Options/AbstractRadioButtonViewModel.cs @@ -13,7 +13,6 @@ internal abstract class AbstractRadioButtonViewModel : AbstractNotifyPropertyCha private readonly AbstractOptionPreviewViewModel _info; internal readonly string Preview; private bool _isChecked; - private string _groupName; public string Description { get; } public string GroupName { get; }