6 instantiations of FieldAccessException
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
ObjectExtensions.cs (1)
49
throw new
FieldAccessException
("Field " + fieldName + " was not found on type " + type.ToString());
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldAccessor.cs (3)
202
throw new
FieldAccessException
();
315
throw new
FieldAccessException
();
489
throw new
FieldAccessException
(SR.Format(SR.RFLCT_CannotSetInitonlyStaticField, fieldInfo.Name, fieldInfo.DeclaringType));
src\System\Reflection\MdFieldInfo.cs (2)
78
throw new
FieldAccessException
(SR.Acc_ReadOnly);
106
throw new
FieldAccessException
(SR.Acc_ReadOnly);
3 references to FieldAccessException
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
230
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
FieldAccessException
))]
netstandard (1)
netstandard.cs (1)
788
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
FieldAccessException
))]
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
186
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
FieldAccessException
))]