7 references to MajorVersionValue
System.IdentityModel (7)
System\IdentityModel\Tokens\SamlAssertion.cs (4)
96
get { return SamlConstants.
MajorVersionValue
; }
511
if ((majorVersion != SamlConstants.
MajorVersionValue
) || (minorVersion != SamlConstants.MinorVersionValue))
513
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(SR.GetString(SR.SAMLTokenVersionNotSupported, majorVersion, minorVersion, SamlConstants.
MajorVersionValue
, SamlConstants.MinorVersionValue)));
633
writer.WriteValue(SamlConstants.
MajorVersionValue
);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
1775
if ((majorVersion != SamlConstants.
MajorVersionValue
) || (minorVersion != SamlConstants.MinorVersionValue))
1777
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.ID4076, majorVersion, minorVersion, SamlConstants.
MajorVersionValue
, SamlConstants.MinorVersionValue)));
1879
writer.WriteAttributeString(SamlConstants.AttributeNames.MajorVersion, null, Convert.ToString(SamlConstants.
MajorVersionValue
, CultureInfo.InvariantCulture));