public bool IsReference { get { throw null; } set { } }
public bool IsReferenceSetExplicitly { get { throw null; } }
public bool IsValueNameSetExplicitly { get { throw null; } }
- public string ItemName { get { throw null; } set { } }
- public string KeyName { get { throw null; } set { } }
- public string Name { get { throw null; } set { } }
- public string Namespace { get { throw null; } set { } }
- public string ValueName { get { throw null; } set { } }
+ public string? ItemName { get { throw null; } set { } }
+ public string? KeyName { get { throw null; } set { } }
+ public string? Name { get { throw null; } set { } }
+ public string? Namespace { get { throw null; } set { } }
+ public string? ValueName { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Module, Inherited=false, AllowMultiple=true)]
public sealed partial class ContractNamespaceAttribute : System.Attribute
{
public ContractNamespaceAttribute(string contractNamespace) { }
- public string ClrNamespace { get { throw null; } set { } }
+ public string? ClrNamespace { get { throw null; } set { } }
public string ContractNamespace { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Struct, Inherited=false, AllowMultiple=false)]
public bool IsNamespaceSetExplicitly { get { throw null; } }
public bool IsReference { get { throw null; } set { } }
public bool IsReferenceSetExplicitly { get { throw null; } }
- public string Name { get { throw null; } set { } }
- public string Namespace { get { throw null; } set { } }
+ public string? Name { get { throw null; } set { } }
+ public string? Namespace { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Property, Inherited=false, AllowMultiple=false)]
public sealed partial class DataMemberAttribute : System.Attribute
public bool EmitDefaultValue { get { throw null; } set { } }
public bool IsNameSetExplicitly { get { throw null; } }
public bool IsRequired { get { throw null; } set { } }
- public string Name { get { throw null; } set { } }
+ public string? Name { get { throw null; } set { } }
public int Order { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Field, Inherited=false, AllowMultiple=false)]
{
public EnumMemberAttribute() { }
public bool IsValueSetExplicitly { get { throw null; } }
- public string Value { get { throw null; } set { } }
+ public string? Value { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Property, Inherited=false, AllowMultiple=false)]
public sealed partial class IgnoreDataMemberAttribute : System.Attribute
{
public InvalidDataContractException() { }
protected InvalidDataContractException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
- public InvalidDataContractException(string message) { }
- public InvalidDataContractException(string message, System.Exception innerException) { }
+ public InvalidDataContractException(string? message) { }
+ public InvalidDataContractException(string? message, System.Exception? innerException) { }
}
public partial interface ISerializationSurrogateProvider
{
{
public KnownTypeAttribute(string methodName) { }
public KnownTypeAttribute(System.Type type) { }
- public string MethodName { get { throw null; } }
- public System.Type Type { get { throw null; } }
+ public string? MethodName { get { throw null; } }
+ public System.Type? Type { get { throw null; } }
}
}
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
public sealed class CollectionDataContractAttribute : Attribute
{
- private string _name;
- private string _ns;
- private string _itemName;
- private string _keyName;
- private string _valueName;
+ private string? _name;
+ private string? _ns;
+ private string? _itemName;
+ private string? _keyName;
+ private string? _valueName;
private bool _isReference;
private bool _isNameSetExplicitly;
private bool _isNamespaceSetExplicitly;
{
}
- public string Namespace
+ public string? Namespace
{
get => _ns;
set
public bool IsNamespaceSetExplicitly => _isNamespaceSetExplicitly;
- public string Name
+ public string? Name
{
get => _name;
set
public bool IsNameSetExplicitly => _isNameSetExplicitly;
- public string ItemName
+ public string? ItemName
{
get => _itemName;
set
public bool IsItemNameSetExplicitly => _isItemNameSetExplicitly;
- public string KeyName
+ public string? KeyName
{
get => _keyName;
set
public bool IsReferenceSetExplicitly => _isReferenceSetExplicitly;
- public string ValueName
+ public string? ValueName
{
get => _valueName;
set