5 writes to SessionMode
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
187
contract.
SessionMode
= SessionMode.NotAllowed;
202
contract.
SessionMode
= SessionMode.NotAllowed;
760
contractDescription.
SessionMode
= contractAttr.SessionMode;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
1282
contractDescription.
SessionMode
= SessionMode.Required;
1286
contractDescription.
SessionMode
= SessionMode.NotAllowed;
9 references to SessionMode
dotnet-svcutil-lib (9)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelRequirements.cs (1)
29
requirements.sessionMode = contractDescription.
SessionMode
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (1)
231
&& (this.
SessionMode
!= SessionMode.Required))
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
370
if (context.Contract.
SessionMode
!= SessionMode.Allowed)
374
new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.
SessionMode
.ToString())));
403
if ((operationDescription.DeclaringContract.
SessionMode
== SessionMode.Required) && operationDescription.IsTerminating)
407
if ((operationDescription.DeclaringContract.
SessionMode
== SessionMode.Required) && !operationDescription.IsInitiating)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
1106
if (contract.
SessionMode
== SessionMode.Required)
1110
else if (contract.
SessionMode
== SessionMode.NotAllowed)
1126
if (contract.
SessionMode
== SessionMode.Required)