Skip to content

Commit

Permalink
Fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Nov 6, 2013
1 parent d28b1d8 commit f48af6a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ public override void VisitInvocationExpression(InvocationExpression invocationEx

Expression startOffset = null;
Expression endOffset = null;
Expression expression = null;

bool reversed = false;
foreach (var invocation in invocations.AsEnumerable().Reverse()) {
Expand Down
1 change: 0 additions & 1 deletion ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-tokenizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3064,7 +3064,6 @@ private int consume_string (bool quoted)

value_builder[pos++] = (char) c;
}
recordNewLine = true;
}

private int consume_identifier (int s)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ class StubbedRefactoringContext : BaseRefactoringContext
{
bool supportsVersion5;

internal string defaultNamespace;
public override string DefaultNamespace {
get {
return defaultNamespace;
return string.Empty;
}
}

Expand Down
1 change: 1 addition & 0 deletions ICSharpCode.NRefactory/Completion/FrameworkLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public IEnumerable<AssemblyLookup> GetLookups (UnknownIdentifierResolveResult re
/// </summary>
/// <returns>The assemblies the type may be defined (if any).</returns>
/// <param name="resolveResult">The resolve result.</param>
/// <param name="fullMemberName"></param>
/// <param name="typeParameterCount">Type parameter count.</param>
/// <param name="isInsideAttributeType">If set to <c>true</c> this resolve result may be inside an attribute.</param>
public IEnumerable<AssemblyLookup> GetLookups (UnknownMemberResolveResult resolveResult, string fullMemberName, int typeParameterCount, bool isInsideAttributeType)
Expand Down

0 comments on commit f48af6a

Please sign in to comment.