6 instantiations of ObjectGraphOptions
Microsoft.CodeAnalysis.NetAnalyzers (6)
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInSerializableTypeAnalyzer.cs (1)
159ObjectGraphOptions options = new ObjectGraphOptions(
Microsoft.NetCore.Analyzers\Security\Helpers\ObjectGraphOptions.cs (5)
66public static ObjectGraphOptions BinarySerializationOptions = new() 75public static ObjectGraphOptions DataContractOptions = new() 84public static ObjectGraphOptions XmlSerializerOptions = new() 93public static ObjectGraphOptions JavaScriptSerializerOptions = new() 102public static ObjectGraphOptions NewtonsoftJsonNetOptions = new()
31 references to ObjectGraphOptions
Microsoft.CodeAnalysis.NetAnalyzers (31)
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInIFormatterSerializableObjectGraphAnalyzer.cs (3)
109ObjectGraphOptions options; 112options = ObjectGraphOptions.DataContractOptions; 116options = ObjectGraphOptions.BinarySerializationOptions;
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInSerializableObjectGraphAnalyzer.cs (14)
108out ObjectGraphOptions? optionsToUse, 128out ObjectGraphOptions? optionsToUse, 148out ObjectGraphOptions? optionsToUse, 161optionsToUse = ObjectGraphOptions.JavaScriptSerializerOptions; 173optionsToUse = ObjectGraphOptions.JavaScriptSerializerOptions; 184optionsToUse = ObjectGraphOptions.JavaScriptSerializerOptions; 199optionsToUse = ObjectGraphOptions.XmlSerializerOptions; 214optionsToUse = ObjectGraphOptions.NewtonsoftJsonNetOptions; 224optionsToUse = ObjectGraphOptions.NewtonsoftJsonNetOptions; 233optionsToUse = ObjectGraphOptions.NewtonsoftJsonNetOptions; 247out ObjectGraphOptions? optionsToUse, 257optionsToUse = ObjectGraphOptions.DataContractOptions; 267optionsToUse = ObjectGraphOptions.XmlSerializerOptions; 283ObjectGraphOptions optionsToUse,
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInSerializableTypeAnalyzer.cs (1)
159ObjectGraphOptions options = new ObjectGraphOptions(
Microsoft.NetCore.Analyzers\Security\DataSetDataTableInWebSerializableObjectGraphAnalyzer.cs (3)
95ObjectGraphOptions optionsToUse; 98optionsToUse = ObjectGraphOptions.XmlSerializerOptions; 102optionsToUse = ObjectGraphOptions.DataContractOptions;
Microsoft.NetCore.Analyzers\Security\Helpers\InsecureDeserializationTypeDecider.cs (3)
166private readonly ConcurrentDictionary<(ITypeSymbol, ObjectGraphOptions), ImmutableArray<InsecureObjectGraphResult>> IsObjectGraphInsecureCache = 180ObjectGraphOptions options, 195ImmutableArray<InsecureObjectGraphResult> Compute((ITypeSymbol, ObjectGraphOptions) _)
Microsoft.NetCore.Analyzers\Security\Helpers\ObjectGraphOptions.cs (7)
66public static ObjectGraphOptions BinarySerializationOptions = new() 75public static ObjectGraphOptions DataContractOptions = new() 84public static ObjectGraphOptions XmlSerializerOptions = new() 93public static ObjectGraphOptions JavaScriptSerializerOptions = new() 102public static ObjectGraphOptions NewtonsoftJsonNetOptions = new() 110return this.Equals(obj as ObjectGraphOptions); 113public bool Equals(ObjectGraphOptions? other)