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
207207 return tcpBinding;
208208 case "net.p2p":
209209 // Create binding.
210− #pragma warning disable 612, 618
210+#pragma warning disable 612, 618
211211 NetPeerTcpBinding p2pBinding = new NetPeerTcpBinding();
212212
213213 #if !MONO
@@ -285,7 +285,8 @@ namespace GSF.ServiceModel · 71 unmodified lines
285285 {
286286 // Find contract interface by service type name.
287287 Type contract = serviceType.GetInterface("I" + serviceType.Name);
288− if (contract == null)
288+
289+ if ((object)contract == null)
289290 {
290291 // Fall back to the first interface the service implements.
291292 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