Set version number to 5.0.1; fixed some compiler warnings.

This commit is contained in:
Daniel Grunwald 2012-05-18 22:23:55 +02:00
Родитель cbb1fe5008
Коммит 1640cb8c32
8 изменённых файлов: 17 добавлений и 20 удалений

Просмотреть файл

@ -1,4 +1,4 @@
// //
// CSharpCompletionEngine.cs // CSharpCompletionEngine.cs
// //
// Author: // Author:
@ -288,7 +288,6 @@ namespace ICSharpCode.NRefactory.CSharp.Completion
IEnumerable<ICompletionData> MagicKeyCompletion(char completionChar, bool controlSpace) IEnumerable<ICompletionData> MagicKeyCompletion(char completionChar, bool controlSpace)
{ {
ExpressionResult expr;
Tuple<ResolveResult, CSharpResolver> resolveResult; Tuple<ResolveResult, CSharpResolver> resolveResult;
switch (completionChar) { switch (completionChar) {
// Magic key completion // Magic key completion

Просмотреть файл

@ -41,7 +41,8 @@
<DefineConstants>TRACE;FULL_AST</DefineConstants> <DefineConstants>TRACE;FULL_AST</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType> <DebugType>PdbOnly</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType> <DebugType>full</DebugType>

Просмотреть файл

@ -1,4 +1,4 @@
// //
// InconsistentNamingIssue.cs // InconsistentNamingIssue.cs
// //
// Author: // Author:
@ -48,7 +48,6 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
{ {
readonly InconsistentNamingIssue inspector; readonly InconsistentNamingIssue inspector;
readonly NamingConventionService service; readonly NamingConventionService service;
List<NamingRule> rules;
public GatherVisitor (BaseRefactoringContext ctx, InconsistentNamingIssue inspector) : base (ctx) public GatherVisitor (BaseRefactoringContext ctx, InconsistentNamingIssue inspector) : base (ctx)
{ {

Просмотреть файл

@ -324,7 +324,7 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
/// <summary> /// <summary>
/// Renames the specified entity. /// Renames the specified entity.
/// </summary> /// </summary>
/// <param name='entity'> /// <param name='type'>
/// The Entity to rename /// The Entity to rename
/// </param> /// </param>
/// <param name='name'> /// <param name='name'>

Просмотреть файл

@ -35,7 +35,7 @@ namespace ICSharpCode.NRefactory.Editor
/// <summary> /// <summary>
/// Gets/Sets the text of the whole document.. /// Gets/Sets the text of the whole document..
/// </summary> /// </summary>
new string Text { get; set; } // hides TextBuffer.Text to add the setter new string Text { get; set; } // hides ITextSource.Text to add the setter
/// <summary> /// <summary>
/// This event is called directly before a change is applied to the document. /// This event is called directly before a change is applied to the document.

Просмотреть файл

@ -17,10 +17,10 @@ using System.Runtime.InteropServices;
// If you need to expose a type to COM, use [ComVisible(true)] on that type. // If you need to expose a type to COM, use [ComVisible(true)] on that type.
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
// The assembly version has following format : // We keep the AssemblyVersion at 5.0.0.0 for all versions of NRefactory 5.
// // This eliminates the need for binding redirects.
// Major.Minor.Build.Revision [assembly: AssemblyVersion("5.0.0.0")]
//
// You can specify all the values or you can use the default the Revision and // [AssemblyFileVersion] is the version of the NuGet package,
// Build Numbers by using the '*' as shown below: // should follow http://semver.org/ rules
[assembly: AssemblyVersion("5.0.0.6")] [assembly: AssemblyFileVersion("5.0.1")]

Просмотреть файл

@ -410,16 +410,14 @@ namespace ICSharpCode.NRefactory.TypeSystem
#region ITypeReference.Resolve(ICompilation) #region ITypeReference.Resolve(ICompilation)
/// <summary> /// <summary>
/// Resolves a type reference. /// Resolves a type reference in the compilation's main type resolve context.
/// Some type references require a more specific type resolve context and will not resolve using this method.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// Returns the resolved type. /// Returns the resolved type.
/// In case of an error, returns <see cref="SpecialType.UnknownType"/>. /// In case of an error, returns <see cref="SpecialType.UnknownType"/>.
/// Never returns null. /// Never returns null.
/// </returns> /// </returns>
/// <param name='compilation'>
/// The compilation in which the type should be resolved.
/// </param>
public static IType Resolve (this ITypeReference reference, ICompilation compilation) public static IType Resolve (this ITypeReference reference, ICompilation compilation)
{ {
if (reference == null) if (reference == null)

Просмотреть файл

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>ICSharpCode.NRefactory</id> <id>ICSharpCode.NRefactory</id>
<version>5.0.0.6</version> <version>5.0.1</version>
<title>NRefactory</title> <title>NRefactory</title>
<authors>Daniel Grunwald, Mike Krüger</authors> <authors>Daniel Grunwald, Mike Krüger</authors>
<owners>Daniel Grunwald</owners> <owners>Daniel Grunwald</owners>
@ -11,7 +11,7 @@
<iconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</iconUrl> <iconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance> <requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>NRefactory supports analysis of C# source code: it includes a parser, abstract syntax tree, type system, semantic analysis (resolver), code completion, and several refactorings.</description> <description>NRefactory supports analysis of C# source code: it includes a parser, abstract syntax tree, type system, semantic analysis (resolver), code completion, and several refactorings.</description>
<releaseNotes>This is an alpha release. Expect bugs and breaking changes in the future.</releaseNotes> <!--<releaseNotes></releaseNotes>-->
<copyright>Copyright 2010-2012 AlphaSierraPapa</copyright> <copyright>Copyright 2010-2012 AlphaSierraPapa</copyright>
<tags>C# Parser Semantic Analysis SharpDevelop</tags> <tags>C# Parser Semantic Analysis SharpDevelop</tags>
<dependencies> <dependencies>