You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MLAPI/GlobalSuppressions.cs
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,3 +27,12 @@
27
27
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Style","IDE0018:Inline variable declaration",Justification="Not supported in Unity Mono version",Scope="member",Target="~M:MLAPI.NetworkingManagerComponents.Core.InternalMessageHandler.Send(System.String,System.String,System.Byte[],System.Nullable{System.UInt32},System.Nullable{System.UInt16})")]
28
28
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Style","IDE0018:Inline variable declaration",Justification="Not supported in Unity Mono version",Scope="member",Target="~M:MLAPI.NetworkingManagerComponents.Core.InternalMessageHandler.Send(System.String,System.String,System.Byte[],System.UInt32,System.Nullable{System.UInt32},System.Nullable{System.UInt16})")]
29
29
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Style","IDE0018:Inline variable declaration",Justification="Not supported in Unity Mono version",Scope="member",Target="~M:MLAPI.NetworkingManagerComponents.Core.InternalMessageHandler.Send(System.UInt32[],System.String,System.String,System.Byte[],System.Nullable{System.UInt32},System.Nullable{System.UInt16})")]
30
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0202:Value type to reference type conversion allocation for string concatenation",Justification="Log Message",Scope="member",Target="~M:MLAPI.NetworkingManager.Update")]
31
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0601:Value type to reference type conversion causing boxing allocation",Justification="Log Message",Scope="member",Target="~M:MLAPI.NetworkingManager.Update")]
32
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0202:Value type to reference type conversion allocation for string concatenation",Justification="Log Message",Scope="member",Target="~M:MLAPI.NetworkingManager.ApprovalTimeout(System.UInt32)~System.Collections.IEnumerator")]
33
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0202:Value type to reference type conversion allocation for string concatenation",Justification="Log Message",Scope="member",Target="~M:MLAPI.NetworkingManager.HandleIncomingData(System.UInt32,System.Byte[],System.Int32,System.Int32)")]
34
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0302:Display class allocation to capture closure",Justification="Creates duplication, it's not a commonly called function",Scope="member",Target="~M:MLAPI.NetworkingManager.DisconnectClient(System.UInt32)")]
35
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0603:Delegate allocation from a method group",Justification="No function pointers",Scope="member",Target="~M:MLAPI.Internal.InternalMessageHandler.HandleConnectionRequest(System.UInt32,System.IO.Stream,System.Int32)")]
36
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0202:Value type to reference type conversion allocation for string concatenation",Justification="Log Message",Scope="member",Target="~M:MLAPI.Internal.InternalMessageHandler.HandleNetworkedVarDelta(System.UInt32,System.IO.Stream,System.Int32)")]
37
+
[assembly:System.Diagnostics.CodeAnalysis.SuppressMessage("Performance","HAA0202:Value type to reference type conversion allocation for string concatenation",Justification="Log Message",Scope="member",Target="~M:MLAPI.Internal.InternalMessageHandler.HandleNetworkedVarUpdate(System.UInt32,System.IO.Stream,System.Int32)")]
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Hash collision detected for RPC method. The method \""+methods[i].Name+"\" collides with the method \""+HashResults[hash]+"\". This can be solved by increasing the amount of bytes to use for hashing in the NetworkConfig or changing the name of one of the conflicting methods.");
424
+
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError($"Hash collision detected for RPC method. The method \"{methods[i].Name}\" collides with the method \"{HashResults[hash]}\". This can be solved by increasing the amount of bytes to use for hashing in the NetworkConfig or changing the name of one of the conflicting methods.");
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Hash collision detected for RPC method. The method \""+methods[i].Name+"\" collides with the method \""+HashResults[hash]+"\". This can be solved by increasing the amount of bytes to use for hashing in the NetworkConfig or changing the name of one of the conflicting methods.");
456
+
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError($"Hash collision detected for RPC method. The method \"{methods[i].Name}\" collides with the method \"{HashResults[hash]}\". This can be solved by increasing the amount of bytes to use for hashing in the NetworkConfig or changing the name of one of the conflicting methods.");
0 commit comments