Implemented interface member:
property
IsInitOnly
System.Runtime.InteropServices._FieldInfo.IsInitOnly
12 references to IsInitOnly
mscorlib (2)
system\object.cs (1)
137if (fldInfo.IsInitOnly)
system\typedreference.cs (1)
48if (field.IsInitOnly || field.IsStatic)
System.Activities (3)
System\Activities\Expressions\FieldReference.cs (1)
62if (fieldInfo.IsInitOnly)
System\Activities\Expressions\ValueTypeFieldReference.cs (1)
58else if (this.fieldInfo.IsInitOnly)
System\Activities\ExpressionUtilities.cs (1)
97if (fieldInfo.IsInitOnly)
System.Core (2)
Microsoft\Scripting\Ast\Expression.cs (1)
404canWrite = !(field.IsInitOnly || field.IsLiteral);
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (1)
150if (!field.IsLiteral && !field.IsInitOnly) {
System.Runtime.Serialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
932if ((field == null && property == null) || (field != null && field.IsInitOnly))
System.Web (1)
Util\ReflectionUtil.cs (1)
34if (fieldInfo.IsInitOnly || fieldInfo.IsDefined(typeof(DoNotResetAttribute))) {
System.Xml (3)
System\Xml\Serialization\Models.cs (3)
182if (fieldInfo.IsInitOnly && typeDesc.Kind != TypeKind.Collection && typeDesc.Kind != TypeKind.Enumerable) 257this.checkSpecified = specifiedField.IsInitOnly ? SpecifiedAccessor.ReadOnly : SpecifiedAccessor.ReadWrite; 277readOnly = ((FieldInfo)memberInfo).IsInitOnly;