public void AddStaticReference(TypeDefinition typeDefinition) { if (!StaticReference.Contains(typeDefinition)) { StaticReference.Add(typeDefinition); } }