Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-296557: WRONG ERROR: Value is not used in any execution path

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created Apr 20, 2012 6:21:14 PM
Updated Apr 20, 2012 9:44:51 PM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Am getting: "Value is not used in any execution path"

  <DefaultValue(GetType(BaseTextFormatter)), Description("Set the custom text formatter")>
    Public Property CustomTextFormatter As ITextFormatter
        Get
            If itsCustomTextFormatter Is Nothing Then
                CustomTextFormatter = New BaseTextFormatter()    '<--- ERROR IS SEEN ON THIS LINE 
            End If
            Return itsCustomTextFormatter
        End Get
        Set(ByVal value As ITextFormatter)
            If value Is Nothing Then
                value = New BaseTextFormatter()
            End If
            itsCustomTextFormatter = value
        End Set
    End Property

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>