File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/fundamentals/code-analysis/quality-rules Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ class HelloWorldEncoder
90
90
91
91
public string Encode ()
92
92
{
93
- return Convert .ToHexString (data );
93
+ return Convert .ToHexString (_data );
94
94
}
95
95
96
96
public string EncodeToLower ()
97
97
{
98
- return Convert .ToHexStringLower (data );
98
+ return Convert .ToHexStringLower (_data );
99
99
}
100
100
}
101
101
```
@@ -108,11 +108,11 @@ Class HelloWorldEncoder
108
108
Private ReadOnly _data As Byte () = Encoding.ASCII.GetBytes( "Hello World" )
109
109
110
110
Public Function Encode() As String
111
- Return Convert.ToHexString(data )
111
+ Return Convert.ToHexString(_data )
112
112
End Function
113
113
114
114
Public Function EncodeToLower() As String
115
- Return Convert.ToHexStringLower(data )
115
+ Return Convert.ToHexStringLower(_data )
116
116
End Function
117
117
End Class
118
118
```
You can’t perform that action at this time.
0 commit comments