16 instantiations of ImmutableObjectAttribute
Microsoft.Extensions.Caching.Hybrid.Tests (8)
SampleUsage.cs (1)
193[ImmutableObject(true)]
SizeTests.cs (1)
313[ImmutableObject(true)]
StampedeTests.cs (1)
487[ImmutableObject(true)]
TypeTests.cs (5)
47[ImmutableObject(false)] 52[ImmutableObject(true)] 57[ImmutableObject(true)] 74[ImmutableObject(false)] 81[ImmutableObject(true)]
System.ComponentModel.Primitives (2)
System\ComponentModel\ImmutableObjectAttribute.cs (2)
20public static readonly ImmutableObjectAttribute Yes = new ImmutableObjectAttribute(true); 28public static readonly ImmutableObjectAttribute No = new ImmutableObjectAttribute(false);
System.Drawing.Common (1)
Special\NotSupported.cs (1)
742[System.ComponentModel.ImmutableObjectAttribute(true)]
System.Speech (5)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (5)
566[System.ComponentModel.ImmutableObjectAttribute(true)] 928[System.ComponentModel.ImmutableObjectAttribute(true)] 975[System.ComponentModel.ImmutableObjectAttribute(true)] 1019[System.ComponentModel.ImmutableObjectAttribute(true)] 1100[System.ComponentModel.ImmutableObjectAttribute(true)]
10 references to ImmutableObjectAttribute
Microsoft.Extensions.Caching.Hybrid (1)
Internal\ImmutableTypeCache.cs (1)
72return type.GetCustomAttribute<ImmutableObjectAttribute>() is { Immutable: true };
netstandard (1)
netstandard.cs (1)
336[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ImmutableObjectAttribute))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
322[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ImmutableObjectAttribute))]
System.ComponentModel.Primitives (4)
System\ComponentModel\ImmutableObjectAttribute.cs (4)
20public static readonly ImmutableObjectAttribute Yes = new ImmutableObjectAttribute(true); 28public static readonly ImmutableObjectAttribute No = new ImmutableObjectAttribute(false); 34public static readonly ImmutableObjectAttribute Default = No; 47obj is ImmutableObjectAttribute other && other.Immutable == Immutable;
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
385bool hasImmutableAttribute = TypeDescriptor.GetAttributes(PropertyType!)[typeof(ImmutableObjectAttribute)]! 386.Equals(ImmutableObjectAttribute.Yes);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.Flags.cs (1)
49/// True when the value is attributed with <see cref="ImmutableObjectAttribute"/> or the