Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ClientGenerator/NamespaceGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Orleans.CodeGeneration.Serialization
{
class SerializerGenerationUtilities
{
static internal CodeMemberMethod GenerateCopier(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
internal static CodeMemberMethod GenerateCopier(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
{
var copier = new CodeMemberMethod { Name = name };
copier.Attributes = (copier.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
Expand All @@ -42,7 +42,7 @@ static internal CodeMemberMethod GenerateCopier(string name, string typeName, Co
return copier;
}

static internal CodeMemberMethod GenerateSerializer(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
internal static CodeMemberMethod GenerateSerializer(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
{
var serializer = new CodeMemberMethod { Name = name };
serializer.Attributes = (serializer.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
Expand All @@ -56,7 +56,7 @@ static internal CodeMemberMethod GenerateSerializer(string name, string typeName
return serializer;
}

static internal CodeMemberMethod GenerateDeserializer(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
internal static CodeMemberMethod GenerateDeserializer(string name, string typeName, CodeTypeParameterCollection genericTypeParams = null)
{
var deserializer = new CodeMemberMethod { Name = name };
deserializer.Attributes = (deserializer.Attributes & ~MemberAttributes.AccessMask) | MemberAttributes.Public;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/AssemblyLoader/AssemblyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Async/ObserverSubscriptionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using Orleans.Runtime;

Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/AzureUtils/AzureTableDataManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Data.Services.Client;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Configuration/ClientConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Configuration/OrleansConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Core/GrainExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using Orleans.Runtime;

namespace Orleans
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Logging/TraceLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public enum LoggerType

private readonly LoggerType loggerType;
private readonly string logName;
private readonly static object lockable;
private static readonly object lockable;

private static readonly List<Tuple<string, Severity>> traceLevelOverrides = new List<Tuple<string, Severity>>();

Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Messaging/GatewayManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Messaging/ProxiedMessageCenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Messaging/SqlMembershipTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Net;
using System.Text;
using System.Data;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Providers/IStorageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Runtime.Serialization;
using System.Threading.Tasks;

Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Providers/ProviderLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Runtime/GrainInterfaceMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Linq;

Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Runtime/GrainReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
Expand Down
4 changes: 2 additions & 2 deletions src/Orleans/Serialization/SerializationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
Expand Down Expand Up @@ -133,7 +133,7 @@ internal static bool UseStandardSerializer

#region Static initialization

static internal void Initialize(bool useStandardSerializer)
internal static void Initialize(bool useStandardSerializer)
{
UseStandardSerializer = useStandardSerializer;
if (StatisticsCollector.CollectSerializationStats)
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans/Timers/IRemindable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Runtime.Serialization;
using System.Threading.Tasks;

Expand Down
2 changes: 1 addition & 1 deletion src/OrleansAzureUtils/AzureClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansAzureUtils/AzureSilo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Diagnostics;
using System.Globalization;
using Microsoft.WindowsAzure.ServiceRuntime;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansProviders/Storage/ShardedStorageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The above copyright notice and this permission notice shall be included in all c
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

using System;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion src/OrleansRuntime/Messaging/IncomingMessageAcceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ internal class IncomingMessageAcceptor : AsynchAgent
private readonly IPEndPoint listenAddress;
private Action<Message> sniffIncomingMessageHandler;

internal readonly static string PingHeader = Message.Header.APPLICATION_HEADER_FLAG + Message.Header.PING_APPLICATION_HEADER;
internal static readonly string PingHeader = Message.Header.APPLICATION_HEADER_FLAG + Message.Header.PING_APPLICATION_HEADER;

internal Socket AcceptingSocket;
protected MessageCenter MessageCenter;
Expand Down