85 references to SecurityHelper
PresentationFramework (85)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
302SecurityHelper.DemandUIWindowPermission();
src\Framework\Microsoft\Win32\FileDialog.cs (13)
46using SecurityHelper=MS.Internal.PresentationFramework.SecurityHelper; 110SecurityHelper.DemandUnrestrictedFileIOPermission(); 171SecurityHelper.DemandUnrestrictedFileIOPermission(); 206SecurityHelper.DemandUnrestrictedFileIOPermission(); 235SecurityHelper.DemandUnrestrictedFileIOPermission(); 301SecurityHelper.DemandUnrestrictedFileIOPermission(); 395SecurityHelper.DemandUnrestrictedFileIOPermission(); 401SecurityHelper.DemandUnrestrictedFileIOPermission(); 436SecurityHelper.DemandUnrestrictedFileIOPermission(); 553SecurityHelper.DemandUnrestrictedFileIOPermission(); 582SecurityHelper.DemandUnrestrictedFileIOPermission(); 610SecurityHelper.DemandUnrestrictedFileIOPermission(); 641SecurityHelper.DemandUnrestrictedFileIOPermission();
src\Framework\Microsoft\Win32\OpenFileDialog.cs (4)
91SecurityHelper.DemandFileDialogOpenPermission(); 145SecurityHelper.DemandFileDialogOpenPermission(); 202SecurityHelper.DemandUnrestrictedFileIOPermission(); 338SecurityHelper.DemandFileDialogOpenPermission();
src\Framework\Microsoft\Win32\SaveFileDialog.cs (5)
91SecurityHelper.DemandUIWindowPermission(); 130SecurityHelper.DemandUIWindowPermission(); 179SecurityHelper.DemandUIWindowPermission(); 210SecurityHelper.DemandUIWindowPermission(); 411SecurityHelper.DemandUIWindowPermission();
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (2)
87if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme)) 140if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme))
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (1)
128MS.Internal.PresentationFramework.SecurityHelper.CallerHasUserInitiatedNavigationPermission()) &&
src\Framework\MS\Internal\AppModel\IconHelper.cs (1)
95SecurityHelper.DemandUIWindowPermission();
src\Framework\MS\Internal\AppModel\XappLauncher.cs (8)
120SecurityHelper.DemandUIWindowPermission(); 305SecurityHelper.DemandUnmanagedCode(); 621SecurityHelper.DemandUIWindowPermission(); 673SecurityHelper.DemandUIWindowPermission(); 780SecurityHelper.DemandUIWindowPermission(); 859SecurityHelper.DemandUIWindowPermission(); 1036SecurityHelper.DemandUIWindowPermission(); 1109SecurityHelper.DemandUnmanagedCode();
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (1)
135!SecurityHelper.CallerHasWebPermission(source) &&
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
308PresentationFramework.SecurityHelper.ShowMessageBoxHelper(
src\Framework\MS\Internal\Ink\ClipboardProcessor.cs (1)
347if (!SecurityHelper.CheckUnmanagedCodePermission())
src\Framework\MS\Internal\IO\Packaging\ManagedFilter.cs (1)
133SecurityHelper.DemandUnmanagedCode();
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2281MS.Internal.PresentationFramework.SecurityHelper.ShowMessageBoxHelper(
src\Framework\System\Windows\Controls\Frame.cs (4)
42using SecurityHelper=MS.Internal.PresentationFramework.SecurityHelper; 394SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox); 410SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox); 423SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox);
src\Framework\System\Windows\Controls\PrintDialog.cs (5)
233SecurityHelper.DemandPrintDialogPermissions(); 245SecurityHelper.DemandPrintDialogPermissions(); 268SecurityHelper.DemandPrintDialogPermissions(); 280SecurityHelper.DemandPrintDialogPermissions(); 712SecurityHelper.DemandPrintDialogPermissions();
src\Framework\System\Windows\Controls\WebBrowser.cs (4)
43using SecurityHelperPF=MS.Internal.PresentationFramework.SecurityHelper; 130SecurityHelperPF.DemandWebBrowserPermission(); 170SecurityHelperPF.DemandWebBrowserPermission(); 1378!SecurityHelperPF.CallerAndAppDomainHaveUnrestrictedWebBrowserPermission();
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
27using SecurityHelper=MS.Internal.PresentationFramework.SecurityHelper; 1168CodeAccessPermission perm = SecurityHelper.CreateUserInitiatedNavigationPermission();
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (3)
82SecurityHelper.DemandPlugInSerializerPermissions(); 143SecurityHelper.DemandPlugInSerializerPermissions(); 191SecurityHelper.DemandPlugInSerializerPermissions();
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (5)
58SecurityHelper.DemandPlugInSerializerPermissions(); 105SecurityHelper.DemandPlugInSerializerPermissions(); 141SecurityHelper.DemandPlugInSerializerPermissions(); 176SecurityHelper.DemandPlugInSerializerPermissions(); 261SecurityHelper.DemandPlugInSerializerPermissions();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
394MS.Internal.PresentationFramework.SecurityHelper.DemandWebBrowserPermission();
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (6)
38using SecurityHelper=MS.Internal.PresentationFramework.SecurityHelper; 2865if (SecurityHelper.CallerHasMemberAccessReflectionPermission()) 2911if (isPublicProperty || SecurityHelper.CallerHasMemberAccessReflectionPermission()) 2949if (isPublicProperty || SecurityHelper.CallerHasMemberAccessReflectionPermission()) 2987if (SecurityHelper.CallerHasMemberAccessReflectionPermission()) 3026if (isPublicEvent || SecurityHelper.CallerHasMemberAccessReflectionPermission())
src\Framework\System\Windows\Markup\XamlWriter.cs (5)
70SecurityHelper.DemandUnmanagedCode(); 117SecurityHelper.DemandUnmanagedCode(); 157SecurityHelper.DemandUnmanagedCode(); 199SecurityHelper.DemandUnmanagedCode(); 244SecurityHelper.DemandUnmanagedCode();
src\Framework\System\Windows\MessageBox.cs (1)
487SecurityHelper.DemandUnmanagedCode();
src\Framework\System\Windows\Navigation\NavigationWindow.cs (3)
83SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox); 99SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox); 111SecurityHelper.ThrowExceptionIfSettingTrueInPartialTrust(ref fSandBox);
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
468Exception e = MS.Internal.PresentationFramework.SecurityHelper.GetExceptionForHR((int)_value);
src\Shared\MS\Internal\SecurityHelper.cs (3)
95SecurityHelper.DemandUnmanagedCode(); 173if (value == true && !SecurityHelper.CheckUnmanagedCodePermission()) 223SecurityHelper.DemandWebBrowserPermission();
src\Shared\MS\Utility\BindUriHelper.cs (2)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true); 173if (SecurityHelper.AreStringTypesEqual(sourceUri.Scheme, destinationUri.Scheme))