Suppress CS0171 from generated partial types
This commit is contained in:
Родитель
1109f83882
Коммит
dbba648c3b
|
@ -288,7 +288,9 @@ namespace Uno
|
||||||
}
|
}
|
||||||
using (builder.BlockInvariant("public override int GetHashCode()"))
|
using (builder.BlockInvariant("public override int GetHashCode()"))
|
||||||
{
|
{
|
||||||
|
builder.AppendLineInvariant("#pragma warning disable CS0171");
|
||||||
builder.AppendLineInvariant("return _computedHashCode ?? (int)(_computedHashCode = ComputeHashCode());");
|
builder.AppendLineInvariant("return _computedHashCode ?? (int)(_computedHashCode = ComputeHashCode());");
|
||||||
|
builder.AppendLineInvariant("#pragma warning restore CS0171");
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.AppendLine();
|
builder.AppendLine();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче