@@ -8139,6 +8139,7 @@ internal override object Accept(ICustomAstVisitor visitor)
8139
8139
/// <summary>
8140
8140
/// The name and attributes of a type.
8141
8141
/// </summary>
8142
+ #nullable enable
8142
8143
public interface ITypeName
8143
8144
{
8144
8145
/// <summary>
@@ -8154,7 +8155,7 @@ public interface ITypeName
8154
8155
/// <summary>
8155
8156
/// The name of the assembly, if specified, otherwise null.
8156
8157
/// </summary>
8157
- string AssemblyName { get ; }
8158
+ string ? AssemblyName { get ; }
8158
8159
8159
8160
/// <summary>
8160
8161
/// Returns true if the type names an array, false otherwise.
@@ -8169,20 +8170,21 @@ public interface ITypeName
8169
8170
/// <summary>
8170
8171
/// Returns the <see cref="System.Type"/> that this typename represents, if such a type exists, null otherwise.
8171
8172
/// </summary>
8172
- Type GetReflectionType ( ) ;
8173
+ Type ? GetReflectionType ( ) ;
8173
8174
8174
8175
/// <summary>
8175
8176
/// Assuming the typename is an attribute, returns the <see cref="System.Type"/> that this typename represents.
8176
8177
/// By convention, the typename may omit the suffix "Attribute". Lookup will attempt to resolve the type as is,
8177
8178
/// and if that fails, the suffix "Attribute" will be appended.
8178
8179
/// </summary>
8179
- Type GetReflectionAttributeType ( ) ;
8180
+ Type ? GetReflectionAttributeType ( ) ;
8180
8181
8181
8182
/// <summary>
8182
8183
/// The extent of the typename.
8183
8184
/// </summary>
8184
8185
IScriptExtent Extent { get ; }
8185
8186
}
8187
+ #nullable restore
8186
8188
8187
8189
#nullable enable
8188
8190
internal interface ISupportsTypeCaching
0 commit comments