3 instantiations of CompilationSecurityTypes
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetFramework.Analyzers\DoNotUseInsecureDtdProcessing.cs (1)
108
var xmlTypes = new
CompilationSecurityTypes
(compilation);
Microsoft.NetFramework.Analyzers\DoNotUseInsecureDtdProcessingInApiDesign.cs (1)
53
var xmlTypes = new
CompilationSecurityTypes
(compilation);
Microsoft.NetFramework.Analyzers\DoNotUseInsecureXSLTScriptExecution.cs (1)
52
var xmlTypes = new
CompilationSecurityTypes
(compilation);
40 references to CompilationSecurityTypes
Microsoft.CodeAnalysis.NetAnalyzers (40)
Microsoft.NetFramework.Analyzers\DoNotUseInsecureDtdProcessing.cs (5)
78
private static void RegisterAnalyzer(OperationBlockStartAnalysisContext context,
CompilationSecurityTypes
types, Version frameworkVersion)
108
var
xmlTypes = new CompilationSecurityTypes(compilation);
186
private readonly
CompilationSecurityTypes
_xmlTypes;
193
public OperationAnalyzer(
CompilationSecurityTypes
xmlTypes, Version targetFrameworkVersion)
706
private static bool ReferencesAnyTargetType(
CompilationSecurityTypes
types)
Microsoft.NetFramework.Analyzers\DoNotUseInsecureDtdProcessingInApiDesign.cs (4)
53
var
xmlTypes = new CompilationSecurityTypes(compilation);
70
private static bool ReferencesAnyTargetType(
CompilationSecurityTypes
types)
79
private readonly
CompilationSecurityTypes
_xmlTypes;
87
public SymbolAndNodeAnalyzer(
CompilationSecurityTypes
xmlTypes,
Microsoft.NetFramework.Analyzers\DoNotUseInsecureXSLTScriptExecution.cs (3)
52
var
xmlTypes = new CompilationSecurityTypes(compilation);
102
private readonly
CompilationSecurityTypes
_xmlTypes;
107
public OperationBlockAnalyzer(
CompilationSecurityTypes
xmlTypes, ISymbol enclosingSymbol)
Microsoft.NetFramework.Analyzers\Helpers\SecurityDiagnosticHelpers.cs (28)
16
public static bool IsXslCompiledTransformLoad([NotNullWhen(returnValue: true)] this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
21
public static bool IsXmlDocumentCtorDerived([NotNullWhen(returnValue: true)] this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
28
public static bool IsXmlDocumentXmlResolverProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
33
public static bool IsXmlTextReaderCtorDerived([NotNullWhen(returnValue: true)] this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
40
public static bool IsXmlTextReaderXmlResolverPropertyDerived([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
45
public static bool IsXmlTextReaderDtdProcessingPropertyDerived([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
50
public static bool IsXmlTextReaderXmlResolverProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
55
public static bool IsXmlTextReaderDtdProcessingProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
60
public static bool IsXmlReaderSettingsCtor([NotNullWhen(returnValue: true)] this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
67
public static bool IsXmlReaderSettingsXmlResolverProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
72
public static bool IsXmlReaderSettingsDtdProcessingProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
77
public static bool IsXmlReaderSettingsMaxCharactersFromEntitiesProperty([NotNullWhen(returnValue: true)] IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
82
public static bool IsXsltSettingsCtor([NotNullWhen(returnValue: true)] this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
87
public static bool IsXsltSettingsTrustedXsltProperty([NotNullWhen(returnValue: true)] this IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
90
public static bool IsXsltSettingsDefaultProperty([NotNullWhen(returnValue: true)] this IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
93
public static bool IsXsltSettingsEnableDocumentFunctionProperty([NotNullWhen(returnValue: true)] this IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
96
public static bool IsXsltSettingsEnableScriptProperty([NotNullWhen(returnValue: true)] this IPropertySymbol? symbol,
CompilationSecurityTypes
xmlTypes)
99
public static bool IsXmlResolverType([NotNullWhen(returnValue: true)] ITypeSymbol? symbol,
CompilationSecurityTypes
xmlTypes)
105
public static bool IsXmlSecureResolverType([NotNullWhen(returnValue: true)] this ITypeSymbol? symbol,
CompilationSecurityTypes
xmlTypes)
109
public static bool IsXsltSettingsType([NotNullWhen(returnValue: true)] ITypeSymbol? symbol,
CompilationSecurityTypes
xmlTypes)
114
public static bool IsXmlReaderSettingsType([NotNullWhen(returnValue: true)] ITypeSymbol? symbol,
CompilationSecurityTypes
xmlTypes)
119
public static int GetXmlResolverParameterIndex(this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
122
public static int GetXsltSettingsParameterIndex(this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
125
public static int GetXmlReaderSettingsParameterIndex(this IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
130
public static bool IsXmlReaderType([NotNullWhen(returnValue: true)] ITypeSymbol? symbol,
CompilationSecurityTypes
xmlTypes)
136
public static int HasXmlReaderParameter(IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes)
182
private static int GetSpecifiedParameterIndex(IMethodSymbol? method,
CompilationSecurityTypes
xmlTypes, Func<ITypeSymbol,
CompilationSecurityTypes
, bool> func)