- Need to avoid assigning a property to itself
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2245
- Not to use broken cryptographic algorithm : MD5 -> SHA256
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca5351
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
{
internal class TizenPlatformServices : IPlatformServices
{
- static MD5 checksum = MD5.Create();
+ static SHA256 checksum = SHA256.Create();
static SynchronizationContext s_context;
{
this.TextChanged += (obj, e) =>
{
- this.Text = this.Text;
+ this.Text = e.TextEditor.Text;
};
}
}
{
this.TextChanged += (obj, e) =>
{
- this.Text = this.Text;
+ this.Text = e.TextField.Text;
};
}
}