ErrLookup › pardeike/Harmony
pardeike/Harmony
A library for patching, replacing and decorating .NET and Mono methods during runtime · C# · 132 source files
Analyzed at e7872dc170 on 2026-09-15. 96 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| fail | exception | info | harmony, exception-handling, finalizer-patch, argumentexception, test-fixture |
| Value cannot be null. (Parameter 'method') | exception | error | harmony, null-argument, reflection |
| E0 | exception | info | harmony, exception-handling, finalizer-patch, test-fixture |
| Return type of pass through postfix | exception | error | harmony, postfix, type-mismatch, patching |
| Member must be of type EventInfo, FieldInfo, MethodInfo, or… | exception | error | reflection, harmony, argument, memberinfo |
| Instruction is not a load or store | exception | error | argument-exception, il-transpiler, harmony |
| VariableState: variable named | exception | error | transpiler, emitting, locals, csharp |
| Multiple loaded HarmonySharedState types prevent safe… | exception | error | assembly-loading, shared-state, duplicate-assemblies, harmony |
| Instruction offset is less than 0 | exception | error | harmony, il, argument-out-of-range |
| Invalid Expression. Expression should consist of a Method… | exception | error | argument-exception, lambda-expression, reflection |
| __state type mismatch in patch | exception | error | harmony, patching, type-mismatch, state |
| T (FieldRefAccess instance type) must not be a value type | exception | error | reflection, harmony, valuetype, fieldref |
| No parameter found at index | exception | error | harmony, patch-parameters, argument-index |
| Value cannot be null. (Parameter 'config.original') | exception | error | harmony, null-argument, reflection |
| Unbalanced exception markers – cannot rewrite. | exception | error | il-rewriting, transpiler, exception-handling, harmony |
| Could not create replacement method | exception | error | harmony, patching, signature |
| cannot be null or empty | exception | error | initialization, identifier, csharp |
| Instruction offset is outside valid range 0 | exception | error | harmony, il, argument-out-of-range |
| No field found at given index in class | exception | error | harmony, field-lookup, argument-binding, index-out-of-range |
| Either FieldDeclaringType must be a class or field must be… | exception | error | reflection, harmony, valuetype, fieldref |
| Ambiguous match in Harmony patch for | exception | error | reflection, harmony, ambiguity, overload |
| Can not get IL bytes of method | exception | error | harmony, il, unsupported-method |
| Ambiguous match for HarmonyMethod | exception | error | reflection, ambiguity, patching, csharp |
| Wrong type of for method . Expected , got | exception | error | harmony, ref-return, type-mismatch, injection |
| Multiple possible indexers were found. | exception | error | csharp, reflection, ambiguous-match, indexer, harmony |
| Cannot find instruction for | exception | error | harmony, il, instruction-lookup |
| Postfix patch must have a "void" return type | exception | error | harmony, postfix, return-type, patching |
| StaticFieldRefAccess< | exception | error | reflection, static-field, harmony |
| Cannot assign method return type | exception | error | harmony, type-mismatch, injection, return-type |
| No such field defined in class | exception | error | harmony, field-lookup, argument-binding |
| Patching exception in method | exception | error | patching-failed, wrapped-exception, harmony, csharp |
| must be specified as 'Namespace.Type1.Type2:MemberName | exception | error | argument-exception, string-parsing, reflection |
| Cannot get result from void method | exception | error | harmony, void-method, injection, argument-binding |
| FieldRefAccess return type must be the same as FieldType or… | exception | error | argument-exception, type-mismatch, enum, field-ref |
| FieldRefAccess return type must be the same as FieldType… | exception | error | argument-exception, type-mismatch, value-type, field-ref |
| Invalid Expression. Expression should consist of a field… | exception | error | argument-exception, lambda-expression, reflection |
| Cannot create replacement for | exception | critical | harmony, patching, wrapper-generation, il-emission |
| Prefix patch has not "bool" or "void" return type | exception | error | harmony, patching, prefix, return-type |
| FieldRefAccess return type must be assignable from… | exception | error | argument-exception, type-mismatch, assignability, field-ref |
| Method has wrong return type (should be assignable to ) | exception | error | csharp, reflection, return-type, harmony |
| FieldRefAccess< , > for caused an exception | exception | error | reflection, harmony, fieldref, wrapping-exception |
| Interface methods must be called virtually | exception | error | reflection, delegate, interface, harmony |
| Cannot find method for expression | exception | error | reflection, expression-tree, internal-invariant |
| Unsupported inline signature parameter type | exception | error | signatures, function-pointer, unsupported-type, harmony |
| Delegate has no defined original method | exception | error | reflection, delegate, harmony-attributes, harmony |
| Invalid delegate type | exception | error | reflection, delegate, harmony |
| Field must not be static | exception | error | csharp, reflection, harmony |
| Unexpected end of stack trace | exception | error | stack-trace, reflection, harmony |
| Field must be static | exception | error | argument-exception, static-field, reflection, field-ref |
| First argument corrupt | exception | error | csharp, harmony, test-asset |
| Parameter " " not found in method | exception | error | harmony, argument-binding, parameter-name |
| Cannot directly reference dynamic method \ | exception | error | dynamic-method, reflection-emit, harmony, csharp |
| You can only patch implemented methods/constructors. Patch… | exception | error | csharp, reflection, abstract-method, harmony |
| [ ] | exception | error | conflicting-attributes, harmony, annotations, csharp |
| FieldDeclaringType must be T (StructFieldRefAccess instance… | exception | error | csharp, reflection, struct |
| StructFieldRefAccess< | exception | error | harmony, reflection, struct, fieldref |
| The type must declare an empty constructor (the constructor… | exception | error | reflection, il, constructor, harmony |
| Method returned an unexpected result | exception | error | target-methods, null-result, empty-sequence, harmony |
| Cannot use with non-ref return type of method | exception | error | harmony, ref-return, injection, unsupported-operation |
| FieldRefAccess< > for , caused an exception | exception | error | reflection, harmony, fieldref, wrapping-exception |
| StaticFieldRefAccess< | exception | error | reflection, static-field, harmony |
| [ ] | exception | error | conflicting-attributes, method-type, harmony, annotations |
| position( ) + count( ) > buffer.Length( ) | exception | error | il-parsing, argumentoutofrange, buffer, harmony |
| ; available fields: ; available properties | exception | error | reflection, missing-member, harmony |
| Using requires an additional attribute for specifying the… | exception | error | missing-attribute, harmony-patch-all, annotations, csharp |
| Wrong Emit argument type | exception | error | harmony, transpiler, type-mismatch, il-emission |
| FieldRefAccess< , > for , caused an exception | exception | error | reflection, harmony, fieldref, wrapping-exception |
| cannot contain zeros | exception | error | argument, off-by-one, harmony, csharp |
| Unsupported generic callsite element | exception | error | signatures, generics, il-parsing, harmony |
| Unknown member type | exception | error | reflection, unsupported-type, harmony |
| Parameter does not contain a valid index | exception | error | harmony, argument-binding, invalid-format, parameter-index |
| FieldDeclaringType must be assignable from or to T… | exception | error | csharp, reflection, generics |
| Undefined target method for patch method | exception | error | target-not-found, reflection, harmony, version-mismatch |
| argumentVariations contains more elements than argumentTypes | exception | error | attributes, patching, arguments, csharp |
| Patch method must be static | exception | error | harmony, patch-annotation, static-required |
| No method found for type= | exception | error | transpiler, reflection, method-resolution, csharp |
| Unsupported callsite element | exception | error | signatures, il-parsing, unsupported-type, harmony |
| Some method returned an unexpected result | exception | error | target-methods, unattributed-failure, harmony |
| Wrong null argument | exception | error | harmony, transpiler, il-emission |
| StaticFieldRefAccess< | exception | error | reflection, static-field, harmony |
| StructFieldRefAccess< | exception | error | harmony, reflection, struct, fieldref |
| cannot get method value without method | exception | error | csharp, reflection, traverse |
| Value cannot be null. (Parameter 'generator') | exception | error | null-argument, ilgenerator, transpiler, harmony |
| [ ] | exception | error | conflicting-attributes, overloads, harmony, annotations |
| Null method for | exception | error | csharp, reflection, null-reference, harmony |
| No method found for , parameters= , generics= | exception | error | transpiler, reflection, method-resolution, csharp |
| . is NULL | exception | error | harmony, reverse-patch, null-argument |
| Cannot not find method for type | exception | error | patching, reflection, method-resolution, csharp |
| FieldDeclaringType must be a class | exception | error | harmony, reflection, valuetype, fieldref |
| Unexpected null argument | exception | error | csharp, transpiler, null-argument, il, harmony |
| No field found for and | exception | error | transpiler, reflection, fields, csharp |
| Patch method cannot be null | exception | error | harmony, patch-annotation, null-argument |
| Value cannot be null. (Parameter 'config.methodbase') | exception | error | null-argument, methodcreator, il-copy, harmony |
| Value cannot be null. (Parameter 'fromMethod') | exception | error | null-argument, il-copy, reflection, harmony |
| VariableState: variable of type | exception | error | transpiler, emitting, locals, csharp |
| cannot set value of method | exception | error | csharp, reflection, traverse |