{
HRESULT hr = NOERROR;
- if (hasAssemblyBeenMarked == false)
+ if (!hasAssemblyBeenMarked)
{
hasAssemblyBeenMarked = true;
IfFailGo( MarkCustomAttributesWithParentToken(as) );
{
HRESULT hr = NOERROR;
- if (hasModuleBeenMarked == false)
+ if (!hasModuleBeenMarked)
{
hasModuleBeenMarked = true;
IfFailGo( MarkCustomAttributesWithParentToken(mo) );
else
{
// Low surrogate
- if (bHighSurrogate == false)
+ if (!bHighSurrogate)
throw ArgumentException("String 'chars' contains invalid Unicode code points.");
bHighSurrogate = false;
}
else
{
// Low surrogate
- if (bHighSurrogate == false)
+ if (!bHighSurrogate)
throw ArgumentException("String 'chars' contains invalid Unicode code points.");
bHighSurrogate = false;
}
else
{
pLoadedPEAssembly = pDomainAssembly->GetFile();
- if (pLoadedPEAssembly->HasHostAssembly() != true)
+ if (!pLoadedPEAssembly->HasHostAssembly())
{
// Reflection emitted assemblies will not have a domain assembly.
fFailLoad = true;