@@ -302,7 +302,7 @@ where field.IsStatic
302
302
writer . AppendLineIndented ( "[global::System.Diagnostics.CodeAnalysis.SuppressMessage(\" Microsoft.Maintainability\" , \" CA1505:AvoidUnmaintainableCode\" , Justification = \" Must be ignored even if generated code is checked.\" )]" ) ;
303
303
using ( writer . BlockInvariant ( "internal static global::Uno.UI.DataBinding.IBindableType Build(global::Uno.UI.DataBinding.BindableType parent)" ) )
304
304
{
305
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "global:: Uno.UI.DataBinding.IBindableType Build(global:: Uno.UI.DataBinding.BindableType)" ) ;
305
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "Uno.UI.DataBinding.IBindableType Build(Uno.UI.DataBinding.BindableType)" ) ;
306
306
307
307
writer . AppendLineInvariantIndented (
308
308
@"var bindableType = parent ?? new global::Uno.UI.DataBinding.BindableType({0}, typeof({1}));" ,
@@ -327,7 +327,7 @@ where field.IsStatic
327
327
writer . AppendLineIndented ( @"bindableType.AddActivator(CreateInstance);" ) ;
328
328
postWriter . AppendLineIndented ( $@ "private static object CreateInstance() => new { ownerTypeName } ();") ;
329
329
330
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "global:: System.Object CreateInstance()" ) ;
330
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "System.Object CreateInstance()" ) ;
331
331
}
332
332
}
333
333
@@ -341,12 +341,12 @@ where field.IsStatic
341
341
writer . AppendLineIndented ( "bindableType.AddIndexer(GetIndexer, SetIndexer);" ) ;
342
342
343
343
postWriter . AppendLineIndented ( $@ "private static object GetIndexer(object instance, string name) => (({ ownerTypeName } )instance)[name];") ;
344
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "global:: System.Object GetIndexer(global:: System.Object, global:: System.String)" ) ;
344
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "System.Object GetIndexer(System.Object, System.String)" ) ;
345
345
346
346
if ( property . SetMethod != null )
347
347
{
348
348
postWriter . AppendLineIndented ( $@ "private static void SetIndexer(object instance, string name, object value) => (({ ownerTypeName } )instance)[name] = ({ propertyTypeName } )value;") ;
349
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "global:: System.Void SetIndexer(global:: System.Object, global:: System.String, global:: System.Object)" ) ;
349
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , "System.Void SetIndexer(System.Object,System.String,System.Object)" ) ;
350
350
}
351
351
else
352
352
{
@@ -386,8 +386,8 @@ where field.IsStatic
386
386
postWriter . AppendLineIndented ( $@ "private static void Set{ propertyName } (object instance, object value, global::Microsoft.UI.Xaml.DependencyPropertyValuePrecedences? precedence) => (({ ownerTypeName } )instance).{ propertyName } = ({ propertyTypeName } )value;") ;
387
387
}
388
388
389
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "global:: System.Object Get{ propertyName } (global:: System.Object, global:: System.Nullable`1<global:: Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
390
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "global:: System.Void Set{ propertyName } (global:: System.Object, global:: System.Object, global:: System.Nullable`1<global:: Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
389
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "System.Object Get{ propertyName } (System.Object,System.Nullable`1<Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
390
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "System.Void Set{ propertyName } (System.Object,System.Object,System.Nullable`1<Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
391
391
392
392
}
393
393
else if ( HasPublicGetter ( property ) )
@@ -396,7 +396,7 @@ where field.IsStatic
396
396
397
397
postWriter . AppendLineIndented ( $@ "private static object Get{ propertyName } (object instance, global::Microsoft.UI.Xaml.DependencyPropertyValuePrecedences? precedence) => (({ ownerTypeName } )instance).{ propertyName } ;") ;
398
398
399
- RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "global:: System.Object Get{ propertyName } (global:: System.Object, global:: System.Nullable`1<global:: Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
399
+ RegisterHintMethod ( $ "MetadataBuilder_{ typeInfo . Index : 000} ", ownerType , $ "System.Object Get{ propertyName } (System.Object,System.Nullable`1<Microsoft.UI.Xaml.DependencyPropertyValuePrecedences>)") ;
400
400
}
401
401
}
402
402
0 commit comments