Skip to content

Commit a96402a

Browse files
AnatoliBCopilot
andauthored
Suppress SM05220 in src/DurableTask.AzureStorage/MessageManager.cs (#1342)
* Suppress SM05220 in `src/DurableTask.AzureStorage/MessageManager.cs` Resolving https://msazure.visualstudio.com/Antares/_workitems/edit/37181656 Co-authored-by: Copilot <copilot@github.com> * Fix suppression syntax Co-authored-by: Copilot <copilot@github.com> --------- Co-authored-by: Copilot <copilot@github.com>
1 parent 1a1349b commit a96402a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/DurableTask.AzureStorage/MessageManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ public void BindToName(Type serializedType, out string assemblyName, out string
372372
TypeNameSerializationHelper.BindToName(customBinder, serializedType, out assemblyName, out typeName);
373373
}
374374

375+
// CodeQL [SM05220] False positive: customer-owned Storage is inside the DTFx trust boundary.
375376
public Type BindToType(string assemblyName, string typeName)
376377
{
377378
return TypeNameSerializationHelper.BindToType(customBinder, assemblyName, typeName);
@@ -391,6 +392,7 @@ public override void BindToName(Type serializedType, out string assemblyName, ou
391392
TypeNameSerializationHelper.BindToName(customBinder, serializedType, out assemblyName, out typeName);
392393
}
393394

395+
// CodeQL [SM05220] False positive: customer-owned Storage is inside the DTFx trust boundary.
394396
public override Type BindToType(string assemblyName, string typeName)
395397
{
396398
return TypeNameSerializationHelper.BindToType(customBinder, assemblyName, typeName);

0 commit comments

Comments
 (0)