Skip to content

CodeTranslator和CecilExtensions各有一处可能的小拼写错误 #429

@fenghappy2000

Description

@fenghappy2000

同事发现主干上: CodeTranslator.cs:1280 行和 CecilExtensions.cs:431 行,可能是小拼写错误:

  1. CodeTranslator.cs:1280

if (exceptionHandler.HandlerType == ExceptionHandlerType.Fault
&& exceptionHandler.HandlerType == ExceptionHandlerType.Filter)

应该改成:

if (exceptionHandler.HandlerType == ExceptionHandlerType.Fault
|| exceptionHandler.HandlerType == ExceptionHandlerType.Filter)

  1. CecilExtensions.cs:431

if (left.GenericParameters[i].IsSameName(right.GenericParameters[i]))

应该改成:

if ( ! left.GenericParameters[i].IsSameName(right.GenericParameters[i]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions