289 instantiations of NotNullIfNotNull
InMemory.FunctionalTests (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Authorization.Policy (1)
src\Http\Routing\src\DataSourceDependentCache.cs (1)
43[NotNullIfNotNull(nameof(_value))]
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
46[return: NotNullIfNotNull("authenticatedConfiguration")]
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
48[return: NotNullIfNotNull("configuration")]
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
50[return: NotNullIfNotNull("configuration")]
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
41[return: NotNullIfNotNull("configuration")]
Microsoft.AspNetCore.Diagnostics (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Hosting (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Http.Results (1)
src\Shared\ResultsHelpers\SharedUrlHelper.cs (1)
13[return: NotNullIfNotNull("contentPath")]
Microsoft.AspNetCore.Mvc.Abstractions (2)
IUrlHelper.cs (1)
47[return: NotNullIfNotNull("contentPath")]
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\ModelBindingHelper.cs (1)
595[return: NotNullIfNotNull("value")]
Routing\UrlHelperBase.cs (2)
50[return: NotNullIfNotNull("contentPath")] 295[return: NotNullIfNotNull("contentPath")]
src\Http\Routing\src\DataSourceDependentCache.cs (1)
43[NotNullIfNotNull(nameof(_value))]
src\Shared\ResultsHelpers\SharedUrlHelper.cs (1)
13[return: NotNullIfNotNull("contentPath")]
Microsoft.AspNetCore.OpenApi (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Routing (1)
DataSourceDependentCache.cs (1)
43[NotNullIfNotNull(nameof(_value))]
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
37[return: NotNullIfNotNull("item")]
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationPath.cs (1)
49[return: NotNullIfNotNull(nameof(path))]
Microsoft.Extensions.Configuration.Binder (2)
ConfigurationBinder.cs (2)
170[return: NotNullIfNotNull(nameof(defaultValue))] 202[return: NotNullIfNotNull(nameof(defaultValue))]
Microsoft.Extensions.DependencyInjection (3)
DependencyInjectionEventSource.cs (1)
319[return: NotNullIfNotNull(nameof(e))]
ServiceLookup\ServiceProviderEngineScope.cs (1)
77[return: NotNullIfNotNull(nameof(service))]
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
35[return: NotNullIfNotNull(nameof(item))]
Microsoft.Extensions.DependencyModel (1)
DependencyContextJsonReader.cs (1)
853[return: NotNullIfNotNull(nameof(s))]
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
35[return: NotNullIfNotNull(nameof(item))]
Microsoft.Extensions.Http (1)
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
35[return: NotNullIfNotNull(nameof(item))]
Microsoft.Extensions.Localization.Abstractions (1)
LocalizedString.cs (1)
58[return: NotNullIfNotNull("localizedString")]
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
35[return: NotNullIfNotNull(nameof(item))]
Microsoft.Net.Http.Headers (1)
ContentRangeHeaderValue.cs (1)
120[NotNullIfNotNull(nameof(Length))]
Microsoft.Win32.Registry (2)
artifacts\obj\Microsoft.Win32.Registry\Debug\net9.0\Microsoft.Win32.Registry.notsupported.cs (2)
60[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("defaultValue")] 62[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("defaultValue")]
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\Primitives\SerializableCompositionElement.cs (1)
30[return: NotNullIfNotNull(nameof(element))]
System\ComponentModel\Composition\ReflectionModel\GenericServices.cs (1)
91[return: NotNullIfNotNull(nameof(types))]
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
241[return: NotNullIfNotNull(nameof(parameters))]
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ArrayConverter.cs (1)
32[return: NotNullIfNotNull(nameof(value))]
System\ComponentModel\TypeDescriptor.cs (2)
2772[return: NotNullIfNotNull(nameof(instance))] 3055[return: NotNullIfNotNull(nameof(instance))]
System.Data.Common (1)
System\Data\Common\DBCommandBuilder.cs (1)
1367[return: NotNullIfNotNull(nameof(column))]
System.Formats.Tar (2)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
218[return: NotNullIfNotNull(nameof(path))]
src\libraries\Common\src\System\IO\PathInternal.Unix.cs (1)
38[return: NotNullIfNotNull(nameof(path))]
System.IO.FileSystem.Watcher (2)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
218[return: NotNullIfNotNull(nameof(path))]
src\libraries\Common\src\System\IO\PathInternal.Unix.cs (1)
38[return: NotNullIfNotNull(nameof(path))]
System.Linq.Expressions (5)
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
36[return: NotNullIfNotNull(nameof(node))]
System\Linq\Expressions\ExpressionVisitor.cs (3)
34[return: NotNullIfNotNull(nameof(node))] 129[return: NotNullIfNotNull(nameof(node))] 320[return: NotNullIfNotNull(nameof(node))]
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (1)
25[return: NotNullIfNotNull(nameof(expression))]
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
631[return: NotNullIfNotNull(nameof(source))]
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
161[return: NotNullIfNotNull(nameof(inputServiceName))]
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
1176[return: NotNullIfNotNull(nameof(str))]
System.Private.CoreLib (47)
src\libraries\Common\src\System\IO\PathInternal.cs (1)
218[return: NotNullIfNotNull(nameof(path))]
src\libraries\Common\src\System\IO\PathInternal.Unix.cs (1)
38[return: NotNullIfNotNull(nameof(path))]
src\libraries\System.Private.CoreLib\src\System\Convert.cs (6)
122[return: NotNullIfNotNull(nameof(value))] 128[return: NotNullIfNotNull(nameof(value))] 222[return: NotNullIfNotNull(nameof(value))] 228[return: NotNullIfNotNull(nameof(value))] 2032[return: NotNullIfNotNull(nameof(value))] 2038[return: NotNullIfNotNull(nameof(value))]
src\libraries\System.Private.CoreLib\src\System\Delegate.cs (2)
16[return: NotNullIfNotNull(nameof(a))] 17[return: NotNullIfNotNull(nameof(b))]
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (2)
204[return: NotNullIfNotNull(nameof(str))] 270[return: NotNullIfNotNull(nameof(array))]
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (4)
41[return: NotNullIfNotNull(nameof(path))] 180[return: NotNullIfNotNull(nameof(path))] 220[return: NotNullIfNotNull(nameof(path))] 250[return: NotNullIfNotNull(nameof(path))]
src\libraries\System.Private.CoreLib\src\System\Net\WebUtility.cs (8)
19[return: NotNullIfNotNull(nameof(value))] 163[return: NotNullIfNotNull(nameof(value))] 367[return: NotNullIfNotNull(nameof(value))] 419[return: NotNullIfNotNull(nameof(value))] 459[return: NotNullIfNotNull(nameof(value))] 522[return: NotNullIfNotNull(nameof(bytes))] 570[return: NotNullIfNotNull(nameof(encodedValue))] 576[return: NotNullIfNotNull(nameof(encodedValue))]
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\Unsafe.cs (1)
67[return: NotNullIfNotNull(nameof(o))]
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.NoCom.cs (1)
49[return: NotNullIfNotNull(nameof(o))]
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (1)
886[return: NotNullIfNotNull(nameof(value))]
src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (1)
321[return: NotNullIfNotNull(nameof(str))]
src\libraries\System.Private.CoreLib\src\System\Threading\LazyInitializer.cs (3)
138public static T EnsureInitialized<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T>([AllowNull] ref T target, ref bool initialized, [NotNullIfNotNull(nameof(syncLock))] ref object? syncLock) 198public static T EnsureInitialized<T>([AllowNull] ref T target, ref bool initialized, [NotNullIfNotNull(nameof(syncLock))] ref object? syncLock, Func<T> valueFactory) 247public static T EnsureInitialized<T>([NotNull] ref T? target, [NotNullIfNotNull(nameof(syncLock))] ref object? syncLock, Func<T> valueFactory) where T : class =>
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (3)
566[return: NotNullIfNotNull(nameof(address))] 567public static object? VolatileRead([NotNullIfNotNull(nameof(address))] ref object? address) => Volatile.Read(ref address); 611public static void VolatileWrite([NotNullIfNotNull(nameof(value))] ref object? address, object? value) => Volatile.Write(ref address, value);
src\libraries\System.Private.CoreLib\src\System\Threading\Volatile.cs (3)
220[return: NotNullIfNotNull(nameof(location))] 221public static T Read<T>([NotNullIfNotNull(nameof(location))] ref readonly T location) where T : class? => 226public static void Write<T>([NotNullIfNotNull(nameof(value))] ref T location, T value) where T : class? =>
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
40[return: NotNullIfNotNull(nameof(obj))]
src\System\Threading\Interlocked.CoreCLR.cs (9)
94[return: NotNullIfNotNull(nameof(location1))] 95public static object? Exchange([NotNullIfNotNull(nameof(value))] ref object? location1, object? value) 102[return: NotNullIfNotNull(nameof(location1))] 104private static extern object? ExchangeObject([NotNullIfNotNull(nameof(value))] ref object? location1, object? value); 116[return: NotNullIfNotNull(nameof(location1))] 118public static T Exchange<T>([NotNullIfNotNull(nameof(value))] ref T location1, T value) where T : class? => 175[return: NotNullIfNotNull(nameof(location1))] 184[return: NotNullIfNotNull(nameof(location1))] 206[return: NotNullIfNotNull(nameof(location1))]
System.Private.DataContractSerialization (10)
System\Runtime\Serialization\DataContract.cs (1)
2048internal static void CheckAndAdd(Type type, Dictionary<Type, Type> typesChecked, [NotNullIfNotNull(nameof(nameToDataContractTable))] ref DataContractDictionary? nameToDataContractTable)
System\Runtime\Serialization\DataContractSerializer.cs (1)
523[return: NotNullIfNotNull(nameof(oldObj))]
System\Runtime\Serialization\DataContractSurrogateCaller.cs (2)
23[return: NotNullIfNotNull(nameof(obj))] 35[return: NotNullIfNotNull(nameof(obj))]
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
383[return: NotNullIfNotNull(nameof(xmlName))]
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
1553[return: NotNullIfNotNull(nameof(val))]
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
353[return: NotNullIfNotNull(nameof(oldItemContract))]
System\Runtime\Serialization\SchemaImporter.cs (1)
46internal void Import([NotNullIfNotNull(nameof(_elements))] out List<XmlQualifiedName>? elementTypeNames)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
473[return: NotNullIfNotNull(nameof(str))]
System\Xml\XmlDictionaryString.cs (1)
36[return: NotNullIfNotNull(nameof(s))]
System.Private.Xml (68)
System\Xml\Core\XmlCharCheckingWriter.cs (1)
364[return: NotNullIfNotNull(nameof(str))]
System\Xml\Core\XmlTextReaderImpl.cs (1)
9738static partial void ConvertAbsoluteUnixPathToAbsoluteUri([NotNullIfNotNull(nameof(url))] ref string? url, XmlResolver? resolver);
System\Xml\Core\XmlTextReaderImpl.Unix.cs (1)
10static partial void ConvertAbsoluteUnixPathToAbsoluteUri([NotNullIfNotNull(nameof(url))] ref string? url, XmlResolver? resolver)
System\Xml\Dom\XmlAttributeCollection.cs (1)
114[return: NotNullIfNotNull(nameof(node))]
System\Xml\Dom\XmlElement.cs (1)
349[return: NotNullIfNotNull(nameof(value))]
System\Xml\Schema\Asttree.cs (1)
431[return: NotNullIfNotNull(nameof(axis))]
System\Xml\Schema\SchemaSetCompiler.cs (1)
1454[return: NotNullIfNotNull(nameof(particle))]
System\Xml\Schema\XmlSchemaAttribute.cs (1)
116[return: NotNullIfNotNull(nameof(schemaSet))]
System\Xml\Schema\XmlSchemaComplexType.cs (1)
455[return: NotNullIfNotNull(nameof(particle))]
System\Xml\Schema\XmlSchemaElement.cs (1)
192[return: NotNullIfNotNull(nameof(schemaSet))]
System\Xml\Schema\XmlSchemaType.cs (1)
206[return: NotNullIfNotNull(nameof(schemaSet))]
System\Xml\Serialization\CodeIdentifier.cs (1)
279[return: NotNullIfNotNull(nameof(identifier))]
System\Xml\Serialization\Compilation.cs (1)
560[return: NotNullIfNotNull(nameof(encodingStyle))]
System\Xml\Serialization\Mappings.cs (3)
103[return: NotNullIfNotNull(nameof(name))] 110[return: NotNullIfNotNull(nameof(name))] 125[return: NotNullIfNotNull(nameof(name))]
System\Xml\Serialization\SchemaObjectWriter.cs (1)
227[return: NotNullIfNotNull(nameof(list))]
System\Xml\Serialization\Xmlcustomformatter.cs (13)
36[return: NotNullIfNotNull(nameof(value))] 124[return: NotNullIfNotNull(nameof(name))] 130[return: NotNullIfNotNull(nameof(ncName))] 136[return: NotNullIfNotNull(nameof(nmToken))] 142[return: NotNullIfNotNull(nameof(nmTokens))] 171[return: NotNullIfNotNull(nameof(value))] 413[return: NotNullIfNotNull(nameof(value))] 419[return: NotNullIfNotNull(nameof(value))] 425[return: NotNullIfNotNull(nameof(value))] 431[return: NotNullIfNotNull(nameof(value))] 437[return: NotNullIfNotNull(nameof(value))] 447[return: NotNullIfNotNull(nameof(value))] 469[return: NotNullIfNotNull(nameof(value))]
System\Xml\Serialization\XmlSchemas.cs (1)
481[return: NotNullIfNotNull(nameof(o))]
System\Xml\Serialization\XmlSerializationILGen.cs (1)
140[return: NotNullIfNotNull(nameof(value))]
System\Xml\Serialization\XmlSerializationReader.cs (9)
882[return: NotNullIfNotNull(nameof(value))] 913[return: NotNullIfNotNull(nameof(value))] 928[return: NotNullIfNotNull(nameof(value))] 1110[return: NotNullIfNotNull(nameof(value))] 1116[return: NotNullIfNotNull(nameof(value))] 1122[return: NotNullIfNotNull(nameof(value))] 1128[return: NotNullIfNotNull(nameof(value))] 1366[return: NotNullIfNotNull(nameof(value))] 1372[return: NotNullIfNotNull(nameof(value))]
System\Xml\Serialization\XmlSerializationWriter.cs (5)
115[return: NotNullIfNotNull(nameof(value))] 156[return: NotNullIfNotNull(nameof(name))] 162[return: NotNullIfNotNull(nameof(ncName))] 168[return: NotNullIfNotNull(nameof(nmToken))] 174[return: NotNullIfNotNull(nameof(nmTokens))]
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
2604[return: NotNullIfNotNull(nameof(value))] 2609[return: NotNullIfNotNull(nameof(value))]
System\Xml\XmlConvert.cs (6)
45[return: NotNullIfNotNull(nameof(name))] 55[return: NotNullIfNotNull(nameof(name))] 65[return: NotNullIfNotNull(nameof(name))] 75[return: NotNullIfNotNull(nameof(name))] 170[return: NotNullIfNotNull(nameof(name))] 401[return: NotNullIfNotNull(nameof(token))]
System\Xml\XPath\Internal\Query.cs (3)
69[return: NotNullIfNotNull(nameof(input))] 79[return: NotNullIfNotNull(nameof(input))] 89[return: NotNullIfNotNull(nameof(input))]
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
168[return: NotNullIfNotNull(nameof(node))]
System\Xml\Xsl\QIL\QilPatternVisitor.cs (1)
67[return: NotNullIfNotNull(nameof(node))]
System\Xml\Xsl\XPath\IXpathBuilder.cs (1)
17[return: NotNullIfNotNull(nameof(result))]
System\Xml\Xsl\XPath\XPathBuilder.cs (1)
72[return: NotNullIfNotNull(nameof(result))]
System\Xml\Xsl\Xslt\KeyMatchBuilder.cs (1)
37[return: NotNullIfNotNull(nameof(result))]
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
1057[return: NotNullIfNotNull(nameof(avt))] 1684[return: NotNullIfNotNull(nameof(attName))]
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
64[return: NotNullIfNotNull(nameof(result))]
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
681[return: NotNullIfNotNull(nameof(formatString))]
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
664[return: NotNullIfNotNull(nameof(argument))]
System\Xml\Xslt\XsltException.cs (1)
141[return: NotNullIfNotNull(nameof(key))]
System.Private.Xml.Linq (29)
System\Xml\Linq\XAttribute.cs (13)
234[return: NotNullIfNotNull(nameof(attribute))] 271[return: NotNullIfNotNull(nameof(attribute))] 308[return: NotNullIfNotNull(nameof(attribute))] 345[return: NotNullIfNotNull(nameof(attribute))] 382[return: NotNullIfNotNull(nameof(attribute))] 419[return: NotNullIfNotNull(nameof(attribute))] 456[return: NotNullIfNotNull(nameof(attribute))] 493[return: NotNullIfNotNull(nameof(attribute))] 530[return: NotNullIfNotNull(nameof(attribute))] 567[return: NotNullIfNotNull(nameof(attribute))] 604[return: NotNullIfNotNull(nameof(attribute))] 641[return: NotNullIfNotNull(nameof(attribute))] 678[return: NotNullIfNotNull(nameof(attribute))]
System\Xml\Linq\XContainer.cs (1)
1369[return: NotNullIfNotNull(nameof(content))]
System\Xml\Linq\XElement.cs (13)
1340[return: NotNullIfNotNull(nameof(element))] 1383[return: NotNullIfNotNull(nameof(element))] 1426[return: NotNullIfNotNull(nameof(element))] 1469[return: NotNullIfNotNull(nameof(element))] 1512[return: NotNullIfNotNull(nameof(element))] 1555[return: NotNullIfNotNull(nameof(element))] 1598[return: NotNullIfNotNull(nameof(element))] 1641[return: NotNullIfNotNull(nameof(element))] 1684[return: NotNullIfNotNull(nameof(element))] 1727[return: NotNullIfNotNull(nameof(element))] 1770[return: NotNullIfNotNull(nameof(element))] 1813[return: NotNullIfNotNull(nameof(element))] 1856[return: NotNullIfNotNull(nameof(element))]
System\Xml\Linq\XName.cs (1)
104[return: NotNullIfNotNull(nameof(expandedName))]
System\Xml\Linq\XNamespace.cs (1)
129[return: NotNullIfNotNull(nameof(namespaceName))]
System.Reflection.Context (36)
System\Reflection\Context\CustomReflectionContext.Projector.cs (16)
49[return: NotNullIfNotNull(nameof(value))] 60[return: NotNullIfNotNull(nameof(value))] 71[return: NotNullIfNotNull(nameof(value))] 82[return: NotNullIfNotNull(nameof(value))] 93[return: NotNullIfNotNull(nameof(value))] 104[return: NotNullIfNotNull(nameof(value))] 115[return: NotNullIfNotNull(nameof(value))] 126[return: NotNullIfNotNull(nameof(value))] 143[return: NotNullIfNotNull(nameof(value))] 154[return: NotNullIfNotNull(nameof(value))] 165[return: NotNullIfNotNull(nameof(value))] 176[return: NotNullIfNotNull(nameof(value))] 187[return: NotNullIfNotNull(nameof(value))] 198[return: NotNullIfNotNull(nameof(value))] 209[return: NotNullIfNotNull(nameof(value))] 220[return: NotNullIfNotNull(nameof(value))]
System\Reflection\Context\Projection\Projector.cs (20)
12[return: NotNullIfNotNull(nameof(values))] 23[return: NotNullIfNotNull(nameof(values))] 45[return: NotNullIfNotNull(nameof(value))] 47[return: NotNullIfNotNull(nameof(value))] 49[return: NotNullIfNotNull(nameof(value))] 51[return: NotNullIfNotNull(nameof(value))] 53[return: NotNullIfNotNull(nameof(value))] 55[return: NotNullIfNotNull(nameof(value))] 57[return: NotNullIfNotNull(nameof(value))] 59[return: NotNullIfNotNull(nameof(value))] 61[return: NotNullIfNotNull(nameof(value))] 63[return: NotNullIfNotNull(nameof(value))] 65[return: NotNullIfNotNull(nameof(value))] 67[return: NotNullIfNotNull(nameof(value))] 69[return: NotNullIfNotNull(nameof(value))] 71[return: NotNullIfNotNull(nameof(value))] 73[return: NotNullIfNotNull(nameof(value))] 78[return: NotNullIfNotNull(nameof(value))] 81[return: NotNullIfNotNull(nameof(values))] 96[return: NotNullIfNotNull(nameof(value))]
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\Helpers.cs (2)
21[return: NotNullIfNotNull(nameof(original))] 37[return: NotNullIfNotNull(nameof(original))]
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (1)
510[return: NotNullIfNotNull(nameof(attributes))]
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
45[return: NotNullIfNotNull(nameof(src))]
System.Text.Json (7)
System\Text\Json\Nodes\JsonNode.Operators.cs (1)
199[return: NotNullIfNotNull(nameof(value))]
System\Text\Json\Nodes\JsonValue.CreateOverloads.cs (1)
227[return: NotNullIfNotNull(nameof(value))]
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (2)
98[return: NotNullIfNotNull(nameof(value))] 133[return: NotNullIfNotNull(nameof(value))]
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
102[return: NotNullIfNotNull(nameof(ensureNotNull))]
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
86[return: NotNullIfNotNull(nameof(converter))]
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (1)
415[return: NotNullIfNotNull(nameof(method))]
System.Web.HttpUtility (34)
System\Web\HttpUtility.cs (23)
136[return: NotNullIfNotNull(nameof(s))] 141[return: NotNullIfNotNull(nameof(s))] 144[return: NotNullIfNotNull(nameof(value))] 155[return: NotNullIfNotNull(nameof(s))] 160[return: NotNullIfNotNull(nameof(str))] 163[return: NotNullIfNotNull(nameof(str))] 166[return: NotNullIfNotNull(nameof(str))] 170[return: NotNullIfNotNull(nameof(bytes))] 173[return: NotNullIfNotNull(nameof(bytes))] 176[return: NotNullIfNotNull(nameof(str))] 179[return: NotNullIfNotNull(nameof(bytes))] 183[return: NotNullIfNotNull(nameof(str))] 186[return: NotNullIfNotNull(nameof(str))] 189[return: NotNullIfNotNull(nameof(bytes))] 192[return: NotNullIfNotNull(nameof(str))] 195[return: NotNullIfNotNull(nameof(str))] 198[return: NotNullIfNotNull(nameof(bytes))] 201[return: NotNullIfNotNull(nameof(str))] 213[return: NotNullIfNotNull(nameof(bytes))] 217[return: NotNullIfNotNull(nameof(str))] 220[return: NotNullIfNotNull(nameof(str))] 223[return: NotNullIfNotNull(nameof(bytes))] 227[return: NotNullIfNotNull(nameof(bytes))]
System\Web\Util\HttpEncoder.cs (10)
32[return: NotNullIfNotNull(nameof(value))] 107[return: NotNullIfNotNull(nameof(value))] 117[return: NotNullIfNotNull(nameof(value))] 207[return: NotNullIfNotNull(nameof(bytes))] 253[return: NotNullIfNotNull(nameof(bytes))] 316[return: NotNullIfNotNull(nameof(value))] 388[return: NotNullIfNotNull(nameof(bytes))] 398[return: NotNullIfNotNull(nameof(bytes))] 521[return: NotNullIfNotNull(nameof(value))] 566[return: NotNullIfNotNull(nameof(value))]
System\Web\Util\HttpEncoderUtility.cs (1)
35[return: NotNullIfNotNull(nameof(str))]
3 references to NotNullIfNotNull
mscorlib (1)
mscorlib.cs (1)
66[assembly:System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))]
netstandard (1)
netstandard.cs (1)
627[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net9.0\System.Runtime.Forwards.cs (1)
143[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute))]