Commit aa73a879 authored by Honfika's avatar Honfika

private method name fix + resharper rule + change develtop to master in pull request temple

parent 775c3481
Doneness: Doneness:
- [ ] Build is okay - I made sure that this change is building successfully. - [ ] Build is okay - I made sure that this change is building successfully.
- [ ] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of. - [ ] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
- [ ] Branching - If this is not a hotfix, I am making this request against develop branch - [ ] Branching - If this is not a hotfix, I am making this request against master branch
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String> <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String> <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String> <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=a4ab2e69_002D4d9c_002D4345_002Dbcd1_002D5541dacf5d38/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Static, Instance" AccessRightKinds="Private" Description="Method (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="METHOD" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=dda2ffa1_002D435c_002D4111_002D88eb_002D1a7c93c382f0/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Static, Instance" AccessRightKinds="Private" Description="Property (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="PROPERTY" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;&lt;/Policy&gt;</s:String> <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/UserRules/=dda2ffa1_002D435c_002D4111_002D88eb_002D1a7c93c382f0/@EntryIndexedValue">&lt;Policy&gt;&lt;Descriptor Staticness="Static, Instance" AccessRightKinds="Private" Description="Property (private)"&gt;&lt;ElementKinds&gt;&lt;Kind Name="PROPERTY" /&gt;&lt;/ElementKinds&gt;&lt;/Descriptor&gt;&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean> <s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
......
...@@ -173,7 +173,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -173,7 +173,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
break; break;
case State.ReadMaxDynamicTableSize: case State.ReadMaxDynamicTableSize:
int maxSize = DecodeULE128(input); int maxSize = decodeULE128(input);
if (maxSize == -1) if (maxSize == -1)
{ {
return; return;
...@@ -190,7 +190,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -190,7 +190,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
break; break;
case State.ReadIndexedHeader: case State.ReadIndexedHeader:
int headerIndex = DecodeULE128(input); int headerIndex = decodeULE128(input);
if (headerIndex == -1) if (headerIndex == -1)
{ {
return; return;
...@@ -208,7 +208,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -208,7 +208,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
case State.ReadIndexedHeaderName: case State.ReadIndexedHeaderName:
// Header Name matches an entry in the Header Table // Header Name matches an entry in the Header Table
int nameIndex = DecodeULE128(input); int nameIndex = decodeULE128(input);
if (nameIndex == -1) if (nameIndex == -1)
{ {
return; return;
...@@ -272,7 +272,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -272,7 +272,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
case State.ReadLiteralHeaderNameLength: case State.ReadLiteralHeaderNameLength:
// Header Name is a Literal String // Header Name is a Literal String
nameLength = DecodeULE128(input); nameLength = decodeULE128(input);
if (nameLength == -1) if (nameLength == -1)
{ {
return; return;
...@@ -388,7 +388,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -388,7 +388,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
case State.ReadLiteralHeaderValueLength: case State.ReadLiteralHeaderValueLength:
// Header Value is a Literal String // Header Value is a Literal String
valueLength = DecodeULE128(input); valueLength = decodeULE128(input);
if (valueLength == -1) if (valueLength == -1)
{ {
return; return;
...@@ -612,7 +612,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack ...@@ -612,7 +612,7 @@ namespace Titanium.Web.Proxy.Http2.Hpack
} }
// Unsigned Little Endian Base 128 Variable-Length Integer Encoding // Unsigned Little Endian Base 128 Variable-Length Integer Encoding
private static int DecodeULE128(BinaryReader input) private static int decodeULE128(BinaryReader input)
{ {
long markedPosition = input.BaseStream.Position; long markedPosition = input.BaseStream.Position;
int result = 0; int result = 0;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment