Table of Contents

Method FindProperty

Namespace
MonoMod.Utils
Assembly
MonoMod.Utils.dll

FindProperty(TypeDefinition, string)

Find a property for a given name.
public static PropertyDefinition? FindProperty(this TypeDefinition type, string name)

Parameters

type TypeDefinition
The type to search in.
name string
The property name.

Returns

PropertyDefinition
The first matching property or null.