Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/NRefactory.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Krüger <mkrueger@xamarin.com>2012-02-23 12:23:44 +0400
committerMike Krüger <mkrueger@xamarin.com>2012-02-23 12:23:44 +0400
commitcb576fb78d74bf322169d2ec5a83457aaa35cb7f (patch)
treef86fdbcbf5808e60463d39f254f0aca64ec30ff5 /ICSharpCode.NRefactory.ConsistencyCheck
parenta21ee0699bd31889a753aee2fc71db38fb0dfca4 (diff)
* ICSharpCode.NRefactory.csproj:
* IdStringProvider.cs: * IDStringTests.cs: * DocumentationComment.cs: * IdStringMemberReference.cs: * XmlDocumentationProvider.cs: * IDStringConsistencyCheck.cs: * CSharpCrefLookupTests.cs: Renamed IDString -> IdString to follow .NET naming guidelines. * IDStringProvider.cs: * IDStringMemberReference.cs:
Diffstat (limited to 'ICSharpCode.NRefactory.ConsistencyCheck')
-rw-r--r--ICSharpCode.NRefactory.ConsistencyCheck/IDStringConsistencyCheck.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ICSharpCode.NRefactory.ConsistencyCheck/IDStringConsistencyCheck.cs b/ICSharpCode.NRefactory.ConsistencyCheck/IDStringConsistencyCheck.cs
index e506e822..cb6de558 100644
--- a/ICSharpCode.NRefactory.ConsistencyCheck/IDStringConsistencyCheck.cs
+++ b/ICSharpCode.NRefactory.ConsistencyCheck/IDStringConsistencyCheck.cs
@@ -1,4 +1,4 @@
-// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
@@ -44,10 +44,10 @@ namespace ICSharpCode.NRefactory.ConsistencyCheck
static void Check(IEntity entity, ITypeResolveContext context, HashSet<string> idStrings)
{
- string id = IDStringProvider.GetIDString(entity);
+ string id = IdStringProvider.GetIdString(entity);
if (!idStrings.Add(id))
throw new InvalidOperationException("Duplicate ID string " + id);
- IEntity resolvedEntity = IDStringProvider.FindEntity(id, context);
+ IEntity resolvedEntity = IdStringProvider.FindEntity(id, context);
if (resolvedEntity != entity)
throw new InvalidOperationException(id);
}