Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
90666599
Commit
90666599
authored
Mar 24, 2012
by
Brickner_cp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warnings, Code Analysis and Documentation. 2 warnings left.
parent
6e11b029
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
PcapDotNet.CodeAnalysisDictionary.xml
PcapDotNet/src/PcapDotNet.CodeAnalysisDictionary.xml
+2
-0
DnsDataResourceRecord.cs
...otNet/src/PcapDotNet.Packets/Dns/DnsDataResourceRecord.cs
+2
-1
DnsDomainName.cs
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsDomainName.cs
+1
-1
DnsOptResourceRecord.cs
...DotNet/src/PcapDotNet.Packets/Dns/DnsOptResourceRecord.cs
+4
-2
DnsResourceRecord.cs
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsResourceRecord.cs
+2
-1
No files found.
PcapDotNet/src/PcapDotNet.CodeAnalysisDictionary.xml
View file @
90666599
...
...
@@ -24,6 +24,7 @@
<Word>
codings
</Word>
<Word>
datagrams
</Word>
<Word>
datakit
</Word>
<Word>
dce
</Word>
<Word>
dcn
</Word>
<Word>
docsis
</Word>
<Word>
dss
</Word>
...
...
@@ -59,6 +60,7 @@
<Word>
metricom
</Word>
<Word>
multimegabit
</Word>
<Word>
multiprotocol
</Word>
<Word>
nca
</Word>
<Word>
netmask
</Word>
<Word>
nsa
</Word>
<Word>
osi
</Word>
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsDataResourceRecord.cs
View file @
90666599
using
System
;
using
System.Globalization
;
using
PcapDotNet.Base
;
namespace
PcapDotNet.Packets.Dns
...
...
@@ -84,7 +85,7 @@ namespace PcapDotNet.Packets.Dns
/// </summary>
public
override
string
ToString
()
{
return
string
.
Format
(
"{0} {1} {2}"
,
base
.
ToString
(),
Ttl
,
Data
);
return
string
.
Format
(
CultureInfo
.
InvariantCulture
,
"{0} {1} {2}"
,
base
.
ToString
(),
Ttl
,
Data
);
}
/// <summary>
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsDomainName.cs
View file @
90666599
...
...
@@ -84,7 +84,7 @@ namespace PcapDotNet.Packets.Dns
public
bool
Equals
(
DnsDomainName
other
)
{
return
other
!=
null
&&
string
.
Equals
(
ToString
(),
other
.
ToString
(),
StringComparison
.
InvariantCulture
IgnoreCase
);
string
.
Equals
(
ToString
(),
other
.
ToString
(),
StringComparison
.
Ordinal
IgnoreCase
);
}
/// <summary>
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsOptResourceRecord.cs
View file @
90666599
using
PcapDotNet.Base
;
using
System.Globalization
;
using
PcapDotNet.Base
;
namespace
PcapDotNet.Packets.Dns
{
...
...
@@ -88,7 +89,8 @@ namespace PcapDotNet.Packets.Dns
/// </summary>
public
override
string
ToString
()
{
return
string
.
Format
(
"{0} {1} {2} {3} {4} {5} {6}"
,
DomainName
,
DnsType
,
SendersUdpPayloadSize
,
ExtendedReturnCode
,
Version
,
Flags
,
Data
);
return
string
.
Format
(
CultureInfo
.
InvariantCulture
,
"{0} {1} {2} {3} {4} {5} {6}"
,
DomainName
,
DnsType
,
SendersUdpPayloadSize
,
ExtendedReturnCode
,
Version
,
Flags
,
Data
);
}
internal
DnsOptResourceRecord
(
DnsDomainName
domainName
,
DnsClass
dnsClass
,
int
ttl
,
DnsResourceData
data
)
...
...
PcapDotNet/src/PcapDotNet.Packets/Dns/DnsResourceRecord.cs
View file @
90666599
using
System
;
using
System.Collections.Generic
;
using
System.Globalization
;
using
PcapDotNet.Base
;
namespace
PcapDotNet.Packets.Dns
...
...
@@ -75,7 +76,7 @@ namespace PcapDotNet.Packets.Dns
/// </summary>
public
override
string
ToString
()
{
return
string
.
Format
(
"{0} {1} {2}"
,
DomainName
,
DnsType
,
DnsClass
);
return
string
.
Format
(
CultureInfo
.
InvariantCulture
,
"{0} {1} {2}"
,
DomainName
,
DnsType
,
DnsClass
);
}
internal
DnsResourceRecord
(
DnsDomainName
domainName
,
DnsType
type
,
DnsClass
dnsClass
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment