private static string GetNativeTypeForSignature(SyntaxList <AttributeListSyntax> attributeLists) { var nativeType = SyntaxUtils.GetNativeTypeNameFromAttributesLists(attributeLists); // If the native type has a '/' it means it contains a path, which won't compare well // in a cloud build when different architectures are built on different agents. Just // return null in that case if (nativeType != null && nativeType.Contains('/')) { nativeType = null; } return(nativeType); }