Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Sensitive Code Example

      Imports System
      Public Class C
          Public Sub Main()
              Dim x = Console.[In] ' Sensitive
              Console.Read() ' Sensitive
              Console.ReadKey() ' Sensitive
              Console.ReadLine() ' Sensitive
              Console.OpenStandardInput() ' Sensitive
          End Sub
      End Class
      

      Exceptions

      This rule does not raise issues when the return value of the Console.Read Console.ReadKey or Console.ReadLine methods is ignored.

      Imports System
      
      Public Class C
          Public Sub Main()
              Console.ReadKey() ' Return value is ignored
              Console.ReadLine() ' Return value is ignored
          End Sub
      End Class
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              valeri.hristov Valeri Hristov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: