History

1) Removed warnings occuring from new code additions. 2) More reorganization and code clean-up. 3) Globally applied static Endian order classes where possible.

ritchiecarroll committed 12 years ago

Commit 51177ba1 parent 0465735147 files · +968 −906Browse files

Showing the changes to Source/Libraries/GSF.ServiceModel (1 of 147 files). Show all

Unified · Split

Source/Libraries/GSF.ServiceModel/Service.cs+3−2
@@ -207,7 +207,7 @@ namespace GSF.ServiceModel · 206 unmodified lines
207 return tcpBinding;207 return tcpBinding;
208 case "net.p2p":208 case "net.p2p":
209 // Create binding.209 // Create binding.
210 #pragma warning disable 612, 618210#pragma warning disable 612, 618
211 NetPeerTcpBinding p2pBinding = new NetPeerTcpBinding();211 NetPeerTcpBinding p2pBinding = new NetPeerTcpBinding();
212 212
213#if !MONO213#if !MONO
@@ -285,7 +285,8 @@ namespace GSF.ServiceModel · 71 unmodified lines
285 {285 {
286 // Find contract interface by service type name.286 // Find contract interface by service type name.
287 Type contract = serviceType.GetInterface("I" + serviceType.Name);287 Type contract = serviceType.GetInterface("I" + serviceType.Name);
288 if (contract == null)288
289 if ((object)contract == null)
289 {290 {
290 // Fall back to the first interface the service implements.291 // Fall back to the first interface the service implements.
291 Type[] interfaces = serviceType.GetInterfaces();292 Type[] interfaces = serviceType.GetInterfaces();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t