Skip to content

Ought to check where arguments is not null in all public methods. #11

@ChanyaVRC

Description

@ChanyaVRC

Description

現在はアクセスレベルが public であるメソッドにおいて、Reference Types である――もしくはそうである可能性がある――引数の値が null でない事をチェックしていない。実際の利用では null が入るケースは十分に想定できるため、例え引数が not NRT である場合についても引数が null である場合は System.ArgumentNullException を throw するべきである。また、テストにて null である場合についての System.ArgumentNullException もしくは他の適切な処理を行うことを確認すべきである。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowShould be fixed in the future.bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions