@@ -330,14 +330,14 @@ public bool VerifyContainsValidNamespacePowerFxFunctions(TestSettingExtensions s
330330 stream . Position = 0 ;
331331 ModuleDefinition module = ModuleDefinition . ReadModule ( stream ) ;
332332
333- var isProviderAssembly = module . Types . Any ( t =>
334- t . Interfaces . Any ( i =>
333+ var isProviderAssembly = module . Types . Any ( t =>
334+ t . Interfaces . Any ( i =>
335335 i . InterfaceType . FullName == typeof ( Providers . ITestWebProvider ) . FullName ||
336336 i . InterfaceType . FullName == typeof ( Users . IUserManager ) . FullName ||
337337 i . InterfaceType . FullName == typeof ( Config . IUserCertificateProvider ) . FullName ) ) ;
338338
339- var isActionModule = module . Types . Any ( t => t . Name . EndsWith ( "Module" ) &&
340- ! t . Interfaces . Any ( i =>
339+ var isActionModule = module . Types . Any ( t => t . Name . EndsWith ( "Module" ) &&
340+ ! t . Interfaces . Any ( i =>
341341 i . InterfaceType . FullName == typeof ( Providers . ITestWebProvider ) . FullName ||
342342 i . InterfaceType . FullName == typeof ( Users . IUserManager ) . FullName ||
343343 i . InterfaceType . FullName == typeof ( Config . IUserCertificateProvider ) . FullName ) ) ;
@@ -351,15 +351,15 @@ public bool VerifyContainsValidNamespacePowerFxFunctions(TestSettingExtensions s
351351 . Where ( t => t . Name . EndsWith ( "Module" ) )
352352 . SelectMany ( t => t . Properties )
353353 . FirstOrDefault ( p => p . Name . Contains ( "Preview" ) && p . Name . Contains ( "Namespace" ) ) ;
354-
354+
355355 if ( previewProperty != null )
356356 {
357357 var moduleWithPreviewSupport = previewProperty . DeclaringType ;
358-
358+
359359#if RELEASE
360360 // In RELEASE mode, check if Preview namespace is in settings
361361 previewNamespaceEnabled = settings . AllowPowerFxNamespaces . Contains ( NAMESPACE_PREVIEW ) ;
362-
362+
363363 if ( previewNamespaceEnabled )
364364 {
365365 Logger ? . LogInformation ( "RELEASE: Preview namespace enabled based on YAML settings" ) ;
@@ -368,7 +368,7 @@ public bool VerifyContainsValidNamespacePowerFxFunctions(TestSettingExtensions s
368368 {
369369 Logger ? . LogInformation ( "RELEASE: Preview namespace not enabled in YAML settings" ) ;
370370 }
371-
371+
372372 Logger ? . LogInformation ( $ "RELEASE: { moduleWithPreviewSupport . Name } detected. Preview namespace enabled: { previewNamespaceEnabled } ") ;
373373#else
374374 // In DEBUG mode, Preview namespace is already auto-added above
0 commit comments