4 writes to _version
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (4)
103
_version
= version;
1147
_version
= version;
1155
_version
= version;
1163
_version
= version;
54 references to _version
dotnet-svcutil-lib (54)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (54)
116
Init(collection.
_version
, collection._headers.Length);
133
return ActionHeader.ReadHeaderValue(reader,
_version
.Addressing);
139
SetActionHeader(ActionHeader.Create(value,
_version
.Addressing));
177
return FaultToHeader.ReadHeaderValue(reader,
_version
.Addressing);
183
SetFaultToHeader(FaultToHeader.Create(value,
_version
.Addressing));
201
return FromHeader.ReadHeaderValue(reader,
_version
.Addressing);
207
SetFromHeader(FromHeader.Create(value,
_version
.Addressing));
240
return MessageIDHeader.ReadHeaderValue(reader,
_version
.Addressing);
246
SetMessageIDHeader(MessageIDHeader.Create(value,
_version
.Addressing));
254
get { return
_version
; }
281
return ReplyToHeader.ReadHeaderValue(reader,
_version
.Addressing);
287
SetReplyToHeader(ReplyToHeader.Create(value,
_version
.Addressing));
305
return ToHeader.ReadHeaderValue(reader,
_version
.Addressing);
311
SetToHeader(ToHeader.Create(value,
_version
.Addressing));
446
return new BufferedHeader(
_version
, buffer, 0, headerInfo);
456
return new BufferedHeader(
_version
, buffer, 0, headerInfo);
463
writeableHeader.WriteHeader(writer,
_version
);
466
return new BufferedHeader(
_version
, buffer, 0, writeableHeader);
492
if (collection.
_version
!=
_version
)
494
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.MessageHeaderVersionMismatch, collection.
_version
.ToString(),
_version
.ToString()), "collection"));
584
string.Format(SRServiceModel.MultipleMessageHeaders, name,
_version
.Addressing.Namespace),
586
_version
.Addressing.Namespace,
597
if (ns ==
_version
.Addressing.Namespace)
603
return FindNonAddressingHeader(name, ns,
_version
.Envelope.UltimateDestinationActorValues);
725
_version
.Addressing.Namespace,
884
if (headerInfo.Namespace ==
_version
.Addressing.Namespace)
886
if (
_version
.Envelope.IsUltimateDestinationActor(headerInfo.Actor))
942
if (
_version
.Envelope == EnvelopeVersion.None)
947
new InvalidOperationException(string.Format(SRServiceModel.HeadersCannotBeAddedToEnvelopeVersion,
_version
.Envelope)));
951
if (
_version
.Addressing == AddressingVersion.None)
956
new InvalidOperationException(string.Format(SRServiceModel.AddressingHeadersCannotBeAddedToAddressingVersion,
_version
.Addressing)));
1009
RelatesToHeader.ReadHeaderValue(reader,
_version
.Addressing, out relationshipType, out messageId);
1106
return HaveMandatoryHeadersBeenUnderstood(
_version
.Envelope.MustUnderstandActorValues);
1210
if (!header.IsMessageVersionSupported(
_version
))
1212
header.GetType().FullName,
_version
.Envelope.ToString()), "header"));
1300
if (
_version
.Addressing == AddressingVersion.None && reader.NamespaceURI == AddressingVersion.None.Namespace)
1303
new InvalidOperationException(string.Format(SRServiceModel.AddressingHeadersCannotBeAddedToAddressingVersion,
_version
.Addressing)));
1306
MessageHeader.GetHeaderAttributes(reader,
_version
, out actor, out mustUnderstand, out relay, out isRefParam);
1311
if (
_version
.Envelope.IsUltimateDestinationActor(actor))
1313
Fx.Assert(
_version
.Addressing.DictionaryNamespace != null, "non-None Addressing requires a non-null DictionaryNamespace");
1314
kind = (HeaderKind)reader.IndexOfLocalName(localNames,
_version
.Addressing.DictionaryNamespace);
1318
info = ToHeader.ReadHeader(reader,
_version
.Addressing, recycledMessageState.UriCache, actor, mustUnderstand, relay);
1321
info = ActionHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1324
info = MessageIDHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1327
info = RelatesToHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1330
info = ReplyToHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1333
info = FromHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1336
info = FaultToHeader.ReadHeader(reader,
_version
.Addressing, actor, mustUnderstand, relay);
1461
SetActionHeader(ActionHeader.Create(action,
_version
.Addressing));
1494
relatesToHeader = RelatesToHeader.Create(messageId,
_version
.Addressing, relationshipType);
1589
_headers[headerIndex].MessageHeader.WriteStartHeader(writer,
_version
);
1621
_headers[headerIndex].MessageHeader.WriteHeaderContents(writer,
_version
);