@@ -95,7 +95,7 @@ public void Initialize(IncrementalGeneratorInitializationContext initContext)
9595 initContext . RegisterSourceOutput ( xmlnsDefinitionsProvider , static ( sourceProductionContext , xmlnsCache ) =>
9696 {
9797 var source = GenerateGlobalXmlns ( sourceProductionContext , xmlnsCache ) ;
98- if ( ! string . IsNullOrEmpty ( source ) )
98+ if ( ! string . IsNullOrEmpty ( source ) )
9999 sourceProductionContext . AddSource ( "Global.Xmlns.cs" , SourceText . From ( source ! , Encoding . UTF8 ) ) ;
100100 } ) ;
101101 }
@@ -226,7 +226,7 @@ static AssemblyCaches GetAssemblyAttributes(Compilation compilation, Cancellatio
226226 assemblies . Add ( compilation . Assembly ) ;
227227 foreach ( var reference in compilation . References )
228228 {
229- cancellationToken . ThrowIfCancellationRequested ( ) ;
229+ cancellationToken . ThrowIfCancellationRequested ( ) ;
230230
231231 var assembly = compilation . GetAssemblyOrModuleSymbol ( reference ) ;
232232 if ( assembly is IAssemblySymbol assemblySymbol )
@@ -238,7 +238,7 @@ static AssemblyCaches GetAssemblyAttributes(Compilation compilation, Cancellatio
238238 // load from references
239239 foreach ( var assembly in assemblies )
240240 {
241- cancellationToken . ThrowIfCancellationRequested ( ) ;
241+ cancellationToken . ThrowIfCancellationRequested ( ) ;
242242
243243 foreach ( var attr in assembly . GetAttributes ( ) )
244244 {
@@ -254,12 +254,12 @@ static AssemblyCaches GetAssemblyAttributes(Compilation compilation, Cancellatio
254254 {
255255 xmlnsDef . AssemblyName = assembly . Name ;
256256 }
257-
257+
258258 //only add globalxmlns definition from the current assembly
259- if ( xmlnsDef . XmlNamespace == XamlParser . MauiGlobal
259+ if ( xmlnsDef . XmlNamespace == XamlParser . MauiGlobal
260260 && ! SymbolEqualityComparer . Default . Equals ( assembly , compilation . Assembly ) )
261261 {
262- continue ;
262+ continue ;
263263 }
264264
265265 xmlnsDefinitions . Add ( xmlnsDef ) ;
0 commit comments